How to connect to remote X server

Export display from a Linux terminal to a Linux desktop

On local host type

xhost + REMOTE_IP_ADDRESS

Connect to the remote host with ssh or rlogin and then on remote host type

export DISPLAY=LOCAL_IP_ADDRESS:0.0

and then try

firefox

or other window application

The Firefox window should appear on local host.

I found it at http://superuser.com/questions/325630/how-can-i-export-display-from-a-linux-terminal-to-a-windows-pc

 

Advertisements