[Wylug-help] X over ssh

Smylers Smylers at stripey.com
Sat Apr 22 14:18:27 BST 2006


Don Magee writes:

> (ethereal:31478): Gtk-WARNING **: cannot open display:

What's the output of this?

  $ echo $DISPLAY

> (sorry - I should have put that in the original email)

Yes!  Check that both ends of the SSH connection have X enabled.  On the
server /etc/ssh/ssd_config should have the line:

  X11Forwarding yes

On the client you can either use ssh -X to connect or put lines like the
following in either /etc/ssh/ssh_config or ~/.ssh/config:

  Host remote.example.org
    ForwardX11 yes

Smylers



More information about the Wylug-help mailing list