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.