User Tools

Site Tools


it_tips:xwindowswithmswindows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
it_tips:xwindowswithmswindows [2014/03/27 12:23]
florido created
it_tips:xwindowswithmswindows [2014/03/28 09:55] (current)
florido
Line 3: Line 3:
 X Windows, or X.Org, is the graphical system widely used by GNU/Linux and UNIX Operating Systems. X Windows, or X.Org, is the graphical system widely used by GNU/Linux and UNIX Operating Systems.
  
-Usually Linux machines and Apple OSX have a native system that would allow a client to remotely login and execute X.Org programs on her own machine. Unfortunately this is not the case for MicroSoft Windows (also called MS Windows in this document); one needs to install additional software for remote applications to open windows in the Microsoft graphical environment.+Usually Linux machines and Apple OSX have a native system that would allow a client to remotely login and execute X.Org programs on her own machine. 
 + 
 +Unfortunately this is not the case for MicroSoft Windows (also called MS Windows in this document); one needs to install additional software for remote applications to open windows in the Microsoft graphical environment.
  
 There are plenty of software out there, the mostly used being: There are plenty of software out there, the mostly used being:
  
- * Xming: http://​sourceforge.net/​projects/​xming/​ +  ​* Xming: http://​sourceforge.net/​projects/​xming/​ 
- * VcXsrv: http://​sourceforge.net/​projects/​vcxsrv/​+  * **VcXsrv**: http://​sourceforge.net/​projects/​vcxsrv/​
  
-I used to use Xming, but has been reported to have some quirks with newer versions of windows, so I investigated some new ones and I am now using VcXsrv.+I used to use Xming, but has been reported to have some quirks with newer versions of windows, so I investigated some new ones and I am now using **VcXsrv**.
  
 This page will show how to use this software together with another well known remote access This page will show how to use this software together with another well known remote access
Line 17: Line 19:
 ==== Understanding the concept ==== ==== Understanding the concept ====
  
-A typical remote access from MS Windows to some X-Windows enabled server will include:+A typical remote access from MS Windows to some X-Windows enabled server ​(i.e. running Linux or UNIX) will include:
  
   - Starting the X server on the MS Windows machine;   - Starting the X server on the MS Windows machine;
Line 24: Line 26:
   - Locally working on a window generated by the remote X client interacting with the local X server.   - Locally working on a window generated by the remote X client interacting with the local X server.
  
-==== Installation of VcXsrv ====+==== 1) Installation ​and start of VcXsrv ==== 
 + 
 +  - Download and install VcXsrv from http://​sourceforge.net/​projects/​vcxsrv/​ . If asked, leave the default settings. 
 +  - Two shortcuts on the desktop will be created. Double click on the //XLaunch// icon {{:​it_tips:​xlaunchicon.png?​46}} . You can change the settings if you know what they are about, otherwise just press next on every question. At the end of the process the XServer will be started, and you should be able to see this icon in the toolbar: {{http://​en.opensuse.org/​images/​thumb/​2/​2b/​X.Org_Logo.png/​120px-X.Org_Logo.png?​30x30}} 
 +  - From now on, everytime you need to start the Xserver you can just click on the VcXsrv icon {{:​it_tips:​vcxsrvicon.png?​46}}. 
 + 
 +==== 2) Install PuTTY and configure X forwarding ==== 
 + 
 +  - Download PuTTY from http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​download.html , and save it on your desktop. 
 +  - Double click on the putty icon {{http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​putty.ico?​30x30}} 
 +  - In the form that shows up, insert: 
 +    - the name of the server you want to connect; 
 +    - a nickname for the connection; {{ :​it_tips:​puttysession.png |}} 
 +  - On the left list,expand //​Connection//​ → //SSH// → //X11// 
 +    - Click on "​Enable X11 forwarding"​ {{ :​it_tips:​puttyforward.png |}} 
 +  - Go back to the //Session// panel and click "​Save"​ {{ :​it_tips:​puttysessionsave.png |}} 
 +  - Click on "​open"​ {{ :​it_tips:​puttyconnect.png |}} 
 +  - Login with username and password to the server.
  
 +==== 3) Test X forwarding ====
  
 +Once you're logged in, try to run some visual program, like ''​emacs''​. The result should be like in the picture below. A window should pop-up with the program you executed remotely.
 +{{ :​it_tips:​emacsopen.png |}}
  
 ==== References ==== ==== References ====
  
- * X.Org: http://​www.x.org/​wiki/​ +  ​* X.Org: http://​www.x.org/​wiki/​ 
- * Xming: http://​sourceforge.net/​projects/​xming/​ +  * Xming: http://​sourceforge.net/​projects/​xming/​ 
- * VcXsrv: http://​sourceforge.net/​projects/​vcxsrv/​ +  * VcXsrv: http://​sourceforge.net/​projects/​vcxsrv/​ 
- * Putty: http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​download.html+  * Putty: http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​download.html
it_tips/xwindowswithmswindows.1395919385.txt.gz · Last modified: 2014/03/27 12:23 by florido