ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Configuring a VNC Connection in Guacamole in the user-mapping File

    IT Discussion
    guacamole vnc
    2
    5
    5.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      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>
      
      1 Reply Last reply Reply Quote 2
      • stacksofplatesS
        stacksofplates
        last edited by

        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.

        scottalanmillerS 1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller @stacksofplates
          last edited by

          @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.

          stacksofplatesS 1 Reply Last reply Reply Quote 1
          • stacksofplatesS
            stacksofplates @scottalanmiller
            last edited by

            @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.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @stacksofplates
              last edited by

              @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.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post