VNC Launcher: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(21 intermediate revisions by 8 users not shown)
Line 1: Line 1:
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.
This is an automation remote display application.
Remote display connecting the XO (the server) with your PC (the client).
The server and the client are required to use the same access point to be able to connect each other.
* This activity will execute x11vnc program to run the xo machine as a server and display the ip address at the top left corner.
* On the client size, the user may use any viewer program such as UltraVNC Viewer, VNC Viewer, etc.


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 is developed by Arnan (Roger) Sipitakiat and Rinda Chokate


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 for this activity to a greater development of olpc.

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


Downloads:
* For Build 7.x use [[Media:VncLauncher-1.xo|VncLauncher-1.xo]]
* For Build 8.x use [[Media:VncLauncher-4.xo|VncLauncher-4.xo]] and [http://activities.sugarlabs.org/es-ES/sugar/search?q=vnc&cat=all VncLauncher-6.xo ]

[http://wiki.laptop.org/images/d/d8/8_Steps_to_use_VNC_Launcher_Activity.pdf 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

''In some cases in the Build8.x you will have problems starting the VNC-server from the VncLauncher-x.xo because of some "libs" are missing. To fix it, on the Terminal activity type:''
yum install x11vnc
You'll definitely have to do this if you're running release 10.1.x. Now you can enjoy your vncserver.

== 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 ==

[http://www.karlrunge.com/x11vnc/ssvnc.html 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.

Latest revision as of 12:37, 16 April 2011

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

In some cases in the Build8.x you will have problems starting the VNC-server from the VncLauncher-x.xo because of some "libs" are missing. To fix it, on the Terminal activity type:

 yum install x11vnc

You'll definitely have to do this if you're running release 10.1.x. Now you can enjoy your vncserver.

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.