[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux] Re: X et ssh



Pour executer des programmes X ca marche:
SSH gere automatiquement le X forwarding, il utilise un faux X server qui envoie le trafic vers une connection securisee. Pas facile a expliquer en deux lignes. voir la doc ssh ...
exemple:
vincent@debian:~$ echo $DISPLAY
:0.0
vincent@debian:~$ ssh -X epl3ux2
vincent@ux2.bc's password:
Last login: Thu Oct 11 14:26:34 2001 from on pts/1
Linux ux2 2.2.19 #7 SMP Fri May 4 14:28:25 CEST 2001 i686 unknown
Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/doc/*/copyright
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
vincent@ux2:~$ echo $DISPLAY
ux2:11.0
vincent@ux2:~$ xeyes &
[1] 24877
vincent@ux2:~$ ~?
Supported escape sequences:
~. - terminate connection
~^Z - suspend ssh
~# - list forwarded connections
~& - background ssh (when waiting for connections to terminate)
~? - this message
~~ - send the escape character by typing it twice
(Note that escapes are only recognized immediately after newline.)
vincent@ux2:~$ ~& [backgrounded]
vincent@debian:~$ logout
Waiting for forwarded connections to terminate...
The following connections are open:
#1 X11 connection from ux2.bc port 3332 (t4 r0 i1/0 o16/0)
vincent@debian:~$

Mais pour xdmcp , je ne sais pas comment faire ...


Gonay Benjamin writes:


!! Je suis curieux de savoir aussi... X fonctionne avec des ports dans
les 6000 et ssh sur le 22 ! Je ne sais pas si c'est faisable. Et le HOWTO de
X, il en parle ?
Benjamin
On Thu, 11 Oct 2001 vincent@namurlug.org wrote:

comment excuter une connection xdmcp via ssh ?
soit
X :1 -query server
via ssh ?

Merci
[ Soyez précis dans vos sujets svp afin de déterminer directement ]
[ le type de demande... ]
[ Pour vous (dés)inscrire, aller sur http://unixtech.be/ml.php ]
[ Archives de la mailing list: http://archives.unixtech.be/linux/ ]
[ http://unixtech.be Contact: listmaster@unixtech.be ]

Cybersalutations
Benjamin Gonay

[ Soyez précis dans vos sujets svp afin de déterminer directement ]
[ le type de demande... ]
[ Pour vous (dés)inscrire, aller sur http://unixtech.be/ml.php ]
[ Archives de la mailing list: http://archives.unixtech.be/linux/ ]
[ http://unixtech.be Contact: listmaster@unixtech.be ]

[ Soyez précis dans vos sujets svp afin de déterminer directement  ]
[ le type de demande...                                            ]
[ Pour vous (dés)inscrire, aller sur http://unixtech.be/ml.php     ]
[ Archives de la mailing list: http://archives.unixtech.be/linux/  ]
[ http://unixtech.be              Contact: listmaster@unixtech.be  ]