SSH X forwarding not working

Harold L Hunt II huntharo@msu.edu
Thu Mar 6 22:00:00 GMT 2003


Chris,

Okay, so you had X11Forwarding disabled before.  What have you done to 
make sshd re-read its configuration file?  Specifically restarted sshd? 
  Restarted the entire machine?  What?  I suspect that sshd happily 
thinks that X11Forwarding is still disabled.

Harold

Chris Horn wrote:
> At the other end, /etc/ssh/sshd_config now has the line "X11Forwarding yes"
> 
> Still no go.
> 
> When I connect, the DISPLAY value on the remote box appears null.
> When I'm local, it's "localhost:0.0"
> 
> The error I receive when trying to run apps is "Gtk-WARNING **: cannot 
> open display:"
> 
> When I used xhost and set DISPLAY manually, things work:
> 
> 1. xhost +remote_host
> 2. on remote box set DISPLAY to "local_host:0.0"
> 3. run app, and it appears like it should!
> 
> Also, does anyone know how to cut and paste:
>         1. Within X (do I have to run XWin with -emulate3buttons?), and
>         2. between X and Windows?
> 
> 
> Merci beaucoup.
> chris.
> 
> At 04:02 PM Thursday 3/6/2003, you wrote:
> 
>> viestissä torstai 6. maaliskuuta 2003 23:04, chris horn kirjoitti:
>>
>> > greetings.  i've looked over the mailing list, but haven't been able to
>> > find out why using
>>
>> > ssh -x remote-host
>>
>> have you configured the remote end to accept x forwarding in
>> /etc/ssh/sshd_config?
>>
>> -- 
>> /(anton)
> 
> 
> 
> -----
> chorn@rand.org
> 703.413.1100 x5100
> 



More information about the Cygwin-xfree mailing list