#1 Le 27/04/2015, à 09:38
- kboo
Session X11: Serveur Linux avec un Client Mac
Bonjour,
Côté serveur, c'est le Linux avec sshd qui fonctionne bien en ligne de commande, j'ai ceci en config:
AddressFamily inet
XauthLocation /opt/X11/bin/xauth
X11Forwarding yes
X11DisplayOffset 10
Côté Client: c'est un mac, j'ai xQuartz qui fonctionne et l'on peut lancer des applications comme xeyes.
j'aimerai ouvrir quelques fenêtre à travers ssh sur un mac... mais voilà ce que j'obtiens:
...
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0p1 Debian-4+deb7u2
debug1: match: OpenSSH_6.0p1 Debian-4+deb7u2 pat OpenSSH*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA YY:XX:YY:XX:YY:XX:YY:XX:YY:XX:YY:XX:YY:XX:YY:XX
debug1: Host 'vps56102.ovh.net' is known and matches the RSA host key.
debug1: Found key in /Users/XXX/.ssh/known_hosts:14
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/XXX/.ssh/id_rsa
debug1: Trying private key: /Users/XXX/.ssh/id_dsa
debug1: Next authentication method: password
XXX@XXXXXXXXXXXX's password:
debug1: Authentication succeeded (password).
Authenticated to XXXXXXXXXXXXX ([XX.XX.XX.XX]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Remote: No xauth program; cannot forward with spoofing.
X11 forwarding request failed on channel 0
Linux XXXXXXX 2.6.32-042stab106.4 #1 SMP Fri Mar 27 15:19:28 MSK 2015 x86_64
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: Mon Apr 27 10:06:22 2015 from xxxxxxxxxxxxxxxxxxxxxxx
...
Le problème a l'air de venir de ça mais je ne sais pas comment corriger le problème:
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Remote: No xauth program; cannot forward with spoofing.
Comment faire ...
merci d'avance pour votre aide !!
Dernière modification par kboo (Le 27/04/2015, à 10:58)
Hors ligne
#2 Le 29/04/2015, à 15:45
- tiramiseb
Re : Session X11: Serveur Linux avec un Client Mac
Salut,
Peut-être :
sudo apt-get install xauth
Sébastien Maccagnoni - https://www.maccagnoni.eu - https://www.domotego.com
Hors ligne
#3 Le 29/04/2015, à 17:30
- kboo
Re : Session X11: Serveur Linux avec un Client Mac
Merci pour l'idée qui m'avait l'air bonne,
voici ce que cela donne:
xauth is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
any help?
Hors ligne
#4 Le 29/04/2015, à 17:35
- tiramiseb
Re : Session X11: Serveur Linux avec un Client Mac
Zut. Peut-être la même approche côté OS X alors ?
Sinon, je n'ai pas d'autre idée...
Sébastien Maccagnoni - https://www.maccagnoni.eu - https://www.domotego.com
Hors ligne