Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Debian GNU/Linux Reference Guide
Prev Home Next

9.4.8 Connecting to a remote X server – ssh

The use of ssh enables a secure connection from a local X server to a remote application server.

  • Set X11Forwarding and AllowTcpForwarding entries to yes in /etc/ssh/sshd_config of the remote host, if you want to avoid corresponding command-line options.

  • Start the X server on the local host.

  • Open an xterm in the local host.

  • Run ssh to establish a connection with the remote site.

         localname @ localhost $ ssh -q -X -l loginname remotehost.domain
  • Run X application commands on the remote site.

         loginname @ remotehost $ gimp &

This method allows the display of the remote X client output as if it were locally connected through a local UNIX domain socket.

Debian GNU/Linux Reference Guide
Prev Home Next

  Published under the terms of the GNU General Public License Design by Interspire