[avahi] avahi-discover- RunTimeError: could not open display
Lennart Poettering
lennart at poettering.net
Sat Jan 12 07:35:46 PST 2008
On Fri, 11.01.08 16:36, Amba Giri (giri.amba at gmail.com) wrote:
> Thanks for the response Lennart. I have shelved this problem for
> the moment but will get back to it eventually. I don't know of any
> other Gtk applications. It is possible that some reqd. package is
> not loaded. I have received the same error on both Ubuntu and
> Debian systems. Perhaps I should check into all the Debian packages
> to determine which Gtk related package needs to be loaded?
Are you really sure that you are running avahi-dsicover inside a
proper X11 session? i.e. is $DISPLAY initialized properly? Does
running a tool like "xdpyinfo" or "gedit" work?
Whatever this problem is, it is however unrelated to Avahi, most
likely some issue with your X setup and possibly pygtk.
Also, note that what avahi-discover does graphically you can do in a
terminal too, by running "avahi-browse -a".
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the avahi
mailing list