# Basic Guacamole/OpenNebula integration

**URL:** https://forum.opennebula.io/t/basic-guacamole-opennebula-integration/6944
**Category:** Integration Support
**Created:** [February 27, 2019, 11:20am UTC](https://forum.opennebula.io/t/basic-guacamole-opennebula-integration/6944 "2019-02-27T11:20:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![balmond](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@balmond](https://forum.opennebula.io/u/balmond)
#### Post date: [February 27, 2019, 11:20am UTC](https://forum.opennebula.io/t/basic-guacamole-opennebula-integration/6944/1 "2019-02-27T11:20:56Z")

</div>

Hi everyone,

First of all congratulations to the OpenNebula team on the 5.8 release! 🙂

I just wanted to share something that I’ve been working on - adding basic Guacamole support to OpenNebula 5.8. I am by no means a programmer, but with a lot of trial and error I have something to show. It’s by no means production quality, but I have reached the limit of my abilities so. My hope is that someone can make use of this for their own project, and perhaps improve upon it.

When a VM is set to use VNC for remote desktop, the modifications will add a “GUAC” button next to the “VNC” button in the VM detail view in admin, groupadmin, and user views. It will also change the remote desktop button in cloud view to default to a Guacamole connection. The remote desktop button in VM list view remains the standard VNC client.

These buttons will attempt to connect to a Guacamole client which must be installed on the Sunstone server, listening on port 8080.

The relevant files, installation instructions, and known issues are detailed at [https://github.com/BarrieAlmond/GuacNebula](https://github.com/BarrieAlmond/GuacNebula) . Any feedback is welcome, and I’ll do what I can to help. 🙂

---

<div class="post-metadata">

### Author: ![balmond](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@balmond](https://forum.opennebula.io/u/balmond)
#### Post date: [March 11, 2019, 12:45pm UTC](https://forum.opennebula.io/t/basic-guacamole-opennebula-integration/6944/2 "2019-03-11T12:45:28Z")

</div>

I’m not sure if anyone is currently using this, but I have make tweaks to enable file and print redirection in RDP connections (available from the Guacamole home screen after connecting via VNC - press ctrl-alt-shift to get the Guacamole menu).

Audio redirection is also enabled, but this currently doesn’t work (at least with KVM). I suspect OpenNebula is launching KVM without enabling sound hardware and I’m not sure right now how to change this. 🙂

The only file that has changed is sunstone/models/SunstoneServer.rb, so just overwrite your own and restart Sunstone.

edit: Audio works in some VMs and not others so it’s probably an OS thing.

---

<div class="post-metadata">

### Author: ![jlobo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jlobo/32/5955_2.png) [@jlobo](https://forum.opennebula.io/u/jlobo)
#### Post date: [March 14, 2019, 6:37am UTC](https://forum.opennebula.io/t/basic-guacamole-opennebula-integration/6944/3 "2019-03-14T06:37:12Z")

</div>

@balmond thanks for your contribution, we are working on your code to place this functionality in sunstone

---

<div class="post-metadata">

### Author: ![balmond](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@balmond](https://forum.opennebula.io/u/balmond)
#### Post date: [March 14, 2019, 8:22pm UTC](https://forum.opennebula.io/t/basic-guacamole-opennebula-integration/6944/4 "2019-03-14T20:22:22Z")

</div>

@jlobo that’s great, let me know if there’s anything in there that doesn’t make sense and I’ll try to explain it 🙂
