Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125669

Summary: wifi-radar cannot open display
Product: Gentoo Linux Reporter: Ákos Maróy <akos>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***