← Back to team overview

edubuntu-bugs team mailing list archive

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

 

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@vistula:~⟫ sudo gedit
No protocol specified
Unable to init server: Could not connect: Connection refused

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

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

#### Work-around:

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

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

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

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to italc 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