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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1330154
Title:
sudo not working in ubuntu
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam-xdg-support/+bug/1330154/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs