Guacamole on CentOS 7
-
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.
-
How is the performance?
-
@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.
-
@johnhooks What distro are you running on your desktop?
-
-
@anonymous said:
@johnhooks What distro are you running on your desktop?
I was on my chromebook
-
@johnhooks ah
-
You forgot:
yum -y install epel-release
-
@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!
-
@johnhooks yum no ym
-
@anonymous said:
@johnhooks yum no ym
ha fixed
-
How did you name your connections?
Also, I don't have previews, any ideas why not?
-
@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.
-
@johnhooks I you have to close that tag as well you you can't login.
</connection>
-
@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.
-
@stacksofplates hi, guacamole does not exist anymore in the repos. is there a replacement?
-
@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.
-
@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!
-
@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?
-
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.