Remote X over ssh

Ken Moffat kmoffat
Tue Jan 4 23:16:52 PST 2005


Shawn Tayler wrote:

>Ok Guys,
>
>All this X discussion has brought to mind an issue that I had put on a back
>burner.  I am trying to get a remotre X session on a PC over a LAN.  I am
>using ssh to initially connect.  I have X Forwarding enabled in the
>sshdconfig file.  What are the other steps I need to accomplish?  the xhost
>+ and export DISPLAY 0.0:?  
>
>What would be the difference if I wanted to say have my local X session on
>cntl-alt-F7 anf the remote session appear on cntl-alt-F8?  Is thios
>possible?
>
>Thanks for the help and all the great guidance in tha past.
>
>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 !
>  
>

I enable forwarding in sshd_config using

X11Forwarding yes

and the call I use is

ssh -X servername

this runs the program on the server, but displays it on the client. 
Maybe not exactly what you want, but it's easy.


-- 
ken




More information about the Linux-users mailing list