Thursday, September 10, 2009

Gtk-WARNING **: cannot open display

When you ssh to a remote machine and want to execute a graphic bound applications such as JFrame etc, use ssh with -X argument. -X is for forwarding.

ssh -X user@host

3 comments:

Sara Reid said...

I don't know about small linux particularly, but have you checked out /etc/ssh/sshd_config yet ? You will need a: X11Forwarding yes line in order for the ssh daemon to pass data to the X server.

diät pillen

zareena gull said...

i understand it thanks this nice sharing.. i really love it alll...
web development company uae

Karen Rogers said...

Nobody can reject the info you have given in the blogs, this is actually a great work.
web design company San Francisco