Reverse remote display

From OLPC
Revision as of 17:11, 24 February 2008 by LFaraone (talk | contribs) (init)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This describes how to control/display your non-XO-computer via your XO. To display the XO's screen on another monitor, see Remote Display

You currently have two options:

X11 forwarding

This will allow you to have the most realistic experience.

First, stop sugar by executing the following as root (via sudo, su, or a vterm):

init 3

You can either run your desktop environment (KDE, GNOME etc) or a single application.

Desktop environment

This will bring the XO down to either a login prompt (Stock 656 and lower builds) or a "Press enter to login" prompt (Update.1-690 and later). In the former case, log in as "root" with no password; in the latter case press the enter key.

Execute the following commands:

su - olpc
xinit -c "ssh -XCnf user@ip gnome-session"

user should be your username on your target box.
ip should be your machine's IP (something like 192.168.1.5) or hostname (like "merlin").
You can replace gnome-session with whatever command you use to start your session, like startkde.

This is only if you wish to run the entire session on your XO. For individual apps...

Single applications

This does not require you to kill sugar. Simply run the following command in the terminal activity:

ssh -XCnf user@ip command

VNC

Not written yet.