[opensuse-factory] Wayland and YaST
Hello all, what are openSUSE devs' plans regarding YaST and Wayland compatiblity? AFAICT there's no way around changing YaST's su implementation if it is to run under GNOME (or KDE for that matter) after X has been dropped for good. Greets, Chris -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 04/16/2017 08:32 PM, Christian Jäger wrote:
Hello all,
what are openSUSE devs' plans regarding YaST and Wayland compatiblity?
AFAICT there's no way around changing YaST's su implementation if it is to run under GNOME (or KDE for that matter) after X has been dropped for good.
Can you please elaborate? I'm not sure if I have understood the problem. We write YaST under the assumption that it will be, almost always, executed as root but we don't think too much about how that is achieved (running the whole session as root, kdesu, su, sudo...). So far, whatever system is used in the .desktop files is fine, so I'm not sure what's the problem here. Cheers. -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 17 Apr 2017 12:14, Ancor Gonzalez Sosa wrote:
On 04/16/2017 08:32 PM, Christian Jäger wrote:
Hello all,
what are openSUSE devs' plans regarding YaST and Wayland compatiblity?
AFAICT there's no way around changing YaST's su implementation if it is to run under GNOME (or KDE for that matter) after X has been dropped for good.
Can you please elaborate? I'm not sure if I have understood the problem.
We write YaST under the assumption that it will be, almost always, executed as root but we don't think too much about how that is achieved (running the whole session as root, kdesu, su, sudo...). So far, whatever system is used in the .desktop files is fine, so I'm not sure what's the problem here.
Cheers.
Easy to reproduce: Install Wayland, but NOT (Xwayland, Gnome and KDE Desktops), try to run YaST. It will fail. Why? In part, see above. Incomplete support for Wayland in YaST-GUI as one point. If you try this from a non-privileged USER it also hits the GUI-su problem, called via xdg-su is what program? -» gnomesu (libgnomesu) or kdesu (kdebase4-runtime, kde-cli-tools5) -» xterm fallback will not work, period. - kdesu4 will not work under Wayland, period. - kdesu5 was "flaky" the last time I tried (christmas, TW), dependend wheather or not another KDE/Plasma app was started before (worked most of the time) or not (worked very seldom). - gnomesu worked most often, problems where based on what theme was selected for gnome / gtk So, xdg-su will need a update to fascilate a new fallback for Wayland, and soon, please, to be included into Leap 42.3 before that gets emberassing. Is there a native wayland app available? If not, that would be nice to have. kdesu needs test-cases under pure wayland, to ensure full functionality. gnome themes need tests under pure wayland, to catch problems earlier. Insight enough? - Yamaban.
On 04/17/2017 07:44 PM, Ancor Gonzalez Sosa wrote:
On 04/16/2017 08:32 PM, Christian Jäger wrote:
Hello all,
what are openSUSE devs' plans regarding YaST and Wayland compatiblity?
AFAICT there's no way around changing YaST's su implementation if it is to run under GNOME (or KDE for that matter) after X has been dropped for good.
Can you please elaborate? I'm not sure if I have understood the problem.
We write YaST under the assumption that it will be, almost always, executed as root but we don't think too much about how that is achieved (running the whole session as root, kdesu, su, sudo...). So far, whatever system is used in the .desktop files is fine, so I'm not sure what's the problem here.
Cheers.
See the links below, but in short wayland wasn't designed to have applications running as root. The design was apparently that applications would run as a user then use polkit to perform privileged tasks https://bugzilla.redhat.com/show_bug.cgi?id=1274451 https://lists.fedoraproject.org/archives/list/devel%40lists.fedoraproject.or... -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
Le dimanche 16 avril 2017 à 20:32 +0200, Christian Jäger a écrit :
Hello all,
what are openSUSE devs' plans regarding YaST and Wayland compatiblity?
AFAICT there's no way around changing YaST's su implementation if it is to run under GNOME (or KDE for that matter) after X has been dropped for good.
For now, just run: xhost +SI:localuser:root Before starting YaST. We'll get it fixed eventually. -- Frederic Crozat Enterprise Desktop Release Manager SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Ancor Gonzalez Sosa
-
Christian Jäger
-
Frederic Crozat
-
Simon Lees
-
Yamaban