Hi again peter, how to revert it? ============================= this works so far: inside ssh: xclock (will be on local (client) screen) DISPLAY=:0.0 XAUTHORITY=$HOME/.local/share/sddm/.Xauthority xclock (will be on host screen) xclock (will be on local (client) screen) ======================================== but when i try: inside ssh: simon@becherer4:~> echo $DISPLAY localhost:11.0 simon@becherer4:~> echo $XAUTHORITY (empty) export DISPLAY=:0.0 export XAUTHORITY=$HOME/.local/share/sddm/.Xauthority xclock (will be on host) export DISPLAY=localhost:11.0 export XAUTHORITY= xcolck X11 connection rejected because of wrong authentication. X11 connection rejected because of wrong authentication. Error: Can't open display: localhost:11.0 ??????????????????????? wht did i missing here? simoN Am 16.07.2018 um 14:34 schrieb Peter Suetterlin:
Simon Becherer wrote:
Hi,
how to ssh to a host, client opens a shell (as normal), then inside this shell i like to start a program, but the complete output of this program should be at the hosts screen?
You have to set DISPLAY and XAUTHORITY properly, e.g.:
ssh host on host: export DISPLAY=:0.0 export XAUTHORITY=$HOME/.local/share/sddm/.Xauthority start_graphical_application
-- www.becherer.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org