Passwortloses SSH & einzelne Wayland-Programmfenster über das LAN umleiten (waypipe)
Unter X11 ließen sich einzelne grafische Programme bequem per ssh -X auf den eigenen Desktop holen. Unter modernen Wayland-Desktops (KDE Plasma 6 / GNOME) übernimmt waypipe genau diese Aufgabe – inklusive schneller LZ4-Komprimierung und ohne Passwortabfragen dank ED25519-SSH-Keys.
1. Passwortlose Anmeldung per ED25519-Key im gesamten LAN
ssh-keygen -t ed25519 -C "user@workstation"
for host in server001 deepcool soyo n100; do
ssh-copy-id "\(host"
done
2. Komfort-Funktion wapp in ~/.bashrc für GTK- & Qt/KDE-Programme
sudo apt install -y waypipe
cat << 'CONF' >> ~/.bashrc
wapp() {
local HOST="\)1"; shift
waypipe --compress lz4 ssh "\(HOST" env GDK_BACKEND=wayland QT_QPA_PLATFORM=wayland "\)@"
}
CONF
source ~/.bashrc
# Aufruf: wapp deepcool dolphin
Troubleshooting
- Fehlermeldung
The environment variable WAYLAND_DISPLAY is not set: Viele GTK3- und Qt-Programme prüfen nicht automatisch auf den Remote-Wayland-Socket. Das Voranstellen vonenv GDK_BACKEND=wayland QT_QPA_PLATFORM=waylandlöst das Problem für alle Desktop-Apps zuverlässig. - SSH-Verbindungsaufbau dauert im lokalen Netz 3–5 Sekunden: In
/etc/ssh/sshd_configauf dem ZielrechnerUseDNS nosetzen undsudo systemctl reload sshausführen.