As a temporary patch, you could set this to /etc/profile:
export XDG_RUNTIME_DIR="/run/user/$UID"

** Also affects: sudo (Debian)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1548300

Title:
  XDG_RUNTIME_DIR not set when using sudo -i

To manage notifications about this bug go to:
https://bugs.launchpad.net/sudo/+bug/1548300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to