X Windows: Remote X to Linux
NOTE: in the X11 world, the SERVER machine is the one listening for a connection (your desktop).
NOTE: The CLIENT machine is the one initiating the connection (the remote machine).
I know, it sounds backwards but, it is actually correct if you understand the X11 connection.
1) Tell your X11 Server Linux box (your desktop) to accept X11 connections from the Client machines.
- If it's a one time connection, just run the following from the command line
or
- You can add the following to .bashrc or .profile to make it permenant
xhost +144.45.254.150
2) Start the connection from the Client Linux machine (the remote machine)- Connect to the remote Linux machine via ssh/telnet/rlogin/whatever and run:
DISPLAY=X11_SERVER_IP:0;export DISPLAY;APPLICATION_YOU_WANT_TO_RUN & EXAMPLE: DISPLAY=192.168.1.10:0;export DISPLAY;xterm & REMEMBER: The X11 server is your desktop.