This error is related to sudo not keeping XDG_SESSION_COOKIE env variable Add the following to /etc/sudoers Defaults env_keep += "XDG_SESSION_COOKIE"
I tried to corrected the sudo package but the sudoers file is created by scripts. Regards ** Also affects: sudo (Ubuntu) Importance: Undecided Status: New -- sudo *something which uses poliykit?* doesn't work https://bugs.launchpad.net/bugs/210897 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs