LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 07-15-2006, 08:26 AM   #1
Jykke
Member
 
Registered: Sep 2005
Posts: 166

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
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,433

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

Check
Code:
/etc/X11/xinit/xserverrc
and if nolisten tcp exits, comment out.

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

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

Hi,

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
trungnt_hut
Member
 
Registered: Apr 2007
Location: Vietnam
Distribution: Slackware
Posts: 38

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


Reply


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


All times are GMT -5. The time now is 09:34 PM.

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