** Description changed:

+ Posting here what gnome says about porting to wayland, and their tests:
+ 
+ GNOME Applications under Wayland
+ GTK+ has a Wayland backend. If it was enabled at compile-time, you can run a 
GTK+ application under Wayland simply by:
+ 
+ GDK_BACKEND=wayland gnome-calculator
+ Applications that use Clutter or clutter-gtk also need the Clutter Wayland 
backend enabled:
+ 
+ GDK_BACKEND=wayland CLUTTER_BACKEND=wayland cheese
+ 
+ https://wiki.gnome.org/Initiatives/Wayland/Applications
+ 
+ ======> so maybe a simple rebuilt can do the trick
+ 
+ 
********************************************************************************************************************************************
+ 
+ 
  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://codesearch.debian.net/search?q=Exec%3Dsu-to-root+filetype%3Adesktop+path%3A*%2Fapplications%2F*&perpkg=1
 , 
https://codesearch.debian.net/search?q=Exec%3Dgksudo+filetype%3Adesktop+path%3A*%2Fapplications%2F*
 and 
https://codesearch.debian.net/search?q=Exec%3Dgksu+filetype%3Adesktop+path%3A*%2Fapplications%2F*
 .
  
  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_BUS_ADDRESS="unix:path=/run/user/1000/bus"
  declare -x 
DESKTOP_AUTOSTART_ID="1082dacfd3a20e972150382958079482700000012280008"
  declare -x DESKTOP_SESSION="gnome"
  declare -x GDMSESSION="gnome"
  declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
  declare -x 
SESSION_MANAGER="local/artful:@/tmp/.ICE-unix/1228,unix/artful:/tmp/.ICE-unix/1228"
  declare -x XDG_CURRENT_DESKTOP="GNOME"
  declare -x XDG_SESSION_DESKTOP="gnome"
  declare -x XDG_SESSION_ID="2"
  declare -x XDG_SESSION_TYPE="wayland"
  
  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/artful/.Xauthority' to '/tmp/libgksu-AgXCxW': No such 
file or directory
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: zenmap 7.50-1
  ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
  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)
  PackageArchitecture: all
  SourcePackage: nmap
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713311

Title:
  Unable to launch applications which use su-to-root from menu package
  as root on Wayland session

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to