User Tools

Site Tools


it_tips:xwindowswithmswindows

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
it_tips:xwindowswithmswindows [2014/03/27 19:02]
florido [Test X forwarding]
it_tips:xwindowswithmswindows [2020/08/20 16:55] (current)
florido [3) Test X forwarding]
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
 software, Putty. software, Putty.
 +
 +If you want a non open-source version but very user friendly, without the need for PuTTY, have a look at
 +  * https://​mobaxterm.mobatek.net/​
 +    * :!: The license is only for personal use and cannot be installed in University machines by administrators,​ but you can install it in your user space if you know how to do it.
  
 ==== Understanding the concept ==== ==== Understanding the concept ====
Line 27: Line 33:
  
   - Download and install VcXsrv from http://​sourceforge.net/​projects/​vcxsrv/​ . If asked, leave the default settings.   - 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. 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}} +  - Two shortcuts on the desktop will be created. Double click on the //XLaunch// icon {{:​it_tips:​xlaunchicon.png?​46| Xlaunch icon}} ​. 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| XLaunch icon in toolbar}} 
-  - From now on, everytime you need to start the Xserver you can just click on the VcXsrv icon.+  - From now on, everytime you need to start the Xserver you can just click on the VcXsrv icon {{:​it_tips:​vcxsrvicon.png?​46| Xlaunch icon }}.
  
 ==== 2) Install PuTTY and configure X forwarding ==== ==== 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.   - 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}}+  - Double click on the putty icon {{http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​putty.ico?​30x30|PuTTY icon}}
   - In the form that shows up, insert:   - In the form that shows up, insert:
     - the name of the server you want to connect;     - the name of the server you want to connect;
-    - a nickname for the connection;+    - a nickname for the connection; ​{{ :​it_tips:​puttysession.png |PuTTY connection configuration}}
   - On the left list,expand //​Connection//​ → //SSH// → //X11//   - On the left list,expand //​Connection//​ → //SSH// → //X11//
-    - Click on "​Enable X11 forwarding"​ +    - Click on "​Enable X11 forwarding" ​{{ :​it_tips:​puttyforward.png |Enable X forwarding in PuTTY}} 
-  - Go back to the //Session// panel and click "​Save"​ +  - Go back to the //Session// panel and click "​Save" ​{{ :​it_tips:​puttysessionsave.png |Save a session configuration in PuTTY}} 
-  - Click on "​open"​+  - Click on "​open" ​{{ :​it_tips:​puttyconnect.png |Start a PuTTY connection}}
   - Login with username and password to the server.   - Login with username and password to the server.
  
Line 46: Line 52:
  
 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. 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 | Example of a desktop with working Xserver and Emacs open remotely}}
 +
 ==== 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 
 +  * MobaXterm: https://​mobaxterm.mobatek.net/​
it_tips/xwindowswithmswindows.1395946939.txt.gz · Last modified: 2014/03/27 19:02 by florido

Accessibility Statement