Problème de FreeNX

Je viens juste de perdre plusieurs heures à essayer de faire fonctionner un serveur FreeNX, avec sans-cesse cette erreur :

Cannot establish any listening sockets - Make sure an X server isn't already running

Pas très explicite ni très utile, et une recherche retournait beaucoup de résultas de personnes avec le même problème. La solution est simple, bien que presque impossible à trouver :

mkdir /tmp/.X11-unix
chmod 1777 /tmp/.X11-unix

Frustrant. Ensuite, tout fonctionne. NX a clairement besoin de ce répertoire :

[root@vdesktop01 ~]# lsof -n | grep /tmp/.X11-unix
nxagent 3522 user 0u unix 0xffff88003519fa40 6406 /tmp/.X11-unix/X1001
nxagent 3522 user 8u unix 0xffff8800359888c0 6432 /tmp/.X11-unix/X1001
nxagent 3522 user 12u unix 0xffff880032439c40 6660 /tmp/.X11-unix/X1001
nxagent 3522 user 13u unix 0xffff88003519e440 6686 /tmp/.X11-unix/X1001
nxagent 3522 user 14u unix 0xffff8800324380c0 6787 /tmp/.X11-unix/X1001
nxagent 3522 user 15u unix 0xffff88003151d3c0 6809 /tmp/.X11-unix/X1001
nxagent 3522 user 16u unix 0xffff880030f6c640 6940 /tmp/.X11-unix/X1001
nxagent 3522 user 17u unix 0xffff8800309ccc00 6967 /tmp/.X11-unix/X1001
nxagent 3522 user 18u unix 0xffff880030442140 7024 /tmp/.X11-unix/X1001
nxagent 3522 user 19u unix 0xffff8800343c0600 7043 /tmp/.X11-unix/X1001
nxagent 3522 user 20u unix 0xffff8800340080c0 7072 /tmp/.X11-unix/X1001
nxagent 3522 user 21u unix 0xffff880030384680 7178 /tmp/.X11-unix/X1001

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *