Re: running some X11-Applications with sudo under GNOME/Wayland fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6 March 2017 at 14:20, Martin Bříza <mbriza@xxxxxxxxxx> wrote:
> On Mon, 06 Mar 2017 11:13:59 +0100, Joachim Backes
> <joachim.backes@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux