Changes

From SME Server
Jump to navigationJump to search
1,254 bytes added ,  02:22, 24 August 2007
no edit summary
Line 1: Line 1: −
{{Incomplete}}
+
'''X11 Forwarding with SSH''' is a feature which allows windows of a remotely started (X11) application to be shown on your own (PC) desktop.
   −
{{Note box|Due to a database error the contents of this page has been lost (see also [[Bugzilla:3327]]), it would be nice if the contributor of this page could recreate it's page.}}
+
It is typically used with an SSH client like [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY]and a X11 Server like [http://www.straightrunning.com/XmingNotes Xming] installed on the PC.
 +
 
 +
You find more information about configuring PuTTY and Xming in the External Links section below.
 +
 
 +
X11 forwarinf is normally disabled on SME server. To enable X11 forwarding, execute the following commands:
 +
 
 +
mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config/
 +
cd      /etc/e-smith/templates-custom/etc/ssh/sshd_config/
 +
echo X11Forwarding yes    > 50X11Forwarding
 +
echo X11UseLocalhost yes  > 50X11UseLocalhost
 +
expand-template /etc/ssh/sshd_config
 +
 
 +
Next we need to install the xath package (from the base repository, so this should be enabled by default):
 +
 
 +
yum install xauth
 +
 
 +
The reboot is required to get the SSH server started properly with the forwarding enabled:
 +
 
 +
signal-event post-upgrade; signal-event reboot
 +
 
 +
=== External Links ===
 +
 
 +
[http://www.linux-tip.net/cms/content/view/302/26/ Linux-TIP X11 Forwarindg using SSH]
 +
 
 +
[http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY official Home Page]
 +
 
 +
[http://en.wikipedia.org/wiki/PuTTY Wikipedia on PuTTY]
 +
 
 +
[http://www.straightrunning.com/XmingNotes Xming project website]
 +
 
 +
[http://en.wikipedia.org/wiki/Xming Wikipedia on Xming X11 Server]
374

edits

Navigation menu