Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1602 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  Demarrer session X via SSH c possible ?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Demarrer session X via SSH c possible ?

n°109284
benwar
Posté le 05-06-2002 à 12:20:41  profilanswer
 

Tout est dans le sujet.
 
Merci

mood
Publicité
Posté le 05-06-2002 à 12:20:41  profilanswer
 

n°109321
Mr YouP
-- le crayon et le clavier --
Posté le 05-06-2002 à 13:43:25  profilanswer
 

Pour lancer une session X, je sais pas mais si tu veux faire afficher les fenêtres sur ton ordi distant, il faut repositionner la variable d'environnement DISPLAY.
 
exemple :
ssh IP_distant
 
setenv DISPLAY monIP:0
nom_du_logiciel
 
et hop ça s'affiche !!

n°109324
GUG
Posté le 05-06-2002 à 13:46:40  profilanswer
 

et aussi l authorise ds /etc/sshd_config  si je me rappelle bien

n°109370
benwar
Posté le 05-06-2002 à 15:38:44  profilanswer
 

chui vraiment un newbies un peut ^plus d'explication son les bienvenue

n°109376
YupYup
Non.
Posté le 05-06-2002 à 15:45:30  profilanswer
 

Code :
  1. X11 and TCP forwarding
  2.      If the ForwardX11 variable is set to ``yes'' (or, see the description of
  3.      the -X and -x options described later) and the user is using X11 (the
  4.      DISPLAY environment variable is set), the connection to the X11 display
  5.      is automatically forwarded to the remote side in such a way that any X11
  6.      programs started from the shell (or command) will go through the
  7.      encrypted channel, and the connection to the real X server will be made
  8.      from the local machine.  The user should not manually set DISPLAY.  For­
  9.      warding of X11 connections can be configured on the command line or in
  10.      configuration files.
  11.      The DISPLAY value set by ssh will point to the server machine, but with a
  12.      display number greater than zero.  This is normal, and happens because
  13.      ssh creates a ``proxy'' X server on the server machine for forwarding the
  14.      connections over the encrypted channel.
  15.      ssh will also automatically set up Xauthority data on the server machine.
  16.      For this purpose, it will generate a random authorization cookie, store
  17.      it in Xauthority on the server, and verify that any forwarded connections
  18.      carry this cookie and replace it by the real cookie when the connection
  19.      is opened.  The real authentication cookie is never sent to the server
  20.      machine (and no cookies are sent in the plain).
  21.      If the user is using an authentication agent, the connection to the agent
  22.      is automatically forwarded to the remote side unless disabled on the com­
  23.      mand line or in a configuration file.
  24.      Forwarding of arbitrary TCP/IP connections over the secure channel can be
  25.      specified either on the command line or in a configuration file.  One
  26.      possible application of TCP/IP forwarding is a secure connection to an
  27.      electronic purse; another is going through firewalls.


rtfm.


---------------
"The marketing guys said the HP-35 would be a failure because it was too small, and then we couldn't make them fast enough to meet the demand. The marketing folks don't know everything." - Bill Hewlett
n°109418
Mr YouP
-- le crayon et le clavier --
Posté le 05-06-2002 à 17:20:19  profilanswer
 

ben un peu plus d'explication c'est dur !
tu tape ce que j'ai écrit et ça marche ...  
 
DISPLAY est la variable d'environnement qui lui dit où afficher les fenêtres, a partir du moment où tu lui dit de l'afficher sur la machine cliente, il le fait
 
aller un exemple avec des @ ip
 
ssh 192.192.168.1
user:toto
password:
setenv DISPLAY 192.192.168.2:0
konqueror
 
.. et là konqueror s'affiche sur la machine 192.192.168.2
 
c'est beau ...


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  Demarrer session X via SSH c possible ?

 

Sujets relatifs
[SSH] Connection impossible ?![MP3] lecteur mp3 le + léger possible
Glide, possible sans 3DFX ? - Dark SchneiderSSH windows/linux
Virer le password root c'est possible ?multiboot RedHat 7.3 et Mandrake 8.2 sur un hd partitionné; possible ?
divx box sous linux, c'est possible???Est-ce possible? Administration par email??
[licq] Ca veut pas démarrer ! 
Plus de sujets relatifs à : Demarrer session X via SSH c possible ?


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR