Summary: | Synaptic Package Manager and other apps that want to display as root will not run on wayland by default | ||
---|---|---|---|
Product: | Wayland | Reporter: | mback |
Component: | wayland | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | critical | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
mback
2017-11-24 18:32:27 UTC
Yeah, that's the solution for X11 apps running as root. On one hand, I understand the user desire, on the other hand running an X11 app as root raises a big red flag and an alarm siren. It is something people just should not do. Doesn't Synaptic have any separation between the UI process and the privileged operations? Do you actually run it as root on an Xorg-based desktop as well? I would imagine that usually you run the GUI app as a normal user, and then it uses either a privileged system service or a setuid-root helper tool to do the privileged bits. So, I'm torn. It would be good to document the right way to let a program running as root to connect to Xwayland, but OTOH it should not be encouraged. It is definitely not something a newbie should be doing at all. Yes, we'd want to encourage Synaptic to fix their architecture. If you look at, e.g. GNOME Software, that uses PackageKit as a privileged backend and runs the UI unprivileged. I'm pretty sure the same is true of the KDE equivalent. As Pekka says, this is quite a dangerous thing to be doing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.