SSH X forwarding not working

Chris Horn chorn@rand.org
Thu Mar 6 21:45:00 GMT 2003


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