Add SSH graphical app environment variables

Anthony Wang 2023-01-12 03:47:22 +00:00
parent d886e44726
commit b901b0969b

4
SSH.md

@ -14,9 +14,9 @@ This command connects you to our SSH server at [exozy.me](https://exozy.me) You
### Run graphical apps
If you want to run graphical apps, you can use X11 forwarding with `ssh -X`. Note that this works best with a Linux client; otherwise, follow [these instructions](https://researchit.las.iastate.edu/x-forwarding-mac-and-windows).
If you want to run graphical apps, you can use X11 forwarding with `ssh -X`. Note that this works best with a Linux client; otherwise, follow [these instructions](https://researchit.las.iastate.edu/x-forwarding-mac-and-windows). To get KDE apps to display the correct theme, set the environment variables `XDG_CURRENT_DESKTOP=KDE` and `KDE_SESSION_VERSION=5`.
You can also use [Waypipe](https://gitlab.freedesktop.org/mstoeckl/waypipe) if you need graphical acceleration.
If you use Wayland, you can try [Waypipe](https://gitlab.freedesktop.org/mstoeckl/waypipe), which may have better performance. Set the environment variable `QT_QPA_PLATFORM=wayland`.
### SSH config file