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

Link to this comparison view

xserver [2013/07/04 08:45] (current)
Line 1: Line 1:
 +====== X-Server connection and configuration for Windows ======
 +The following steps show you how to install a (free) implementation of a working [[wp>​X_Window_System|X-Server]] on Windows.
 +===== X Server =====
 +To work with GUIs on remote systems, you need a working [[wp>​X_Window_System|X-Server]] on your windows system. On older windows systems, you can use the [[http://​xlivecd.indiana.edu/​|X Live CD]]. The X Live CD doesn'​t work on newer windows systems (including Windows 7), for those systems the easiest way to connect to remote *NIX servers is by installing the [[http://​www.straightrunning.com/​XmingNotes/​|Xming X Server for Windows]].
 +To do this, go to its [[http://​sourceforge.net/​projects/​xming/​|sourceforge site]] and get at least "​Xming-...-setup.exe"​. Additionally,​ you can also download and install the "​Xming-fonts-...-setup.exe",​ which will install a set of fonts so everything will look nice.
 +When you start the X-Server after installation,​ you should have a little Xming icon in your tray (as shown here: {{:​xserver.xming_tray.png|xming tray icon}}). This is all you need for this step.
 +===== PuTTY =====
 +To actually connect to a remote server, [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​|PuTTY]] works wonderful.
 +Go to its [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​download.html|download page]], download the "​Windows installer for everything except PuTTYtel"​ which is currently "​putty-0.60-installer.exe"​.
 +After installation and startup of PuTTY, you'll see its configuration window (shown below)
 +{{:​xserver.putty.png|putty configuration window}}
 +In this configuration window, you can add the correct [[ips_and_adresses|IP or address]] of the computer you want to connect to. Then you NEED to enable X11 forwarding for the selected session. Then it's probably best to save the session, so you don't have to configure it from scratch every time you connect.
 +===== Result =====
 +The little screencast below shows the configuration and usage of the Xming/​PuTTY-combination for our [[microCT]] from start to end:
 +<object id="​scPlayer"​ class="​embeddedObject"​ width="​613"​ height="​559"​ type="​application/​x-shockwave-flash"​ data="​http://​content.screencast.com/​users/​haberthuer/​folders/​Jing/​media/​e1921bfd-75a0-4fd6-afd3-53ab548202f0/​jingswfplayer.swf"​ > <param name="​movie"​ value="​http://​content.screencast.com/​users/​haberthuer/​folders/​Jing/​media/​e1921bfd-75a0-4fd6-afd3-53ab548202f0/​jingswfplayer.swf"​ /> <param name="​quality"​ value="​high"​ /> <param name="​bgcolor"​ value="#​FFFFFF"​ /> <param name="​flashVars"​ value="​thumb=http://​content.screencast.com/​users/​haberthuer/​folders/​Jing/​media/​e1921bfd-75a0-4fd6-afd3-53ab548202f0/​FirstFrame.jpg&​containerwidth=613&​containerheight=559&​content=http://​content.screencast.com/​users/​haberthuer/​folders/​Jing/​media/​e1921bfd-75a0-4fd6-afd3-53ab548202f0/​2010-10-26_1540.swf&​blurover=false"​ /> <param name="​allowFullScreen"​ value="​true"​ /> <param name="​scale"​ value="​showall"​ /> <param name="​allowScriptAccess"​ value="​always"​ /> <param name="​base"​ value="​http://​content.screencast.com/​users/​haberthuer/​folders/​Jing/​media/​e1921bfd-75a0-4fd6-afd3-53ab548202f0/"​ /> Unable to display content. Adobe Flash is required.</​object>​
 +So, to connect to and work on a remote system in future, you need to 
 +  * start Xming
 +  * start PuTTY and connect to one of your saved sessions
 +  * enter commands and stuff in the terminal window inside PuTTY
 +====== X-Server connection and configuration for Mac ======
 +Use the X11 terminal for SSH-Connections. X11 comes pre-installed on any newer Mac, if you don't have it, you can use the original Installation DVD or download a recent release from the [[http://​xquartz.macosforge.org/​trac/​wiki|X11 homepage]].
 +If your connections actually need the X-Server, you need to use the flag "​-X"​ in the SSH command, so start a connection by issuing ​
 +  ssh -X haberthuer@slslc05.psi.ch
 +and the X Server will forward you any windows to your desktop.
 +====== X-Server connection and configuration for Linux ======
 +Why are you here? You already have everything under the hood. Just remember to use the "​-X"​-flag for the relevant connections.