Difference between revisions of "X11 Forwarding on SME"

From SME Server
Jump to navigationJump to search
m
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
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.
 
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.
+
You find more information about configuring [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] and [http://www.straightrunning.com/XmingNotes Xming]in the '''External Links''' section below.
  
X11 forwarinf is normally disabled on SME server. To enable X11 forwarding, execute the following commands:
+
X11 forwarding 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/
 
  mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config/
Line 13: Line 13:
 
  expand-template /etc/ssh/sshd_config
 
  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):
+
Next we need to install the '''xauth''' package (from the base repository, so this should be enabled by default):
  
 
  yum install xauth
 
  yum install xauth
Line 20: Line 20:
  
 
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
 +
 +
----
  
 
=== External Links ===
 
=== External Links ===
  
[http://www.linux-tip.net/cms/content/view/302/26/ Linux-TIP X11 Forwarindg using SSH]
+
[http://www.linux-tip.net/cms/content/view/302/26/ Linux-TIP X11 Forwarding using SSH]
  
 
[http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY official Home Page]
 
[http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY official Home Page]
Line 32: Line 34:
  
 
[http://en.wikipedia.org/wiki/Xming Wikipedia on Xming X11 Server]
 
[http://en.wikipedia.org/wiki/Xming Wikipedia on Xming X11 Server]
 +
 +
----
 +
 +
[[Category:Howto]]
 +
[[Category:Administration:Remote Access]]

Latest revision as of 18:35, 10 May 2010

X11 Forwarding with SSH is a feature which allows windows of a remotely started (X11) application to be shown on your own (PC) desktop.

It is typically used with an SSH client like PuTTYand a X11 Server like Xming installed on the PC.

You find more information about configuring PuTTY and Xmingin the External Links section below.

X11 forwarding 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 xauth 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

Linux-TIP X11 Forwarding using SSH

PuTTY official Home Page

Wikipedia on PuTTY

Xming project website

Wikipedia on Xming X11 Server