En fait je viens de résoudre le problème :-D. Le fait de ne pas pouvoir pinguer le localhost fut très intrigant. Cela m'a mis la puce à l'oreille. J'ai effectué une recherche sur google je tombe par hasard sur ce lien
https://scottlinux.com/2012/06/09/cant-ping-localhost-in-linux/ et je vois qu'il faut éditer le fichier /etc/nsswitch.conf : je n'ai pas bien compris à quoi il sert et il n'existe pas par défaut sur fedora 21).
[root@localhost .ssh]# chmod 644 /etc/nsswitch.conf
Lui attribuer les bons droits
[root@localhost .ssh]# cat /etc/nsswitch.conf
hosts: files dns
[root@localhost .ssh]# /etc/init.d/network restart
Restarting network (via systemctl): [ OK ]
[root@localhost .ssh]# ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.049 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.049 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.039 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.022 ms
64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.038 ms
^C
--- localhost ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.022/0.039/0.049/0.011 ms
Le ping répond pour le localhost. La session X2go s'ouvre normalement
Ouf, Merci Heldwin et fgland, :-P
Le sujet est en résolu. J'espère que cela aidera.
Post résolu