[Bug 1330154] Re: sudo not working in ubuntu
Filip Sohajek
filip.sohajek at gmail.com
Tue Jun 17 13:19:12 UTC 2014
It's not a bug. SuperUser has no XDG_RUNTIME_DIR variable set. To fix it, replace sudo gedit call with
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gedit
** Changed in: pam-xdg-support (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam-xdg-support in Ubuntu.
https://bugs.launchpad.net/bugs/1330154
Title:
sudo not working in ubuntu
Status in “pam-xdg-support” package in Ubuntu:
Invalid
Bug description:
when I try sudo gedit the command does not work.
following is a sample output in terminal
arghya at arg-u2:~$ sudo gedit /etc/hosts
[sudo] password for arghya:
error: XDG_RUNTIME_DIR not set in the environment.
(gedit:11805): Gtk-WARNING **: cannot open display:
arghya at arg-u2:~$
pardon me for being a linux newbie.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam-xdg-support/+bug/1330154/+subscriptions
More information about the foundations-bugs
mailing list