Re: 'sudo gedit' stopped working [SOLVED]
On Thu, 30 Sep 2010 16:43:20 -0400, Patrick Wiseman wrote:
>> I have a menu item, 'sudo gedit', which has worked for years but just
>> stopped working (on a current testing system). . . .
>
> Sorry to answer my own question - 'gksudo gedit' works (although why
> sudo no longer works, I don't know).
Found the answer for ya:
sudo has changed from a blacklist to a whitelist model for
environment variables. I.e., sudo no longer lets DISPLAY through
without you telling it to first. See http://bugs.debian.org/349729
for instructions on workarounds
Ref:
http://old.nabble.com/Using-setenv-DISPLAY-td3261601.html
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Reply to: