Bonjour à tous,
j’aimerai lancer d’une machine distante (qui s’appelle hp) un session X qui tournerait sur une autre s’appelant “proto”. j’ai tout d’abord pensé à ssh -X mono@proto, je bataille depuis des heures sans succes.
Voici les modif des fichiers de conf de ssh et sshd comme expliqué dans le manuel (je l’ai fait aux 2 machines au cas ou;)
/etc/ssh/sshd_conf
…
StrictModes yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
X11UseLocalhost yes
PrintLastLog no
KeepAlive yes
…
/etc/ssh/ssh_config
Host *
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
RhostsRSAAuthentication no
RSAAuthentication yes
PasswordAuthentication yes
HostbasedAuthentication no
BatchMode no
CheckHostIP yes
AddressFamily any
ConnectTimeout 0
StrictHostKeyChecking ask
IdentityFile ~/.ssh/identity
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_dsa
Port 22
Protocol 2,1
Cipher 3des
…
et Cependant voila ce que j’obtiens:
root@4[eric]# ssh -X mono@proto
Password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Linux proto 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Nov 10 14:03:53 2005
mono@proto:~$ xterm
Xlib: connection to “localhost:12.0” refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xterm Xt error: Can’t open display: localhost:12.0
mono@proto:~$ echo $DISPLAY
localhost:12.0
mono@proto:~$
Comment faire?
j’ai essayé de faire du l’export display mais sans succés
Quelqu’un aurait il une idée