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

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

 



On Monday, March 6, 2017 11:13:59 AM CET Joachim Backes 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

Hey Joachim,

Could you supply us with some more information, like:
 - The output of `echo $DISPLAY`
 - Verbose output of you're display manager
 - The version of the software you are using(Gnome, xorg and gdm)

Can you also answer a few extra questions such as:
 - Are you running the program from a vtty or a terminal inside your desktop 
environment(If yes what terminal are you using?)
 - Can you supply us with a list of the applications that do not work and 
could you also try running them trough `gnome-do`?

I will await your answer.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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