On 6 March 2017 at 14:20, Martin Bříza mbriza@redhat.com wrote:
On Mon, 06 Mar 2017 11:13:59 +0100, Joachim Backes joachim.backes@rhrk.uni-kl.de wrote:
Hi,
seeing coincidentally that some X11 applications with sudo under GNOME/Wayland will fail:
For example:
- sudo xterm
No protocol specified Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm: Xt error: Can't open display: %s
- sudo gnome-terminal
No protocol specified Unable to init server: Could not connect: Connection refused Failed to parse arguments: Cannot open display:
Running the same under Gnome/Xorg executes properly.
Anybody sees this too?
Kind regards
Joachim Backes
It's not possible to run wayland clients as root.
Exactly; and for more details have a look at: https://bugzilla.redhat.com/show_bug.cgi?id=1274451