[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remote x via ssh question



Lo, on , January 1, Forrest English did write:

> 
> sorry about that, i should have been more specific.
> 
> i have my sshd_config file set up on both machines to allow X11Forwarding.
> i am trying to connect from my desktop (thneed) to my server (truffula.net).   
> 
> forrest@thneed:~$ ssh -X truffula.net
> forrest@truffula.net's password: 
> Last login: Mon Jan  1 14:41:42 2001 from 192.168.1.10
> [forrest@truffula forrest]$ bluefish
> channel 0: istate 4 != open
> channel 0: ostate 64 != open
> Gdk-ERROR **: X connection to truffula.net:10.0 broken (explicit kill or server
> shutdown).

Hm.  From that error, it looks like the X connection was established, then
broken.  It's obvious that your login shell on truffula has the right
DISPLAY setting, so I'm not entirely sure what's going on here.

> i can do it just fine if i export the DISPLAY to my ip, however i've
> talked to several people who have told me there is no need fo this if ssh
> is configured to forward x.

You're right, you shouldn't have to do that.

Moreover, if you *do* set DISPLAY manually (presumably to something like
`thneed:0.0', the X messages will NOT be tunneled over ssh and will
therefore NOT be encrypted.

Bad idea.

Richard



Reply to: