Crunchy Remote Desktop!

Not_OlesNot_Oles Hosting ProviderContent Writer

One of the reasons why I wanted a server in the US was to have less latency to run a remote graphical desktop. Today I finally got around to trying it on Crunchy. I was really surprised to find that I at least got something working out of the box.

Today, Crunchy is back running Fedora Rawhide. :) What I did beyond installing development tools was dnf groupinstall "Basic Desktop" --with-optional, plus dnf install switchdesk switchdesk-gui fvwm icewm. FVWM and ICEWM are super antique these days, but not as antique as the old X11 default, TWM.

TWM was referenced in /etc/X11/xinit.xinitrc

    # Failsafe settings.  Although we should never get here
    # (we provide fallbacks in Xclients as well) it can't hurt.
    [ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'
    [ -x /usr/bin/xclock ] && /usr/bin/xclock -geometry 100x100-5+5 &
    [ -x /usr/bin/xterm ] && xterm -geometry 80x50-50+150 &
    [ -x /usr/bin/twm ] && /usr/bin/twm

But the twm binary was not found! :( There didn't seem to be a package for twm either! :(

root@crunchy:/etc/X11/xinit# ls /usr/bin/twm
ls: cannot access '/usr/bin/twm': No such file or directory
root@crunchy:/etc/X11/xinit# dnf info twm
Last metadata expiration check: 2:07:15 ago on Tue 19 Dec 2023 11:34:51 PM UTC.
Error: No matching Packages to list
root@crunchy:/etc/X11/xinit# 

And why isn't xeyes in the failsafe defaults!? 👀 At least xeyes has a package!!! 🤩

root@crunchy:/etc/X11/xinit# dnf info xeyes
Last metadata expiration check: 2:13:30 ago on Tue 19 Dec 2023 11:34:51 PM UTC.
Available Packages
Name         : xeyes
Version      : 1.3.0
Release      : 2.fc40
Architecture : x86_64
Size         : 23 k
Source       : xeyes-1.3.0-2.fc40.src.rpm
Repository   : rawhide
Summary      : A follow the mouse X demo
URL          : https://www.x.org
License      : X11
Description  : xeyes displays a pair of eyes that follow the mouse cursor.

root@crunchy:/etc/X11/xinit# 

Probably I will install xeyes and compile and install twm. Then play with xeyes for a moment, and then just go back to ssh terminal. :)

Oh yeah, I want to try Spice. Is there a better way than Spice to get cut and paste in a remote terminal? What else should I try besides Spice?

Well, there is all that stuff about Wayland is the way forward and no more X11 really soon. For me, as an old guy, I enjoyed a super great day today playing with ancient X11! <3 Thanks to Crunchbits for Crunchy! <3

I hope everyone gets the servers they want!

Comments

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    Ah! Looks like there is a little more to the desktop which shows after applying local scaling in NoVNC. I like it better without the bottom menu bar! :)

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    root@crunchy:~# git clone https://gitlab.freedesktop.org/xorg/app/twm.git
    Cloning into 'twm'...
    remote: Enumerating objects: 1138, done.
    remote: Counting objects: 100% (32/32), done.
    remote: Compressing objects: 100% (27/27), done.
    remote: Total 1138 (delta 7), reused 30 (delta 5), pack-reused 1106
    Receiving objects: 100% (1138/1138), 515.59 KiB | 1.68 MiB/s, done.
    Resolving deltas: 100% (807/807), done.
    root@crunchy:~#
    

    More on TWM before too long, I hope!

    root@crunchy:~# dnf install xeyes
    Last metadata expiration check: 2:58:59 ago on Tue 19 Dec 2023 11:34:51 PM UTC.
    Dependencies resolved.
    =========================================================================================
     Package           Architecture       Version                  Repository           Size
    =========================================================================================
    Installing:
     xeyes             x86_64             1.3.0-2.fc40             rawhide              23 k
    
    Transaction Summary
    =========================================================================================
    Install  1 Package
    
    Total download size: 23 k
    Installed size: 40 k
    Is this ok [y/N]: y
    Downloading Packages:
    xeyes-1.3.0-2.fc40.x86_64.rpm                             62 kB/s |  23 kB     00:00    
    -----------------------------------------------------------------------------------------
    Total                                                     41 kB/s |  23 kB     00:00     
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                                 1/1 
      Installing       : xeyes-1.3.0-2.fc40.x86_64                                       1/1 
      Running scriptlet: xeyes-1.3.0-2.fc40.x86_64                                       1/1 
    
    Installed:
      xeyes-1.3.0-2.fc40.x86_64                                                              
    
    Complete!
    root@crunchy:~# 
    

    Excellent! xeyes is there now! 👀

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited December 2023

    Okay, dnf groupinstall "X Software Development" --with-optional plus autogen.sh plus make seems to give me a binary.

    root@crunchy:~/twm# cd src
    root@crunchy:~/twm/src# ls
    add_window.c  events.c  gram.o     lex.c        Makefile.in  resize.h      twm        version.h
    add_window.h  events.h  gram.y     lex.l        menus.c      resize.o      twm.c      version.o
    add_window.o  events.o  iconmgr.c  lex.o        menus.h      screen.h      twm.h
    cursor.c      gc.c      iconmgr.h  list.c       menus.o      session.c     twm.o
    cursor.o      gc.h      iconmgr.o  list.h       parse.c      session.h     util.c
    deftwmrc.c    gc.o      icons.c    list.o       parse.h      session.o     util.h
    deftwmrc.o    gram.c    icons.h    Makefile     parse.o      siconify.bm   util.o
    deftwmrc.sed  gram.h    icons.o    Makefile.am  resize.c     system.twmrc  version.c
    root@crunchy:~/twm/src# file twm
    twm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=a22974bfb063021e7d00b9f7049f3e4a020d546e, for GNU/Linux 3.2.0, with debug_info, not stripped
    root@crunchy:~/twm/src# ldd twm
            linux-vdso.so.1 (0x00007fffc878d000)
            libSM.so.6 => /lib64/libSM.so.6 (0x00007fc77b765000)
            libXext.so.6 => /lib64/libXext.so.6 (0x00007fc77b751000)
            libXmu.so.6 => /lib64/libXmu.so.6 (0x00007fc77b735000)
            libICE.so.6 => /lib64/libICE.so.6 (0x00007fc77b717000)
            libXt.so.6 => /lib64/libXt.so.6 (0x00007fc77b6ac000)
            libX11.so.6 => /lib64/libX11.so.6 (0x00007fc77b565000)
            libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007fc77b556000)
            libc.so.6 => /lib64/libc.so.6 (0x00007fc77b373000)
            libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fc77b369000)
            libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fc77b33e000)
            libXrender.so.1 => /lib64/libXrender.so.1 (0x00007fc77b332000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fc77b78b000)
            libXau.so.6 => /lib64/libXau.so.6 (0x00007fc77b32a000)
    root@crunchy:~/twm/src# 
    

    I don't know, maybe it even works. I will have to try it. Probably tomorrow as it's getting late here. . . .

    Haha, maybe I can make a package and become the Fedora maintainer for TWM. :astonished:

    Thanks again to @crunchbits! <3

    Thanked by (1)crunchbits

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    Haha, startx /root/twm/src/twm sort of works! Even without make install.

    One nice thing about TWM is that the menu only appears when you click the background. So the menu isn't distracting. Plus, it's easy to add, remove, or change the items listed in the menu.

    Another nice thing about twm is the grid which appears when a new application is opened (here, another xterm window). You can mouse the grid around while still able to see exactly what will and won't be behind the new window that is about to be formed.

    When you click, then the new window comes to life.

    Well, TWM is one way that X used to look back in the late 1980s and the 1990s. Wikipedia has an article about TWM. The TWM source code is at Gitlab.

    It's really fun that we still can see and do this old, old way of setting up X even in Fedora Rawhide in 2023, almost 2024! Next up maybe Spice, and then maybe Firefox Nightly, and maybe even a modern desktop environment with audio and video.

    Thanks yet again to Crunchbits! <3

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    I will show myself out now. It's time to go to sleep.

    Crunchy will be idling while I am sleeping. That seems a shame. The dedicated cores, the graphics processor, the almost 8 TB of RAID 10. All idling.

    One of my friends told me that I ask a lot of the LESbian community. It seems to me that we ought to have some polite and friendly and gentle folks who want to come out and play with Crunchy and with me. But my friend said I ought to play with Crunchy quietly, just by myself. I dunno.

    Turns out Fedora has an xclock package. So, here's TWM with xclock.

    I can't believe there's no TWM package! I must have missed it somehow. I dunno.

    Have a good night! 😴

    I hope everyone gets the servers they want!

  • edited December 2023

    @Not_Oles said: Is there a better way than Spice to get cut and paste in a remote terminal? What else should I try besides Spice?

    If you are running X on your local machine, you can use NX to seamlessly run applications on a remote machine.

    Thanked by (1)Not_Oles
  • awesome

    Thanked by (1)Not_Oles
  • @cmeerw said:

    @Not_Oles said: Is there a better way than Spice to get cut and paste in a remote terminal? What else should I try besides Spice?

    If you are running X on your local machine, you can use NX to seamlessly run applications on a remote machine.

    NX is great. I use the NoMachine builds, but it's basically the same thing, handful of commands and you're running, plus there's GPU support out-of-the-box via VirtualGL with fairly minimal configuration (which admittedly I only worked out after days of figuring things out). I'm just about to re-image my dedi and set everything up again, I really need to convert it into a bash script but I've been too lazy to spend the time to save myself time in the future.

    Thanked by (1)Not_Oles
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @cmeerw said:

    @Not_Oles said: Is there a better way than Spice to get cut and paste in a remote terminal? What else should I try besides Spice?

    If you are running X on your local machine, you can use NX to seamlessly run applications on a remote machine.

    Thanks for helping! <3 I wasn't aware of NX. TIL! :)

    The above screenshots were taken on the Crunchbits Web Console, which runs NoVNC.

    P.S. I haven't forgotten NetBSD! :star:

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    Looking around some more this morning, I found a listing for the Fedora xorg-x11-twm package. The listing suggests that the current maintainer is "orphan." :(

    xorg-x11-twm still doesn't want to install on crunchy. Maybe TWM really is orphaned? Maybe I can find an email to the Fedora dev list orphaning TWM? Maybe there is more to the story, perhaps something involving the differences between X.org and X-Free86.org? I dunno. Anybody here know?

    root@crunchy:~# dnf info xorg-x11-twm.x86_64
    Last metadata expiration check: 0:08:37 ago on Wed 20 Dec 2023 07:07:18 PM UTC.
    Error: No matching Packages to list
    root@crunchy:~# dnf info xorg-x11-twm
    Last metadata expiration check: 0:08:43 ago on Wed 20 Dec 2023 07:07:18 PM UTC.
    Error: No matching Packages to list
    root@crunchy:~# 
    

    Thanks Crunchbits! <3

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited December 2023

    I hope everyone gets the servers they want!

  • @Not_Oles said:
    Crunchy will be idling while I am sleeping. That seems a shame. The dedicated cores, the graphics processor, the almost 8 TB of RAID 10. All idling.

    In Otus we trust.
    Crunchy shall be given to Otus.

    Thanked by (2)Not_Oles Nekki

    ServerFactory aff best VPS; HostBrr aff best storage.

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @yoursunny said:

    @Not_Oles said:
    Crunchy will be idling while I am sleeping. That seems a shame. The dedicated cores, the graphics processor, the almost 8 TB of RAID 10. All idling.

    In Otus we trust.
    Crunchy shall be given to Otus.

    @yoursunny Thanks for the suggestion! I would be willing to consider giving up crunchy to you and Otus if: (1) you come aboard crunchy as Chief Adminstrator and 100% Responsible Person; (2) you agree to invest significant time as needed for mentoring Otus; (3) I leave; and (4) both Otus and Crunchbits also agree. This is preliminary, and I or someone else might want to add additional conditions. :) Thanks again! Best wishes! :)

    I hope everyone gets the servers they want!

  • We are 0% responsible.

    In Otus we trust.
    Otus should be the sole admin.

    Thanked by (2)Not_Oles Nekki

    ServerFactory aff best VPS; HostBrr aff best storage.

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @yoursunny said:
    We are 0% responsible.

    In Otus we trust.
    Otus should be the sole admin.

    No. Sorry. Best wishes! :)

    I hope everyone gets the servers they want!

Sign In or Register to comment.