Unable to launch pkexec'ed applications on Wayland session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Back In Time |
Fix Released
|
High
|
|||
Boot-Info |
Fix Released
|
Critical
|
YannUbuntu | ||
Boot-Repair |
Fix Released
|
Critical
|
YannUbuntu | ||
GNOME Terminal |
New
|
Undecided
|
Unassigned | ||
HPLIP |
New
|
Undecided
|
Unassigned | ||
LightDM GTK Greeter Settings |
New
|
Unknown
|
|||
OS-Uninstaller |
Fix Released
|
Critical
|
YannUbuntu | ||
Y PPA Manager |
New
|
Undecided
|
Unassigned | ||
apport (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
apt-offline (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
backintime (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
budgie-welcome (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
caja-admin (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
cinnamon (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ettercap (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gdebi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gdm3 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
gnunet-gtk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gparted (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
gui-ufw (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
guidedog (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
italc (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
laptop-mode-tools (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
lightdm-gtk-greeter-settings (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nautilus-admin (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
needrestart-session (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nemo (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
policykit-1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
scanmem (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
scap-workbench (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
sirikali (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
synaptic (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
thunar (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
tuned (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
ubuntustudio-controls (Ubuntu) |
Fix Released
|
Undecided
|
Len Ovens | ||
update-notifier (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
xdiagnose (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
xubuntu-default-settings (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
zulucrypt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
*******
Main upstream discussion & fixes example to deal with wayland:
https:/
*******
*******
Steps to reproduce:
1. Install Ubuntu 17.10
2. Install backintime-qt4 or gparted application from above list (full may be acquired from https:/
3a. Try to launch backintime-qt4 from shortcut "Back In Time (root)" (located in /usr/share/
($ cat /usr/share/
Exec=pkexec backintime-qt4)
3b. Try to launch Gparted from shortcut "GParted" (located in /usr/share/
4a.1. Back In Time does not start from GUI.
4a.2. Back In Time shows error message in console:
4b. gparted-pkexec does not start, reports error
$ gparted-pkexec
Created symlink /run/systemd/
Created symlink /run/systemd/
Created symlink /run/systemd/
Created symlink /run/systemd/
No protocol specified
(gpartedbin:12831): Gtk-WARNING **: cannot open display: :0
Removed /run/systemd/
Removed /run/systemd/
Removed /run/systemd/
Removed /run/systemd/
$ pkexec backintime-qt4
Back In Time
Version: 1.1.12
Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.
No protocol specified
app.py: cannot connect to X server :0
Expected results:
* backintime-qt4 may be run as root
Actual results:
* unable to run backintime-qt4 as root
Workaround:
* setting "xhost +si:localuser:root" helps.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: backintime-qt4 1.1.12-2
ProcVersionSign
Uname: Linux 4.12.0-11-generic i686
ApportVersion: 2.20.6-0ubuntu7
Architecture: i386
CurrentDesktop: GNOME
Date: Sun Aug 27 14:23:14 2017
InstallationDate: Installed on 2017-08-26 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha i386 (20170826)
PackageArchitec
SourcePackage: backintime
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Unable to launch backintime-qt4 as root on Wayland session + Unable to launch backintime and gparted as root on Wayland session |
description: | updated |
summary: |
- Unable to launch backintime and gparted as root on Wayland session + Unable to launch pkexec application on Wayland session |
description: | updated |
summary: |
- Unable to launch pkexec application on Wayland session + Unable to launch pkexec'ed applications on Wayland session |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: wayland |
no longer affects: | gufw (Ubuntu) |
no longer affects: | wayland (Ubuntu) |
tags: | added: rls-aa-incoming |
Changed in gui-ufw (Ubuntu): | |
status: | New → Confirmed |
tags: |
added: rls-aa-notfixing removed: rls-aa-incoming |
Changed in backintime: | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
description: | updated |
Changed in boot-repair: | |
assignee: | nobody → YannUbuntu (yannubuntu) |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in boot-info: | |
assignee: | nobody → YannUbuntu (yannubuntu) |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in os-uninstaller: | |
assignee: | nobody → YannUbuntu (yannubuntu) |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in boot-info: | |
status: | In Progress → Fix Committed |
Changed in boot-repair: | |
status: | In Progress → Fix Committed |
Changed in os-uninstaller: | |
status: | In Progress → Fix Committed |
Changed in boot-repair: | |
status: | Fix Committed → Fix Released |
Changed in os-uninstaller: | |
status: | Fix Committed → Fix Released |
Changed in boot-info: | |
status: | Fix Committed → Fix Released |
no longer affects: | lightdm-gtk-greeter-settings |
no longer affects: | ubuntustudio-default-settings (Ubuntu) |
Changed in lightdm-gtk-greeter-settings: | |
status: | Unknown → New |
tags: | removed: artful |
This a well known wayland limitation. /bugs.launchpad .net/ubuntu/ +source/ gparted/ +bug/1652282
The workaround (till the pkexec -> policykit transition is made) is to use xhost script.
Gparted already has an opened bug: https:/
and policykit has to be used, but is not directly concerned as a bug.