LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Display problems running the system-config-printer tool (http://www.linuxquestions.org/questions/linux-general-1/display-problems-running-the-system-config-printer-tool-481780/)

donraja 09-09-2006 12:33 AM

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/queueTree.py", line 71, in ?
import gtk
File "/usr/src/build/535819-i386/install/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", 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.

donraja 09-17-2006 09:01 PM

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.


All times are GMT -5. The time now is 02:35 PM.