Quand je SSH à une boîte distante
$ ssh -X remotebox
puis lancez Firefox sur la boîte distante
remotebox$ firefox
et j'ai Firefox exécuté sur mon ordinateur local, une fenêtre firefox locale s'ouvrira. aucun processus firefox ne s'exécute sur la boîte distante.
Si firefox ne fonctionne pas sur mon ordinateur local, une fenêtre firefox distante s’ouvrira.
Pourquoi ouvre-t-il une fenêtre firefox locale? Comment puis-je empêcher cela?
Voici quelques informations supplémentaires sur mon système local.
Linux lesmana-laptop 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:24:04 UTC 2010 i686 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
DISPLAY=:0.0
Mozilla Firefox 3.6.8, Copyright (c) 1998 - 2010 mozilla.org
Informations de remotebox.
Linux dxray 2.6.22.19-0.4-default #1 SMP 2009-08-14 02:09:16 +0200 x86_64 x86_64 x86_64 GNU/Linux
LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64:desktop-3.1-amd64:desktop-3.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch
Distributor ID: SUSE LINUX
Description: openSUSE 10.3 (X86-64)
Release: 10.3
Codename: n/a
DISPLAY=localhost:15.0
Mozilla Firefox 3.0.14, Copyright (c) 1998 - 2009 mozilla.org
La commande suivante lance une session firefox à distance avec une fenêtre firefox distante.
remotebox$ firefox -no-remote
La commande suivante produit un bref délai, puis revient à l'invite et une fenêtre firefox locale apparaît. Aucun processus firefox ne s'exécute sur la remotebox.
remotebox$ firefox
Informations de remotebox2.
Linux marvin 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 00:22:23 UTC 2010 i686 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
DISPLAY=localhost:11.0
Mozilla Firefox 3.6.8, Copyright (c) 1998 - 2010 mozilla.org
La commande suivante sur remotebox2 démarre une session firefox à distance comme prévu.
remotebox2$ firefox
Je ne sais pas pourquoi firefox sur remotebox2 démarre une session à distance au lieu d’une session locale.