On 03/10/2017 1:39 PM, L A Walsh wrote:
How are those options different from him using
ssh -X -Y -p xxxx remote_host sudo yast2
They differ in that my way works, and his way doesn't. If you look at the command line in KDE's menu, you will see that they package yast2 as below:
This works for me ssh jsa@myremote-host -p xxxx /usr/bin/xdg-su -c /sbin/yast2
A default install does not allow logging in as root so you have to log in as a user, and then run the program EXACTLY as set up in the default Desktop menuing system. The menuing system does exactly
/usr/bin/xdg-su -c /sbin/yast2 and delivers a graphical Yast.
Your way delivers a text mode yast if anything at all. These things are wrapped in xdg-su because they need a password for root. Firefox and seamonkey don't need a password, so they don't need the xdg-su wrapper. However, that doesn't mean they will run if the target machine's sshd does not allow forwarding X11. Even his -X parameter doesn't get around that. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org