LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-06-2007, 09:23 PM   #1
steven_yu
LQ Newbie
 
Registered: Jun 2007
Posts: 19

Rep: Reputation: 0
GTK-WARNING **: Can't open display


I use Fedore Core 3, when I run some gone like application, such as gedit, opera and so forth, always ok, but sometimes failed, the error message is "GTK-WARNING **: Can't open display" or "Cann't connect to X Server".

Echo $DISPLAY
:localhost:0.0

when I reset $DISPLAY as "0,0", then it will run ok.

I don't known the reason how and why to cause this problem, just wait someone to help me.
 
Old 06-07-2007, 02:10 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,205

Rep: Reputation: 2472Reputation: 2472Reputation: 2472Reputation: 2472Reputation: 2472Reputation: 2472Reputation: 2472Reputation: 2472Reputation: 2472Reputation: 2472Reputation: 2472
It can sometimes happen if your hostname changes, after you get logged in and X is running. If you get an Xterm up, and type in "hostname <somename>", then try to pull up a new X application, it'll often times not work. Just a thought.

Also, FC3 is pretty old, I think....Fedora 7 is out now, wouldn't hurt to upgrade.
 
  


Reply

Tags
cant, display, open


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 iamjoepesci Red Hat 2 10-17-2008 11:51 AM
Gtk-WARNING **: cannot open display elfoozo DamnSmallLinux 3 07-12-2007 09:41 PM
Gtk-WARNING **: cannot open display: intelectro Linux - Software 2 05-08-2007 09:46 PM
Gtk-WARNING **: cannot open display: a_l_a_n Linux - General 5 03-31-2007 03:44 PM
Gtk-WARNING **: cannot open display: Larsin Linux - Software 1 02-25-2004 10:47 AM


All times are GMT -5. The time now is 09:00 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