Reverse remote display: Difference between revisions
(init) |
(fix up nicely) |
||
Line 17: | Line 17: | ||
Execute the following commands: |
Execute the following commands: |
||
su - olpc |
su - olpc |
||
xinit -c "ssh -XCnf ''user''@''ip'' gnome-session" |
xinit -c "ssh -XCnf ''user''@''ip'' gnome-session; xterm" |
||
''user'' should be your username on your target box.<br> |
''user'' should be your username on your target box.<br> |
||
''ip'' should be your machine's IP (something like 192.168.1.5) or hostname (like "merlin").<br> |
''ip'' should be your machine's IP (something like 192.168.1.5) or hostname (like "merlin").<br> |
||
You can replace '''gnome-session''' with whatever command you use to start your session, like '''startkde'''. |
You can replace '''gnome-session''' with whatever command you use to start your session, like '''startkde'''. |
||
X will start and xterm will ask you for your password (unless you set up key authentication) and then, after starting your DE will give you a second Xterm on your XO with which to play with the local machine. |
|||
This is only if you wish to run the entire session on your XO. For individual apps... |
This is only if you wish to run the entire session on your XO. For individual apps... |
Revision as of 17:13, 24 February 2008
- 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; xterm"
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.
X will start and xterm will ask you for your password (unless you set up key authentication) and then, after starting your DE will give you a second Xterm on your XO with which to play with the local machine.
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.