X11 Forwarding on SME
X11 Forwarding with SSH is a feature which allows windows of a remotely started (X11) application to be shown on your own (PC) desktop.
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