On 09/17/17 17:30, Patrick Dupre wrote:
> When I run /usr/bin/gnome-terminal under fc26 (it was fine in fc24)
> from a gnome-terminal I get:
>
> Unable to init server: Could not connect: Connection refused
> Failed to parse arguments: Cannot open display: 
>
> Can I avoid the error ?


You never give sufficient details for anyone to be of much help.

You don't say how your are starting it or the environment.  But you are 
apparently
starting it from a session which has no connection to a DISPLAY.

Example....

[egreshko@meimei ~]$ env | grep DISPLAY
DISPLAY=:0

[egreshko@meimei ~]$ /usr/bin/gnome-terminal
[egreshko@meimei ~]$ echo $?
0

Starts just fine...

[egreshko@meimei ~]$ ssh meimei
Last login: Sun Sep 17 18:29:10 2017 from 192.168.1.18

[egreshko@meimei ~]$ env | grep DISPLAY
[egreshko@meimei ~]$

Nothing returned....

[egreshko@meimei ~]$ /usr/bin/gnome-terminal
Unable to init server: Could not connect: Connection refused
Failed to parse arguments: Cannot open display:
[egreshko@meimei ~]$ echo $?
1

Totally expected.

-- 
Fedora Users List - The place to go to speculate endlessly

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to