[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:       Ahmad Samir <ahmadsamir3891 () gmail ! com>
Date:       2017-03-06 14:58:55
Message-ID: CAJmd+xp7ea6e7ud7rowjJ70B__uvu2VvLUSH-+hnQmfXyfXEaQ () mail ! gmail ! com
[Download RAW message or body]

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:
>>
>> 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.
>

Exactly; and for more details have a look at:
https://bugzilla.redhat.com/show_bug.cgi?id=1274451

-- 
Ahmad Samir
_______________________________________________
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