pygtk2 error

Alexander Dalloz ad+lists at uni-x.org
Sat Jun 25 16:10:19 UTC 2005


Am Sa, den 25.06.2005 schrieb Patrick um 17:05:
> When starting a python app like yumex I get the following error:
> [root at 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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20050625/8887b574/attachment.sig>


More information about the fedora-test-list mailing list