Sorry, one more,
You have to set DISPLAY and XAUTHORITY properly, e.g.:
your solution works if on host the user is already logged locally in. but how do i do this from client? with other words, how did i initial open my user on host? because its an virtual machine, normally it is only booted into the login screen. and therefore i think this .Xautority file is not set yet? regrads, 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