synaptic does not run under wayland

Bug #1731324 reported by Javi
66
This bug affects 14 people
Affects Status Importance Assigned to Milestone
synaptic (Debian)
New
Undecided
Unassigned
synaptic (Ubuntu)
Confirmed
High
Unassigned

Bug Description

After installed Synaptic (by the Software app) and I wanted run it, the app does not run in Ubuntu 17.10. Appears a window asking to type de SUDO password, but does not run. Synaptic is still the best way to install/uninstall software.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: synaptic (not installed)
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 9 19:26:46 2017
InstallationDate: Installed on 2017-11-09 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
ProcEnviron:
 PATH=(custom, no username)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: synaptic
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Javi (javicmrs) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. This is a known limitation with wayland.

tags: added: wayland
removed: wayland-session
Changed in synaptic (Ubuntu):
status: New → Confirmed
importance: Undecided → High
summary: - synaptic does not run
+ synaptic does not run under wayland
Revision history for this message
David (dmacdo89) wrote :

The following is the error that pops up when attempting to open Synaptic via terminal:

(synaptic:4201): Gtk-WARNING **: cannot open display: :0

Revision history for this message
Douglas Souza (douglascpsouza) wrote :

Wayland is designed to not allow elevated (sudo -H, gksu ...) permissions with GUI application programs.

There is a workaround to allow graphical application programs owned by other users than the logged in user in Wayland:

xhost +si:localuser:root

Take a look at: https://wiki.ubuntu.com/Wayland/gks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.