Here is my latest blog post on a method of using a laptop equipped with an X11 server as a KVM or graphical dumb terminal (not to be confused with “kernel virtual machine”) to display an entire desktop environment on one of the virtual terminals of the laptop. You might be familiar with running an X11-compatible program over SSH, seeing a remote GUI app displayed on your local machine. You could also run a whole desktop environment such as “xfce4-session” over SSH and attach it to a virtual terminal (which you switch between using Ctrl-Alt-F1 through Ctrl-Alt-F7, usually, on Debian-based systems).

This is nice if you have a few always-on Raspberry Pis laying around, and you usually use SSH to remote login and control them, but you would like to have a full desktop environment, not just one app, show up on your local computer.

  • PseudoSpock@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    The performance isn’t the best, when compared to RDP. Protocols like RDP can take shortcuts by treating it more as an image then a fully remote rendering, like image compression techniques. For tunneling an X-window over SSH, the compression option you have is with the connection, itself. Using say, ssh -CX or ssh -CY allows ssh to compress the connection for better performance, but that compression able to do lossy image compression. The killer will be latency. If it’s over a highly latent connection, like a WAN or satellite, it will be rough. But on a wired lan, or decent local wifi, it’s pretty all right.