Difference between revisions of "Access the display on a remote computer"

From Linuxintro
imported>ThorstenStaerk
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
* someone is running Linux and requesting support from you
 
* someone is running Linux and requesting support from you
 
* you want to train a user how to work with a specific gui software
 
* you want to train a user how to work with a specific gui software
* you have left your desktop computer and want to continue work in front of the TV (Simpsons coming) on your notebook
+
* you have worked on your desktop computer and want to continue work in front of the TV (Simpsons coming) on your notebook
  
  
Go to your notebook and do:
+
So let's assume you want to access an X11 session of ''user'' on the computer ''user-desktop''.
  user@user-notebook $ ssh user@user-desktop
+
Go to your computer and do:
 +
  you@your-computer $ ssh user@user-desktop
 
  user@user-desktop $ export DISPLAY=:0
 
  user@user-desktop $ export DISPLAY=:0
 
  user@user-desktop $ x11vnc
 
  user@user-desktop $ x11vnc
Line 14: Line 15:
 
  The VNC desktop is:      user-desktop:0
 
  The VNC desktop is:      user-desktop:0
 
Connect from your notebook:
 
Connect from your notebook:
  user@user-notebook $ vncviewer user-desktop:0
+
  you@your-computer $ vncviewer user-desktop:0
 +
 
 +
= See also =
 +
* [[webex]]

Latest revision as of 05:20, 11 January 2011

You want to access an X11 session that already exists.

Reasons can be

  • someone is running Linux and requesting support from you
  • you want to train a user how to work with a specific gui software
  • you have worked on your desktop computer and want to continue work in front of the TV (Simpsons coming) on your notebook


So let's assume you want to access an X11 session of user on the computer user-desktop. Go to your computer and do:

you@your-computer $ ssh user@user-desktop
user@user-desktop $ export DISPLAY=:0
user@user-desktop $ x11vnc

The program x11vnc tells you where to connect. The line will read like

The VNC desktop is:      user-desktop:0

Connect from your notebook:

you@your-computer $ vncviewer user-desktop:0

See also