Unable to launch applications which use su-to-root from menu package as root on Wayland session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GParted |
New
|
Undecided
|
Unassigned | ||
bleachbit (Ubuntu) |
Fix Released
|
Undecided
|
Hugo Lefeuvre | ||
caja-extensions (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
ddccontrol (Ubuntu) |
In Progress
|
Undecided
|
Miroslav Kravec | ||
debian-installer-launcher (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
edubuntu-netboot (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gadmin-bind (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gadmin-openvpn-client (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gadmin-openvpn-server (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gadmin-proftpd (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
gadmin-rsync (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gadmin-samba (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gkdebconf (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gsmartcontrol (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gtkorphan (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gui-apt-key (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
guymager (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
hannah-foo2zjs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
i7z (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
keytouch-editor (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
kontrolpack (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
kvpnc (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
lshw (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
luckybackup (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
menu (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
ndisgtk (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
nmap (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
prey (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
sbackup (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
spacefm (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
usbview (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
wifi-radar (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
List of pkexec'ed applications is located in bug 1713313.
*******
Main upstream discussion & fixes example to deal with wayland:
https:/
*******
the Gnome Porting Way: https:/
*******
Steps to reproduce:
1. Install Ubuntu 17.10
2. Install application from above list and menu package (if missed, for zenmap, see bug 1713274) - full list from - https:/
3. Try to launch $APP_NAME from shortcut
4. Get error window:
Failed to run $APP_NAME as user root.
Unable to copy the user's Xauthorization file.
Expected results:
* $APP_NAME may be run as root
Actual results:
* unable to run $APP_NAME as root
Additional info:
$ xhost
access control enabled, only authorized clients can connect
SI:localuser:artful
$ export | grep "SESSION\|DESK"
declare -x DBUS_SESSION_
declare -x DESKTOP_
declare -x DESKTOP_
declare -x GDMSESSION="gnome"
declare -x GNOME_DESKTOP_
declare -x SESSION_
declare -x XDG_CURRENT_
declare -x XDG_SESSION_
declare -x XDG_SESSION_ID="2"
declare -x XDG_SESSION_
and this operations does not help:
artful@artful:~$ xhost +si:localuser:root
localuser:root being added to access control list
artful@artful:~$ gksudo zenmap
Error copying '/home/
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: zenmap 7.50-1
ProcVersionSign
Uname: Linux 4.12.0-11-generic i686
ApportVersion: 2.20.6-0ubuntu7
Architecture: i386
CurrentDesktop: GNOME
Date: Sun Aug 27 13:28:31 2017
InstallationDate: Installed on 2017-08-26 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha i386 (20170826)
PackageArchitec
SourcePackage: nmap
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
summary: |
- Unable to launch zenmap as root on Wayland session + Unable to launch zenmap and bleachbit as root on Wayland session |
description: | updated |
summary: |
- Unable to launch zenmap and bleachbit as root on Wayland session + Unable to launch zenmap, bleachbit, gui-apt-key as root on Wayland + session |
description: | updated |
summary: |
- Unable to launch zenmap, bleachbit, gui-apt-key as root on Wayland - session + Unable to launch zenmap, bleachbit, gui-apt-key, gkdebconf as root on + Wayland session |
description: | updated |
description: | updated |
summary: |
- Unable to launch zenmap, bleachbit, gui-apt-key, gkdebconf as root on - Wayland session + Unable to launch zenmap, bleachbit, gui-apt-key, gkdebconf, luckybackup + as root on Wayland session |
description: | updated |
summary: |
- Unable to launch zenmap, bleachbit, gui-apt-key, gkdebconf, luckybackup - as root on Wayland session + Unable to launch zenmap, bleachbit, gui-apt-key, gkdebconf, luckybackup, + usbview as root on Wayland session |
description: | updated |
summary: |
- Unable to launch zenmap, bleachbit, gui-apt-key, gkdebconf, luckybackup, - usbview as root on Wayland session + Unable to launch applications which use su-to-root from menu package as + root on Wayland session |
description: | updated |
description: | updated |
no longer affects: | synaptic (Ubuntu) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: wayland removed: wayland-session |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: bionic |
no longer affects: | software-properties |
tags: | removed: artful |
Wayland does not support root applications by design.