<div>Thanks Lennart.</div>
<div>I did run avahi-discover as a regular user and I still get the following error:</div>
<div> </div>
<div>/var/lib/python-support/python2.5/avahi/SimpleGladeApp.py:335:GtkWarning:gdk_window_set_keep_above: assertion 'GDK_IS_WINDOW (window)' failed</div>
<div> </div>
<div>Any ideas?</div>
<div> </div>
<div>Thanks</div>
<div>Amba<br><br></div>
<div class="gmail_quote">On Dec 22, 2007 2:58 PM, Lennart Poettering <<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Thu, 20.12.07 16:45, Amba Giri (<a href="mailto:giri.amba@gmail.com">giri.amba@gmail.com</a>) wrote:<br>
<br>> Hi<br>
<div class="Ih2E3d"><br>Hi!<br><br>> After I install avahi-discover and run it, I get the following error msg:<br>><br>> File "/var/lib/python-support/python2.4/gtk_2.0/gtk/__init__.py<br>> line 45, in ?
<br>> from _gtk import *<br>> RunTime Error: coud not open display<br>><br>> I am running as root and I have set the DISPLAY variable but the error stil<br>> occurs.<br><br></div>Most likely the error you are experiencing happens exactly because you
<br>run the script as root and the root user doesn't know the X11<br>authentication cookie. Please note that this is in no way Avahi error,<br>this happens to all X programs if you call them like that.<br><br>There's no reason to run avahi-discover as root. Just run it as normal
<br>user and everything should work fine.<br><br>Alternatively open up your X11 display for everyone by entering<br>"xhost +" on some (non-root) terminal on your X session.<br><br>Lennart<br><font color="#888888">
<br>--<br>Lennart Poettering Red Hat, Inc.<br>lennart [at] poettering [dot] net ICQ# 11060553<br><a href="http://0pointer.net/lennart/" target="_blank">http://0pointer.net/lennart/</a> GnuPG 0x1A015CC4
<br>_______________________________________________<br>avahi mailing list<br><a href="mailto:avahi@lists.freedesktop.org">avahi@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/avahi" target="_blank">
http://lists.freedesktop.org/mailman/listinfo/avahi</a><br></font></blockquote></div><br>