Seems SuSE will start to support wayland with YaST :-)
Really a good news.
- ChunYu
---------- Forwarded message ----------
From: <fate_noreply(a)suse.de>
Date: Thu, Sep 21, 2017 at 1:09 AM
Subject: [openFATE 322297] Yast2 working in wayland
To: opensuse-features(a)opensuse.org
Feature changed by: Keith Hizal (kah0922)
Feature #322297, revision 25
Title: Yast2 working in wayland
openSUSE Distribution: New
Priority
Requester: Important
Requested by: Andreas Winter (netzheimer)
Requested by: Frederic Crozat (fcrozat)
Requested by: Kai Dupke (kdupke)
Partner organization:
openSUSE.org
Description:
Wayland is coming with big steps. First distributions (eg fedora)
already use it as default. Gnome should be already stable with it,
Plasmas support is getting better and better. Some other DE already
support it out of the box. Wayland is a lot more secure than Xserver
and it is the future. I think it is time to bring Yast2's support for
this. At the moment a user who wants to run wayland has just 2
solutions:
- Running yast in textmode (which is not a solution for non-geek users)
- Switch to another distribution, which offers better support
There were already some bugs opened by opensuse users. So you see the
feature is already needed.
https://bugzilla.opensuse.org/show_bug.cgi?id=955101
Discussion:
#1: Dominique Leuenberger (dimstar_suse) (2017-02-18 01:04:12)
Just repeating here the workaround from the bug (so you have a VERY
good workaround between your two options provided): xhost +LOCAL:
This entire issue is not limited to YaST - but in fact ANY GUI
application running as a different user (most likely root)
#2: Frederic Crozat (fcrozat) (2017-02-20 16:50:39Z) (reply to #1)
However, there is an interesting question here: why isn't YaST able to
start in Wayland mode directly, since it is using Qt5. It should be
able to run natively in Wayland and not requires X11..
#3: Frederic Crozat (fcrozat) (2017-02-21 13:55:20Z) (reply to #1)
A "slightly" more secure way:
xhost +SI:localuser:root
This is equivalent to the current security model used currently on
SLE12 / Leap.
#4: Frederic Crozat (fcrozat) (2017-02-21 14:11:37Z)
yast2 control center (Qt) or yast2 modules can be started in Wayland
after installing libqt5-wayland and setting "QT_QPA_PLATFORM=wayland".
But you need to be a regular user
+ #10: Keith Hizal (kah0922) (2017-09-20 17:09:30)
+ In the end xhost +SI:localuser:root is just a workaround and not a long
+ term solution. With Wayland not budging on running GUI apps as root, it
+ probably will be necessary run yast as a normal user and ask for the
+ root password once changes are made (possibly using polkit).
--
openSUSE Feature:
https://features.opensuse.org/322297