https://bugzilla.gnome.org/show_bug.cgi?id=772875
--- Comment #7 from thebunnyrules <[email protected]> ---
(In reply to Matthias Clasen from comment #1)
> Not a bug, per se. Running graphical applications as root in this way is not
> the recommended way to go about things.
>
> If you insist,
> XDG_RUNTIME_DIR=/run/user/$PID gedit
> will work as root
Hello Matthias, this doesn't seem to work under Wayland, it gives the following
error:
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect:
Connection refused
(gedit:2228): Gtk-WARNING **: cannot open display: :0
I'm guessing that's due to Wayland's security restrictions.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs