Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-09-2006, 01:33 AM   #1
LQ Newbie
Registered: May 2006
Posts: 17

Rep: Reputation: 0
Display problems running the system-config-printer tool

I have a Pentium 4 machine running Fedora Core 4 and I'm trying to configure a printer on my box. I tried running the system-config-printer tool only to get this output:

[root@blah roger]# system-config-printer
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ImportError: could not import gtk
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Traceback (most recent call last):
File "/usr/sbin/system-config-printer", line 9, in ?
import queueTree
File "/usr/share/printconf/util/", line 71, in ?
import gtk
File "/usr/src/build/535819-i386/install/usr/lib/python2.4/site-packages/gtk-2.0/gtk/", line 37, in ?
RuntimeError: could not open display

Does anyone know what's going on here ? I'm a newbie and would appreciate any help I can get in getting through this part (getting my system-config-printer tool to display).
Thanks in advance.
Old 09-17-2006, 10:01 PM   #2
LQ Newbie
Registered: May 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Additional info...

It seems like any X-based tool that I run or anything that requires gtk+, I cannot run. I've been looking for a gui based wifi config tool and I cannot run any of them because of this problem that I have that I haven't been able to solve yet. Any help would be appreciated.

[root@blah roger]# system-config-network
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ERROR: Unable to initialize graphical environment. Most likely cause of failure is that the tool was not run using a graphical environment. Please either start your graphical user interface or set your DISPLAY variable.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
system-config-display-tui BeauSanders Linux - Hardware 14 06-03-2008 03:31 PM
system-config-display error with ATi drivers DragonMaster Fedora 0 07-28-2006 11:44 AM
system-config-network tool unusable + very slow boot anax93 Linux - Wireless Networking 3 07-26-2006 01:46 PM
system-config-printer config file(s) frenkiel Linux - Software 0 06-06-2006 08:41 AM
display error running redhat-config-* jayz Linux - General 3 07-15-2003 05:14 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:13 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
Open Source Consulting | Domain Registration