Remote X over ssh

Ken Moffat kmoffat
Wed Jan 5 22:51:46 PST 2005


Shawn Tayler wrote:

>On Tue, 4 Jan 2005 21:55:24 -0800 Bill Campbell <linux-sxs at celestial.com>
>exclaimed:
>
>  
>
>>NOTE:  Current versions of openssh require setting
>>``ForwardX11Trusted yes'' in the ssh_config file.
>>    
>>
>
>Interesting point Bill.  I added this line to my ssh_config file as it was
>not present.  It didn't seem to help though.
>
>Shawn
>_______________________________________________
>Linux-users mailing list
>Linux-users at linux-sxs.org
>http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
>
>Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
>  
>

In my server I have the following line in /etc/ssh/sshd_config:

X11Forwarding yes
X11DisplayOffset 10


Then from the client I call the server using:

ssh -X servername

which allows X programs to display on the calling machine.

This is not a remote X session, just a remote X display.

ssh -X -l username servername

creates a login as username.



-- 
ken




More information about the Linux-users mailing list