[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 'sudo gedit' stopped working



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09/30/2010 04:37 PM, Patrick Wiseman wrote:
> I have a menu item, 'sudo gedit', which has worked for years but just
> stopped working (on a current testing system).  Running from the
> command line, I get:
> 
> No protocol specified
> 
> (gedit:30084): Gtk-WARNING **: cannot open display: :0.0
> 
> as I do when I try to run gedit in a root terminal.  I hope this is
> not another example of putting misplaced security concerns ahead of
> functionality.  It's not a problem with my sudoers file as another
> menu item, which runs 'sudo aptitude' in a terminal, works.  How can I
> run gedit as root?
> 
> Patrick
> 
> 

Try using "gksudo" for graphical sudo.

Regards,
- -- 
Jordan Metzmeier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJMpPbGAAoJEKj/C3qNthmTP8wP/jymPJ/LcPMlvq3ARo/40uhr
Csb403zgB7hi0VlLwms8BhS0Tq33V6ppbnFrKnRAflH6i843O1/Gmq+pd8lFNZBU
hpH5sbuhFW7RS8raIEDrJ5oqLHitts0jAPJeRd+/j+6hBdp1HcycFBSYsfbZuQaG
JDpqjCNmW4ox3g24oilMBMTU3wYQAj3vS2gVzoP+U73EWeV4nLTbY7THzJX58xl8
ePgpJQURI1oxtwVHtI9LQyQkSKZRvjvxR0z29UkXqufNdeL/aDPa8zpQlh+5E5r4
Lz3csPtgfA2/mONqfZFSn3BVCE/SPlgq6sNwXAjUNYl9bZuIeI9V2PLz9bcSmSid
M9iJu9O6Y2KlZNdOLAuJSN+8nbIuHjq9UBYk6ZKRZkK+9xobjIVTcy/B2fHzT5cV
1jxXIHvRpS6ADMU9l0a8KFh7Bi2JXG/GOWp8XsivK6AYJqKHPw3xeC9Jat/lyi9+
/v3ADeE8/TLvfISjaWgk1KqTbhNltUJASRidIg0MdMnHIVd2BvPXu/KSb7GjSchP
ryggIDne0ounLoT52VX+G+21q8J9SkpOJfcORFCggE2zARVsLOmL73Qn7i9ExW6o
kRXmwaXFaAKOfeagEFqi9RL3s8a/1CpScmzxFNz0qODcHwJDo9xP+DwFqxgguM/N
mf+nLH53B5ny97RYZn1d
=YVsc
-----END PGP SIGNATURE-----


Reply to: