[KLUG Members] suse 9 remote x question

Bruce Smith members@kalamazoolinux.org
Mon, 15 Dec 2003 23:02:05 -0500


> I am wanting to run a program from a remote server and display the
> stuff on a local Xserver.  I know that in earlier versions of RedHat
> I had to change a couple of security things.  In RedHat 8 it worked
> automatically by default.  In SuSE I am not able to get it working. 
> My RedHat books seem to be worthless as far as configuration files.  
> 
> I am opening an SSH session and then trying to run the program from
> within the shell.  I have tried just the program name and also
> program name hostname:0 and I get a message about Gtk being unable to
> open the display.  
> 
> I did a search on the Internet and have not found anything yet... I
> am kinda stumped.... I know I am missing something easy here...

In "/etc/ssh/ssh_config" try setting:

ForwardX11 yes

(set it on both machines to be safe and restart sshd)

Also, if you are running "su -" to root before running an X application,
you need to do "sux -" in SuSE instead to set the display correctly.

 - BS