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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to