Time to put things together. Xen orchestra has now got a ‘vnc‘ link (like http://localhost/xo/htdocs/vnc.php?url= which opens gtk vnc plugin (amd64 binary here). – This link is placed in section Misc of xen orchestra’s virtual machine detail window.

The configuration file of xen orchestra, xen-orchestra.conf, has got a section to control gtk vnc plugin. If a windows vm needs mouse grabbing, it can be set in this file. The handling of these settings is done in htdocs/vnc.php. If virtual machine w7b needs even more specific settings an additional file vnc_w7b.php can be used.

Compared to the description in this post vnc gtk plugin does now automatically grab the focus (keyboard immediately active after loading of html page; no need to click into vnc viewer window first) and a send keys menu has been added (0103-add_autofocus_and_sendkeys.diff).

(Build instructions remain the same except that after (updated) colortoolbar.patch.gz a second patch colortoolbar2.patch.gz has to be applied; updated amd64 debian archive: mozilla-gtk-vnc_0.3.10-6_amd64.deb).

There is one little additional patch to xen orchestra (03-add_vm_name_to_vnc_link.diff). The main changes are in vnc.php (compare previous post about xen orchestra). An updated zip archive with patched xen orchestra is here.


  1. Blog of spblinux » Blog Archive » Gtk vnc plugin with mini toolbar says:

    […] Managing xen 4.0 with xen orchestra Xen Orchestra with gtk vnc plugin […]

  2. td says:

    Hey, I tried your patched zip, but I have no VNC-Line. What am I doing wrong?
    Is it, because Xen-Orchestra is on another machine than localhost?

  3. td says:

    Oh well, now it works. Sorry.
    But can you tell me, if there is any development at XenOrchestra atm? Can’t even reach the repositories…

  4. spblinux says:

    XenOrchestra development:
    – the maintainer is busy with other things
    – he did welcome my patches
    – so it might take some time until XenOrchestra gets updated.

    Somehow like SPBLinux – publishing of updates mainly if someone asks.

Leave a Reply