Bug 158593 - net-wireless/wifi-radar-1.9.6-r1 - Could not open display.
|
Bug#:
158593
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: s4t4n@gentoo.org
|
Reported By: donpellegrino@comcast.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: net-wireless/wifi-radar-1.9.6-r1 - Could not open display.
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-12-19 14:45 0000
|
After "emerge wifi-radar" I followed the emerge output instructions to add
/usr/sbin/wifi-radar to my /etc/sudoers file. I am able to run wifi-radar as
root with no problems. When I try to run /usr/bin/wifi-radar.sh as a user I
get "GtkWarning: could not open display" Is there another configuration
parameters I must change to allow users to run wifi-radar.sh?
(In reply to comment #1)
> Created an attachment (id=104397) [edit] [details]
> Output from wifi-radar.sh run as a user.
>
EDit the /etc/sudoers file, and comment this line :
# Defaults env_reset
After that add this line :
Defaults env_keep=DISPLAY
I'm not a specialist of sudo, so i'm sure that comment the line "Defaults
env_reset" is absolutely necessary, but it's work for me.
(In reply to comment #3)
> (In reply to comment #1)
> > Created an attachment (id=104397) [edit] [details]
> > Output from wifi-radar.sh run as a user.
> >
>
> EDit the /etc/sudoers file, and comment this line :
> # Defaults env_reset
>
> After that add this line :
> Defaults env_keep=DISPLAY
>
> I'm not a specialist of sudo, so i'm sure that comment the line "Defaults
> env_reset" is absolutely necessary, but it's work for me.
>
Excuse me I would like to say : I'm NOT sure....
Added some more einfos in latest package version to propose the other changes
stated here to /etc/sudoers...