VNC Launcher: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Added note about multiple connections)
No edit summary
 
(16 intermediate revisions by 6 users not shown)
Line 11: Line 11:
* For Build 7.x use [[Media:VncLauncher-1.xo|VncLauncher-1.xo]]
* For Build 7.x use [[Media:VncLauncher-1.xo|VncLauncher-1.xo]]
* For Build 8.x use [[Media:VncLauncher-2.xo|VncLauncher-2.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:
'''Note that VNC Launcher stops accepting clients after one connection''', so you may want to modify the vnclauncher.py script as follows:
Line 22: Line 23:


You may want to read about other options here http://pwet.fr/man/linux/commandes/x11vnc
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.