> On Wed, Mar 08, 2006 at 02:30:06PM -0500, Haines Brown wrote: > > Andrew Cady <[EMAIL PROTECTED]> writes: > > > > > As others have pointed out, sudo does not by default preserve its > > > environment when starting privileged processes. To get X working, you > > > will want to have sudoers retain both DISPLAY and XAUTHORITY. > > [...] > > > In the discussion of this sudo "bug" (upgrade), it was suggested to > > add this line to /etc/sudoers: > > > > Defaults env_reset,env_keep+="DISPLAY HOME XAUTHORIZATION" > > Other than the fact that the proper variable is XAUTHORITY rather than > XAUTHORIZATION, this line is correct. It is not safe to retain HOME, > though.
Thanks. This line added to /etc/sudoers allows now me to start tkl applications using sudo: Defaults env_reset,env_keep+="DISPLAY XAUTHORITY" -- Haines Brown KB1GRM ET1(SS) U.S.S. Irex 482 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]