Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-15-2006, 08:26 AM   #1
Registered: Sep 2005
Posts: 181

Rep: Reputation: 16
I am getting: Gtk-WARNING **: cannot open display : for remote X

I have another machine with Gentoo on it. I am trying to connect to it with rlogin (or ssh or whatever) from 64bit Ubuntu machine.

I get "Gtk-WARNING **: cannot open display :"

I have given xhost + on the Ubuntu machine and I
gave export DISPLAY=ip.of.ubuntu.machine:0.0 in Gentoo
yet I get the error message.

I don't think the problem is on the Gentoo box since I am able to login into this one from windows and I can do X-tunneling with PuTTy or directly use Exceed.

I assume the problem is on Ubuntu but where?
Old 07-15-2006, 11:51 AM   #2
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,621

Rep: Reputation: 98
Hi, I think for security reasons, most of X clients on the penguins do not accept displays open.

and if nolisten tcp exits, comment out.

Other solution is, make ssh X11 translucent. read
In this case, you have to modify shell environment DISPLAY as accordingly.
Old 05-17-2007, 06:04 AM   #3
LQ Newbie
Registered: Oct 2006
Posts: 5

Rep: Reputation: 1
Putty:- "Gtk-WARNING **: cannot open display :"


Just you need to create a launcher. I have edited menu of KDE 3.5 to add a menu Item that pointing to /usr/bin/putty.

Just click the menu It will successfully launch putty.

Thanks for your time.

Rajesh A.
Old 05-17-2007, 06:48 AM   #4
Registered: Apr 2007
Location: Vietnam
Distribution: Slackware
Posts: 38

Rep: Reputation: 15
you can try :
$ssh -X user@host


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gtk-WARNING **: cannot open display elfoozo DamnSmallLinux 3 07-12-2007 09:41 PM
Gtk-WARNING **:Cannot Open Display. Mark_in_Hollywood Linux - Newbie 2 05-09-2006 09:44 AM
Gtk-WARNING **: cannot open display: lijomali Fedora 6 11-10-2005 06:43 PM
Gtk-warning **: Cannot Open Display: davikevi Programming 3 02-18-2005 11:42 PM
Gtk-WARNING **: cannot open display ocset Linux - Software 2 10-18-2004 03:18 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration