Hi,

The cause of this problem is with how the X server is started by the gnome 
session (or to my knowledge all current wayland compositors).

Usually the xorg-xserver will have a magic cookie file somewhere protected by 
the unix user permissions that can be used to gain access to the server.
This file can be read by root, and therefore GUI applications started as root 
(whether that's sane or not) can connect to the users' X session.

Wayland compositors do not tell the Xwayland x11 server to use this mechanism, 
and therefore don't allow connecting via this method.

It is possible to allow it with `xhost +local:root`, but has the usual X 
security prolems.

Cheers,
ongy

Attachment: signature.asc
Description: PGP signature

Reply via email to