Obtenez un affichage x distant fonctionnant sous Linux sans tunneling ssh


1

Je dois obtenir une fenêtre x pour afficher sur 'nathanb-box' à partir de 'ceres' sans tunnel X sur ssh.

[nathanb@nathanb-box ~] xhost +ceres
ceres being added to access control list
[nathanb@nathanb-box ~] xhost +ceres.foo.com
ceres.foo.com being added to access control list
[nathanb@nathanb-box ~] echo $DISPLAY
:0.0
[nathanb@nathanb-box ~] xauth list | grep nathanb
nathanb-box.foo.com:0  MIT-MAGIC-COOKIE-1  a27ad72172460013c07e3a31b0d7d6da

Sur ceres ...

[nathanb@ceres ~] export DISPLAY=nathanb-box.foo.com:0.0
[nathanb@ceres ~] xauth list | grep nathanb
nathanb-box.foo.com:0  MIT-MAGIC-COOKIE-1  a27ad72172460013c07e3a31b0d7d6da
[nathanb@ceres ~] xterm
xterm Xt error: Can't open display: nathanb-box.foo.com:0.0

Qu'est-ce que je rate?

Merci Nathan

Réponses:


1

Il s'avère que X a été démarré avec -nolisten tcp. J'ai enlevé "-nolisten tcp" de

/ etc / X11 / xinit / xserverrc

et cela fonctionne comme un charme.


dans ce cas, vous pourriez envisager de clore la question
— DaveParillo

S'il vous plaît élaborer sur la solution. Ce que vous avez fourni n'est que la confirmation que vous l'avez corrigé.
— robertmoggach
En utilisant notre site, vous reconnaissez avoir lu et compris notre politique liée aux cookies et notre politique de confidentialité.
Licensed under cc by-sa 3.0 with attribution required.