On Sunday 27 September 2009 21:42:41 David C. Rankin wrote:
Devs,
When managing remote systems via ssh, if yast2 is called by "sudo yast2" the ncurses interface is used. This happens even if you specify --qt "sudo yast2 --qt module".
The opposite occurs when you su to root on the remote host and then call yast2. You get the normal gui interface then.
Why the difference?
sudo doesn't pass along the X authentication data. su uses pam_xauth to do that, but sudo can't use that because of the way it does session management (i.e. it doesn't do session management at all). If you want to use graphical applications after sudo, you're going to have to use the traditional tricks with xhost, or possibly copy the session key to root's xauth database, or some such. Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org