| Summary: | wifi-radar cannot open display | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ákos Maróy <akos> |
| Component: | Current packages | Assignee: | 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: | --- | |
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