Remote X over ssh

Shawn Tayler stayler
Tue Jan 4 23:40:39 PST 2005


On Tue, 04 Jan 2005 20:16:34 -0800 Ken Moffat <kmoffat at drizzle.com>
exclaimed:

> 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.
> 

This just gives me a text mode ssh session.  

I probably should've mentioned I am running Slackware at init3 on the box I
am ssh'ing to.

Shawn


More information about the Linux-users mailing list