LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration