Configuring a VNC Connection in Guacamole in the user-mapping File
-
Our manual configuration file of Guacamole can be edited thusly: vi /etc/guacamole/user-mapping.xml
Working from the same configuration file that I used in a previous example, I want to extend it to connect to VNC as well. So I am going to tack on this part...
<connection name="Linux Mint 18 TS"> <protocol>vnc</protocol> <param name="hostname">192.168.1.198</param> <param name="port">5901</param> <param name="password">vncpass</param> </connection>
And you can see here what that looks like as a part of the larger configuration file:
<user-mapping> <authorize username="tecmint" password="8383339b9c90775ac14693d8e620981f" encoding="md5"> <connection name="CentOS 7 GitLab"> <protocol>ssh</protocol> <param name="hostname">192.168.1.59</param> <param name="port">22</param> <param name="username">scott</param> </connection> <connection name="Windows 8.1 Lab 1"> <protocol>rdp</protocol> <param name="hostname">192.168.1.194</param> <param name="port">3389</param> </connection> <connection name="Windows 8.1 Lab 2"> <protocol>rdp</protocol> <param name="hostname">192.168.1.195</param> <param name="port">3389</param> </connection> <connection name="Linux Mint 18 TS"> <protocol>vnc</protocol> <param name="hostname">192.168.1.198</param> <param name="port">5901</param> <param name="password">vncpass</param> </connection> </authorize> </user-mapping>
-
I really wish there was a way to do multiple hosts (like a range or comma separated) because this will get unwieldy with a lot of users. And would be nice for some LDAP integration.
-
@stacksofplates said in Configuring a VNC Connection in Guacamole in the user-mapping File:
I really wish there was a way to do multiple hosts (like a range or comma separated) because this will get unwieldy with a lot of users. And would be nice for some LDAP integration.
There is LDAP and an interface for this, but not available in the XML setup. I'm going to be doing another one with MariaDB soon.
-
@scottalanmiller said in Configuring a VNC Connection in Guacamole in the user-mapping File:
@stacksofplates said in Configuring a VNC Connection in Guacamole in the user-mapping File:
I really wish there was a way to do multiple hosts (like a range or comma separated) because this will get unwieldy with a lot of users. And would be nice for some LDAP integration.
There is LDAP and an interface for this, but not available in the XML setup. I'm going to be doing another one with MariaDB soon.
Ah I've only tested the XML version. Didn't realize there was another.
-
@stacksofplates said in Configuring a VNC Connection in Guacamole in the user-mapping File:
@scottalanmiller said in Configuring a VNC Connection in Guacamole in the user-mapping File:
@stacksofplates said in Configuring a VNC Connection in Guacamole in the user-mapping File:
I really wish there was a way to do multiple hosts (like a range or comma separated) because this will get unwieldy with a lot of users. And would be nice for some LDAP integration.
There is LDAP and an interface for this, but not available in the XML setup. I'm going to be doing another one with MariaDB soon.
Ah I've only tested the XML version. Didn't realize there was another.
Yeah, much more robust interface.