[Tfug] remote X for the first time

JD Rogers rogersjd at gmail.com
Sun Jun 26 09:51:04 MST 2005


Exactly what Zach said.. ssh handles everything. To add some specifics
to Zach's advice:

On the remote machine, edit /etc/ssh/sshd_config and make sure the
line "X11Forwarding yes" is uncommented and restart the ssh server.

On the local machine you can do the same with /etc/ssh/ssh_config with
the line "ForwardX11 yes" or just use the command line switch "ssh -X
remotehost" (note the capitol X).

I usually test that everything is working with something simple and
quick to load like "xlogo".

Good luck,
JDR

On 6/25/05, Zach Nation <znation at email.arizona.edu> wrote:
> Try not setting the DISPLAY variable. ssh should do that for you.
> 
> Also, make sure ssh X forwarding is enabled on the remote machine in
> sshd... edit sshd.conf for that.
> 
> -- Zach
> 
> Paul Scott wrote:
> > I'm trying to do remote X for the first time.  I have read the HOWTO but
> > it's not clear how much of that auth stuff I have to do with Debian.
> >
> > I have tried "xhost +" (just as a quick test!!!!) and get "Can't open
> > display".
> >
> > As the current test I am trying:
> >
> > ssh -X <remote machine>
> >
> > and DISPLAY=<local machine>:0 xterm
> >
> > Any hints or other online references than the Remote X HOWTO.
> >
> > TIA,
> >
> > Paul Scott
> >
> > _______________________________________________
> > tfug mailing list
> > tfug at tfug.org
> > http://www.tfug.org/mailman/listinfo/tfug
> _______________________________________________
> tfug mailing list
> tfug at tfug.org
> http://www.tfug.org/mailman/listinfo/tfug
>


More information about the tfug mailing list