On 8/6/2018 12:57 PM, PeterPall wrote:
> This isn't a bug but a major feature of wayland: If you have root rights
> you no more get access to the graphical user interface which makes it
> harder for a gui application to spy on another application's keyboard
> input. The backdraw of this is that every application that needs root
> rights for its work has to be re-written to have 2 parts:
No Peter, this is incorrect. Wayland is just fine with programs running
as root. The bug is in gdm3 which is supposed to generate an Xorg
configuration that sets up XAUTHORITY. Instead when it configures the
Xwayland X11 compatibility server, it configures it to check UID instead
of using XAUTHORITY. The result is that X11 apps running as root fail
to work, but native Wayland/GTK3 applications run as root work just fine.
On 8/6/2018 12:57 PM, PeterPall wrote:
> This isn't a bug but a major feature of wayland: If you have root rights
> you no more get access to the graphical user interface which makes it
> harder for a gui application to spy on another application's keyboard
> input. The backdraw of this is that every application that needs root
> rights for its work has to be re-written to have 2 parts:
No Peter, this is incorrect. Wayland is just fine with programs running
as root. The bug is in gdm3 which is supposed to generate an Xorg
configuration that sets up XAUTHORITY. Instead when it configures the
Xwayland X11 compatibility server, it configures it to check UID instead
of using XAUTHORITY. The result is that X11 apps running as root fail
to work, but native Wayland/GTK3 applications run as root work just fine.