[FreeNX-kNX] sudo problems from NX session

Ben Taitelbaum ben at reframeit.com
Wed Mar 18 19:45:20 UTC 2009


What if you set !env_reset for that user/group in /etc/sudoers ?

On Mar 18, 2009, at 3:33 PM, <jim.sifferle at tektronix.com> <jim.sifferle at tektronix.com 
 > wrote:

> Hi All,
>
> I'm having some problems with sudo on NX sessions.  If I'm logged in  
> as a regular user, whenever I run an application like Wireshark  
> through sudo, I get the following error:
>
> Xlib: connection to ":1000.0" refused by server
> Xlib: No protocol specified
>
>
> (wireshark:10825): Gtk-WARNING **: cannot open display:
>
> Is sudo resetting an environment variable needed to access the xauth  
> information?  Any idea how I could fix this besides running 'xhost  
> +' before 'sudo wireshark'?
>
> I'm running CentOS 5.2 if it makes any difference.
>
> Thanks,
>
> Jim Sifferle
> Danaher T&M / Tektronix Network Services
> Work: 503-627-5364
> Mobile: 503-860-5558
> Jim.sifferle at tektronix.com
>
>
> ________________________________________________________________
>     Were you helped on this list with your FreeNX problem?
>    Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>
>         Don't forget to check the NX Knowledge Base:
>                 http://www.nomachine.com/kb/
>
> ________________________________________________________________
>       FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>      https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20090318/a93ffda9/attachment.html>


More information about the FreeNX-kNX mailing list