X11 from ssh on Mac OSX to Linux server doesn't work --- Gtk-WARNING **: cannot open display

Posted by Cal on Server Fault See other posts from Server Fault or by Cal
Published on 2010-04-29T16:34:40Z Indexed on 2010/04/29 16:37 UTC
Read the original article Hit count: 696

Filed under:
|
|
|
|

Hello, I installed a program wireshark on my remote linux box and I'm trying to run it with X11 from my mac computer using SSH. Here's my terminal...

macosx$ echo $DISPLAY
/tmp/launch-f4w6k6/:0

macosx$ ssh -X [email protected]
[email protected]'s password: 

remoteubuntu:~# echo $DISPLAY

remoteubuntu:~# wireshark

(wireshark:18927): Gtk-WARNING **: cannot open display: 

Here's a few lines from /etc/ssh/sshd_config

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no

Thanks for the help!

© Server Fault or respective owner

Related posts about osx

Related posts about x11