VNC Launcher

From OLPC
Revision as of 01:24, 1 January 2010 by Cjl (talk | contribs) (Reverted edits by Fat fuck (Talk) to last version by Jpritikin)
Jump to navigation Jump to search

This activity helps you project your XO screen on a projector via a regular computer. It will automatically launch a VNC server (X11vnc) and display the XO's IP address. You can then connect and view the XO's screen using any VNC client (e.g. UltraVNC Viewer, RealVNC, etc) running on a regular computer.

The XO (now acting as a VNC server) and the client (computer running a VNC client) must be able to communicate using their IP addresses. This often means both sides should be on the same local network.

VNC Launcher was built on top of the Terminal activity and was developed by Arnan (Roger) Sipitakiat ( arnans at gmail.com) and Rinda Chokate (rindar at gmail.com)

Please send us any comments and please feel free to make your contributions to this activity.


Downloads:

Please see more info on how to use VNC Launcher

Note that VNC Launcher stops accepting clients after one connection, so you may want to modify the vnclauncher.py script as follows:

replace the line

 cmd = "/home/olpc/Activities/VncLauncher.activity/x11vnc"

with

 cmd = "/home/olpc/Activities/VncLauncher.activity/x11vnc -many -shared"

You may want to read about other options here http://pwet.fr/man/linux/commandes/x11vnc

Starting VNC over SSH

Once VNC Launcher is installed, you can start a VNC server via SSH with the following command:

     /home/olpc/Activities/VncLauncher.activity/x11vnc -auth /var/tmp/olpc-auth/.Xserverauth -many -shared

VNC Viewer

SSVNC is an enhanced TightVNC Viewer. One of the important features added to TightVNC is software scaling on the client side. This is important if you want to see your whole XO laptop display in a cheap low-resolution projector.