View previous topic :: View next topic |
Author |
Message |
USTruck Guru
Joined: 21 Aug 2005 Posts: 423 Location: La Louviere (Belgique)
|
Posted: Fri Mar 28, 2014 11:19 am Post subject: |
|
|
J'ai trouver ca comme info ....
--------------------------
Cygwin/X can do a lot, including giving you a nice xterm for your Windows-to-linux ssh sessions.
But you’d think it would be easier…
Install cygwin, including…
Shells: bash (included by default)
X11: xorg-x11-xwin: Cygwin/X X server
Net: openssh: The OpenSSH server and client programs
Add [C:\cygwin\bin;C:\cygwin\usr\X11R6\bin] to your Windows PATH env variable
Make some batch files, one for each machine to which you want to connect. Here’s an example:
@echo off
SET DISPLAY=127.0.0.1:0.0
SET CYGWIN_ROOT=\cygwin
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/X11R6/bin
SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%
SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt
SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
SET XNLSPATH=/usr/X11R6/lib/X11/locale
c:
cd C:\cygwin\usr\X11R6\bin
%RUN% xterm -e 'ssh user@machine'
----------------------------
sur base d'une autre info : ssh -X -l utilisateurdistant nom_serveur_distant fluxbox
la commande %RIUN est a compléter avec fluxbox ....
-------------------------------
Sinon comme le rappelle xavier miller : Le protocole X est très lourd en réseau, pour déporter il y a beaucoup mieux et plus léger, et permettant d’exporter un desktop complet : NX (net-misc/nx) Il y a un client pour windows
Beaucoup de forum parle de NX .... a toi de voir
Bonne chance |
|
Back to top |
|
|
olivanto n00b
Joined: 24 Mar 2014 Posts: 20
|
Posted: Wed Apr 02, 2014 1:12 pm Post subject: |
|
|
oui vous avez certainement raison. D'ailleurs je ne m'en sort pas avec cygwin.... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|