|
Problem description: I have setup a Guacamole server on Ubuntu 16.04 with Tomcat7. Everything was working great, I could login, connect to machines and do all the things Guacamole does. I added a second MySQL database and user for a side project that i'm running on the same box. Went to log back into my Guac server and I can still reach the login page, but once I try to login I get the error message: Remote desktop server is currently unreachable, trying again in 15 seconds. I am never able to reach the Guac webUI (aside from the login screen). Logs show the following: code:
Attempted fixes: - Added guacd-hostname and guacd-port to guacamole.properties file - Rebooted the system - Restarted Guacd service - Tried to change logging to "debug" with a logback.xml file but that didn't seem to change anything, or I don't know where I'm looking Recent changes: - I created a new ubuntu user and setup a web root folder under their home dir - Changed owner of this /home/~username/public_html folder to the apache user "www-data" (this might have affected other folders?) - Installed phpMyAdmin Operating system: Ubuntu 16.04 with Guacamole 0.9.14 System specs: AWS t2.medium instance Location: US of A I have Googled and read the FAQ: Yes
|
# ? Feb 6, 2018 01:50 |
|
|
# ? Jun 8, 2024 05:46 |
|
You may be getting blocked by AppArmor. Most web servers on Ubuntu are configured to only work out of a default directory under AppArmor. Look in your syslog and see if anything shows up.
|
# ? Feb 7, 2018 01:51 |
|
As it turns out, it was a "feature" and not a bug. When I first setup guac I made one connection to test it out. As it turns out, when you make a single connection in guac, the next time you login it will automatically try to connect to that single connection you've made bypassing the setup screen completely. Since i'm in the habit of repeatedly throwing away AWS instances like garbage, that instance had been terminated a while back. Little did I know that guac would continue to try to connect to that instance even though it no longer existed and unless you know the magic key combo of "shift+ctrl+alt" there is no way to get to the guac settings screen to remove the connection and add new ones. They should probably make that a little more clear during setup. Case closed.
|
# ? Feb 7, 2018 04:40 |