Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
bEatmstrJ
Jun 30, 2004

Look upon my bathroom joists, ye females, and despair.
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:
Jan 30 22:08:26 ip-172-31-0-87 guacd[1186]: Creating new client for protocol "rdp"
Jan 30 22:08:26 ip-172-31-0-87 guacd[1186]: Connection ID is "$7d0b76dc-1232-4f14-ad7c-f3e775479918"
Jan 30 22:08:26 ip-172-31-0-87 guacd[1591]: Security mode: TLS
Jan 30 22:08:26 ip-172-31-0-87 guacd[1591]: Resize method: none
Jan 30 22:08:26 ip-172-31-0-87 guacd[1591]: User "@b3a396a9-8c60-484e-961a-cfbc0e3bd941" joined connection "$7d0b76dc-1232-4f14-ad7c-f3e775479918" (1 users now present)
Jan 30 22:08:26 ip-172-31-0-87 guacd[1591]: Loading keymap "base"
Jan 30 22:08:26 ip-172-31-0-87 guacd[1591]: Loading keymap "en-us-qwerty"
Jan 30 22:08:29 ip-172-31-0-87 guacd[1591]: Error connecting to RDP server
Jan 30 22:08:29 ip-172-31-0-87 guacd[1591]: User "@b3a396a9-8c60-484e-961a-cfbc0e3bd941" disconnected (0 users remain)
Jan 30 22:08:29 ip-172-31-0-87 guacd[1591]: Last user of connection "$7d0b76dc-1232-4f14-ad7c-f3e775479918" disconnected
Jan 30 22:08:29 ip-172-31-0-87 guacd[1186]: Connection "$7d0b76dc-1232-4f14-ad7c-f3e775479918" removed.
Not sure what else to look at.

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

Adbot
ADBOT LOVES YOU

Pesch
Nov 4, 2006
Wholly Chao
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.

bEatmstrJ
Jun 30, 2004

Look upon my bathroom joists, ye females, and despair.
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.

  • Locked thread