[Bug 1713313] Re: Unable to launch pkexec'ed applications on Wayland session

Ryan Beisner 1713313 at bugs.launchpad.net
Thu Oct 19 13:10:10 UTC 2017


Raised https://bugs.launchpad.net/ubuntu/+source/x11-xserver-
utils/+bug/1724748 which I think is actually a dup of this existing bug.
Here's what I'm seeing:

All (most?) gui apps fail to launch when using sudo, out-of-box, desktop
17.10 install.  For example, gparted and virt-manager, which both
require sudo, are not usable without a work-around.

#### Out-of-box experience
rbeisner at vistula:~⟫ sudo gedit
No protocol specified
Unable to init server: Could not connect: Connection refused

(gedit:32146): Gtk-WARNING **: cannot open display: :0

rbeisner at vistula:~⟫ xhost
access control enabled, only authorized clients can connect
SI:localuser:rbeisner

#### Work-around:

rbeisner at vistula:~⟫ xhost si:localuser:root
localuser:root being added to access control list

rbeisner at vistula:~⟫ xhost
access control enabled, only authorized clients can connect
SI:localuser:root
SI:localuser:rbeisner

rbeisner at vistula:~⟫ sudo gedit
rbeisner at vistula:~⟫ # (it launches ok)

-- 
You received this bug notification because you are a member of Ubuntu
Studio Development, which is subscribed to ubuntustudio-default-settings
in Ubuntu.
https://bugs.launchpad.net/bugs/1713313

Title:
  Unable to launch pkexec'ed applications on Wayland session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1713313/+subscriptions



More information about the Ubuntu-reviews mailing list