Access the display on a remote computer

From Linuxintro
Revision as of 21:54, 26 September 2008 by imported>ThorstenStaerk (New page: You know that situation? You are running a program on your desktop, and then you want to continue your work on your notebook, maybe because The Simpsons are beginning and you want to work ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You know that situation? You are running a program on your desktop, and then you want to continue your work on your notebook, maybe because The Simpsons are beginning and you want to work in front of the television. So, time to get your desktop display on your notebook. Of course, without interrupting the programs. Go to your notebook and do:

user@user-notebook $ ssh user@user-desktop
user@user-desktop $ export DISPLAY=:0
user@user-desktop $ x11vnc

The program x11vnc tells you where to connect, e.g. user-desktop:0 Connect from your notebook:

user@user-notebook $ vncviewer user-desktop:0