Re: pygtk2 error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sa, den 25.06.2005 schrieb Patrick um 17:05:
> When starting a python app like yumex I get the following error:
> [root@srv12 ~]# yumex
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified

^^^^

> Traceback (most recent call last):
>   File "yumex.py", line 23, in ?
>   File "yumWrapper.py", line 26, in ?
>   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
> 
> Looks like pygtk2 was built with the %{buildroot} prepended in hardcoded
> paths. pygtk2 version is 2.6.0-2 on FC4. Anyone have an idea how to fix
> this error?

> Patrick

Looks like an X server problem. Run

xhost +local:root

and see if that changes anything.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 18:06:57 up 59 min, 17 average: 0.25, 0.24, 0.20 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]