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

    Guacamole on CentOS 7

    IT Discussion
    linux rdp guacamole centos 7
    7
    28
    9.4k
    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.
    • stacksofplatesS
      stacksofplates
      last edited by stacksofplates

      Last night I noticed that Guacamole is in the repos for the main distros so I figured I'd try it on CentOS.

      Here's what you need

      yum install epel-release
      
      yum install tomcat guacamole guacd libguac-client-rdp libguac-client-ssh libguac-client-vnc
      

      Then

      systemctl start tomcat
      systemctl enable tomcat
      systemctl start guacd
      systemctl enable guacd
      
      firewall-cmd --permanent --zone=public --add-port=8080/tcp
      
      

      Then you need to make and configure the /etc/guacamole/user-mapping.xml file.

      Here's a sample

      <user-mapping>
      
          <authorize username="loginusername" password="loginpassword">
              <connection name="RDP host">
                  <protocol>rdp</protocol>
                  <param name="hostname">hostname/ip address</param>
                  <param name="port">3389</param>
                  <param name="username">someusername</param>
                  <param name="password">somepassword</param>
                  <param name="domain">somedomain</param>
              </connection>
      
              <connection name="VNC host">
                  <protocol>vnc</protocol>
                  <param name="hostname">hostname/ip address</param>
                  <param name="port">5900</param>
                  <param name="password">somepassword</param>
              </connection>
              
              <connection name="SSH host">
                  <protocol>ssh</protocol>
                  <param name="hostname">hostname/ip address</param>
                  <param name="port">22</param>
                  <param name="username">someusername</param>
                  <param name="password">somepassword</param>
              </connection>
      
       </authorize>
      
      </user-mapping>
      

      then just run

      systemctl restart guacd
      

      This page has a list of the available parameters http://guac-dev.org/doc/gug/configuring-guacamole.html

      You can also use mysql for a back end but I just did the xml file.

      Now you can visit your server at http://youriporhostname:8080/guacamole and login with the loginuser and loginpassword you set up in the xml file.

      Here's a couple screenshots.

      0_1455550560756_Screenshot 2016-02-15 at 10.17.44 AM.png

      0_1455550589318_Screenshot 2016-02-15 at 10.18.56 AM.png

      michacassolaM Emad RE 3 Replies Last reply Reply Quote 4
      • dafyreD
        dafyre
        last edited by

        How is the performance?

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

          @dafyre said:

          How is the performance?

          RDP is fairly responsive. I didn't try any resource heavy apps though. But just normal tasks I think would be fine.

          1 Reply Last reply Reply Quote 1
          • A
            Alex Sage
            last edited by

            @johnhooks What distro are you running on your desktop?

            stacksofplatesS 1 Reply Last reply Reply Quote 0
            • MattSpellerM
              MattSpeller
              last edited by

              @johnhooks said:

              Guacamole

              This looks excellent, I will give it a try

              http://guac-dev.org/

              1 Reply Last reply Reply Quote 2
              • stacksofplatesS
                stacksofplates @Alex Sage
                last edited by

                @anonymous said:

                @johnhooks What distro are you running on your desktop?

                I was on my chromebook

                A 1 Reply Last reply Reply Quote 2
                • A
                  Alex Sage @stacksofplates
                  last edited by

                  @johnhooks ah 🙂

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alex Sage
                    last edited by

                    You forgot:

                    yum -y install epel-release
                    
                    stacksofplatesS 1 Reply Last reply Reply Quote 1
                    • stacksofplatesS
                      stacksofplates @Alex Sage
                      last edited by

                      @anonymous said:

                      You forgot:

                      yum -y install epel-release
                      

                      Ya sorry. My template has that in it already and I forgot to mention it. I'll put it in the write up. Thanks!

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Alex Sage @stacksofplates
                        last edited by

                        @johnhooks yum no ym 🙂

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

                          @anonymous said:

                          @johnhooks yum no ym 🙂

                          ha fixed

                          1 Reply Last reply Reply Quote 0
                          • A
                            Alex Sage
                            last edited by

                            How did you name your connections?

                            Also, I don't have previews, any ideas why not?

                            stacksofplatesS 1 Reply Last reply Reply Quote 0
                            • stacksofplatesS
                              stacksofplates @Alex Sage
                              last edited by

                              @anonymous said:

                              How did you name your connections?

                              Also, I don't have previews, any ideas why not?

                              The connection name is the first line of the connection in the xml file

                              <connection name="VNC host">
                              

                              The previews only come up after you've connected. Until you connect it's just a little blank box or something like that.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                Alex Sage @stacksofplates
                                last edited by Alex Sage

                                @johnhooks I you have to close that tag as well you you can't login. 😧

                                </connection>
                                
                                stacksofplatesS 1 Reply Last reply Reply Quote 0
                                • stacksofplatesS
                                  stacksofplates @Alex Sage
                                  last edited by

                                  @anonymous said:

                                  @johnhooks I you have to close that tag as well you you can't login. 😧

                                  </connection>
                                  

                                  Ya it's closed in my example template above, I was just showing you the first line which is wher eyou name it.

                                  1 Reply Last reply Reply Quote 0
                                  • michacassolaM
                                    michacassola @stacksofplates
                                    last edited by

                                    @stacksofplates hi, guacamole does not exist anymore in the repos. is there a replacement?

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

                                      @michacassola said in Guacamole on CentOS 7:

                                      @stacksofplates hi, guacamole does not exist anymore in the repos. is there a replacement?

                                      I think that you just need guacd.

                                      michacassolaM 2 Replies Last reply Reply Quote 0
                                      • michacassolaM
                                        michacassola @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in Guacamole on CentOS 7:

                                        @michacassola said in Guacamole on CentOS 7:

                                        @stacksofplates hi, guacamole does not exist anymore in the repos. is there a replacement?

                                        I think that you just need guacd.

                                        Thanks!

                                        1 Reply Last reply Reply Quote 0
                                        • michacassolaM
                                          michacassola @scottalanmiller
                                          last edited by

                                          @scottalanmiller /etc/guacamole/user-mapping.xml seems to be the wrong location for the standard xml file. Can you provide the location with 0.9.13 which was installed on my system please?

                                          scottalanmillerS Emad RE 2 Replies Last reply Reply Quote 0
                                          • Emad RE
                                            Emad R @stacksofplates
                                            last edited by

                                            @stacksofplates

                                            I noticed that Guacamole is in the repos

                                            How do you monitor repos ? and who does that ? do you get any sleep at night ?

                                            Joking it seems like good idea to be always up to date, but abit crazy.

                                            I usually use Fedora NoVNC machine, and install rdesktop in it and remote like crazy + Ultra VNC under wine works great. However that said Guacamole looks much more neat.

                                            Thanks for the guide.

                                            stacksofplatesS 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post