Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125669 - wifi-radar cannot open display
Summary: wifi-radar cannot open display
Status: RESOLVED DUPLICATE of bug 111830
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 00:09 UTC by Ákos Maróy
Modified: 2006-03-10 00:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ákos Maróy 2006-03-10 00:09:22 UTC
when trying to start wifi-radar.sh, I get:

$ wifi-radar.sh
Traceback (most recent call last):
  File "/usr/sbin/wifi-radar", line 1795, in ?
    import gtk, gobject
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ?    from _gtk import *
RuntimeError: could not open display



which is kind of naturaly, as xhost is restricted to the current user. but even if I set

xhost +

I get the same - as the DISPLAY environment variable will not be set when doing sudo /usr/sbin/wifi-radar inside the wifi-radar.sh script
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-10 00:25:27 UTC

*** This bug has been marked as a duplicate of 111830 ***