Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 158593
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michele Noberasco <s4t4n@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Don Pellegrino <donpellegrino@comcast.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wifi-radar-sh-output.txt Output from wifi-radar.sh run as a user. text/plain Don Pellegrino 2006-12-19 14:47 0000 8.16 KB Details
info.txt Output from my emerge --info command. text/plain Don Pellegrino 2006-12-19 14:48 0000 3.01 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158593 depends on: Show dependency tree
Bug 158593 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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?

------- Comment #1 From Don Pellegrino 2006-12-19 14:47:15 0000 -------
Created an attachment (id=104397) [details]
Output from wifi-radar.sh run as a user.

------- Comment #2 From Don Pellegrino 2006-12-19 14:48:08 0000 -------
Created an attachment (id=104398) [details]
Output from my emerge --info command.

------- Comment #3 From Mickael Paris 2007-01-04 05:08:05 0000 -------
(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.

------- Comment #4 From Mickael Paris 2007-01-04 05:17:57 0000 -------
(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....

------- Comment #5 From Michele Noberasco 2007-03-14 15:34:37 0000 -------
Added some more einfos in latest package version to propose the other changes
stated here to /etc/sudoers...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug