VNC Launcher

From OLPC
Revision as of 07:29, 7 January 2009 by Rindar (talk | contribs)
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:

File:8 Steps to use VNC Launcher Activity.pdf

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