Ich habe einen Remote-Server, auf dem ich einige GUI-Anwendungen in einem Netzwerk-Namespace starten möchte, die ich bereits eingerichtet habe. Ich benutze Socat, um die X-Sitzung weiterzuleiten.Mit Socat auf X remote zugreifen
socat exec:'ssh {REMOTE_HOST} rm -rf /tmp/.X11-unix/X1; socat -d -d -d -d unix-l\:/tmp/.X11-unix/X1111 -' unix:/tmp/.X11-unix/X0
Allerdings, wenn ich versuche, eine Anwendung wie eog
DISPLAY=:1111 eog
Es mit der folgenden Meldung nicht gestartet:
I No protocol specified
** (eog:9498): WARNING **: Could not open X display
Cannot open display:
Run 'eog --help' to see a full list of available command line options.
Und socat
Ausgänge sofort after.