[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: running some X11-Applications with sudo under GNOME/Wayland fails
From:       Martin Bříza <mbriza () redhat ! com>
Date:       2017-03-06 12:20:06
Message-ID: op.ywohvsk6trc8xl () dhcp-4-209 ! brq ! redhat ! com
[Download RAW message or body]

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:
>
> 1. 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
>
> 2. 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.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic