Re: Guacamole not working

2021-11-16 Thread Dean Jones _ Student - CarrollMS
I’ve installed guacamole using linode, not on a machine. It all runs in the 
cloud. Video that I followed to install it:  
https://youtube.com/watch?v=gsvS2M5knOw

Thanks,
Dean

On Nov 16, 2021, at 4:00 PM, Nick Couchman  wrote:


On Tue, Nov 16, 2021 at 2:54 PM Dean Jones _ Student - CarrollMS 
mailto:dbjon...@students.wcpss.net>> wrote:
I'm stupid, I don't know how to access the log files or confirm that guacd is 
running, could you show me?

I very much doubt that you are stupid :-).

I guess a first, starting question would be: how is Guacamole installed at your 
site? Are you running the Docker containers for it, or have you (or someone 
else) installed it natively? If you're using Docker, then the "docker logs" 
command can help you retrieve the logs for a particular container. So, you'd 
use "docker container ls" to show the running containers, and then "docker 
container logs" with the the container ID or name to show the logs. It should 
be pretty easy to identify which container runs Guacamole Client and which one 
runs Guacamole server (guacd), and you can display the logs for those and see 
if you can spot anything.

If you're not using Docker, then you probably have installed Guacamole 
natively, and you'll need to look at the various components. Guacamole Server, 
or guacd, is a normal system executable, and you should be able to see it 
running with some sort of command like "ps -ef|grep guacd". If that output 
returns nothing, or only returns the line for the "grep guacd" command, then 
you need to start guacd by, first, figuring out where it's installed, and then 
running it with /path/to/sbin/guacd. Logs for guacd are normally written to 
syslog or journald, the normal Linux logging facilities, so you can look for 
output from guacd wherever the normal system logs are kept. In more 
"traditional" systems this would be /var/log/messages or /var/log/syslog - many 
more "modern" distributions have moved over to journald, and the output is in 
"journalctl".

For Guacamole Client, when installed natively, you should see a Java process 
running the Tomcat (or Jboss, if that's the app server of choice) application 
server, and the log files can be stored in a wide variety of places. Sometimes 
Tomcat writes its output to Syslog/Journald, so it'd be in the same place as 
guacd (/var/log/messages, /var/log/syslog, and/or "journalctl"), but often 
times Tomcat has its own log file - /var/log/tomcat/catalina.out, or in the 
"logs" directory under the Tomcat install folder. Again, this very much depends 
on how you've installed Tomcat as to where that is, so if you're still 
struggling, just post back here with as much detail as you can on how Guacamole 
got installed to its current state, and I'm sure we can help you out.

Finally, if you haven't, already, I'd recommend taking your time to read 
through the manual, particularly the first few chapters that describe 
architecture and installation of Guacamole, as I think this will help you in 
determining where some of these things live in your current installation.

Don't hesitate to post back, here, with any further questions!

-Nick



Re: Guacamole not working

2021-11-16 Thread Nick Couchman
On Tue, Nov 16, 2021 at 2:54 PM Dean Jones _ Student - CarrollMS <
dbjon...@students.wcpss.net> wrote:

> I'm stupid, I don't know how to access the log files or confirm that guacd
> is running, could you show me?
>

I very much doubt that you are stupid :-).

I guess a first, starting question would be: how is Guacamole installed at
your site? Are you running the Docker containers for it, or have you (or
someone else) installed it natively? If you're using Docker, then the
"docker logs" command can help you retrieve the logs for a particular
container. So, you'd use "docker container ls" to show the running
containers, and then "docker container logs" with the the container ID or
name to show the logs. It should be pretty easy to identify which container
runs Guacamole Client and which one runs Guacamole server (guacd), and you
can display the logs for those and see if you can spot anything.

If you're not using Docker, then you probably have installed Guacamole
natively, and you'll need to look at the various components. Guacamole
Server, or guacd, is a normal system executable, and you should be able to
see it running with some sort of command like "ps -ef|grep guacd". If that
output returns nothing, or only returns the line for the "grep guacd"
command, then you need to start guacd by, first, figuring out where it's
installed, and then running it with /path/to/sbin/guacd. Logs for guacd are
normally written to syslog or journald, the normal Linux logging
facilities, so you can look for output from guacd wherever the normal
system logs are kept. In more "traditional" systems this would be
/var/log/messages or /var/log/syslog - many more "modern" distributions
have moved over to journald, and the output is in "journalctl".

For Guacamole Client, when installed natively, you should see a Java
process running the Tomcat (or Jboss, if that's the app server of choice)
application server, and the log files can be stored in a wide variety of
places. Sometimes Tomcat writes its output to Syslog/Journald, so it'd be
in the same place as guacd (/var/log/messages, /var/log/syslog, and/or
"journalctl"), but often times Tomcat has its own log file -
/var/log/tomcat/catalina.out, or in the "logs" directory under the Tomcat
install folder. Again, this very much depends on how you've installed
Tomcat as to where that is, so if you're still struggling, just post back
here with as much detail as you can on how Guacamole got installed to its
current state, and I'm sure we can help you out.

Finally, if you haven't, already, I'd recommend taking your time to read
through the manual, particularly the first few chapters that describe
architecture and installation of Guacamole, as I think this will help you
in determining where some of these things live in your current installation.

Don't hesitate to post back, here, with any further questions!

-Nick


>


Re: Guacamole not working

2021-11-16 Thread Dean Jones _ Student - CarrollMS
I'm stupid, I don't know how to access the log files or confirm that guacd is 
running, could you show me?

From: Nick Couchman 
Sent: Tuesday, November 16, 2021 2:52 PM
To: user@guacamole.apache.org 
Subject: Re: Guacamole not working

On Tue, Nov 16, 2021 at 2:49 PM Dean Jones _ Student - CarrollMS 
mailto:dbjon...@students.wcpss.net>> wrote:
I have a site at guac.schoolwork.tk<http://guac.schoolwork.tk> and I have 
followed NetworkChuck's guacamole cloud tutorial to install guacamole. I am 
trying to use my website to access my home laptop from anywhere. When I try to 
launch the remote desktop, I am greeted with "The remote desktop server is 
currently unreachable. If the problem persists, please notify your system 
administrator, or check your system logs." How can I fix it?


I'll start with the basics - apologies if you've already gotten this far:
* Can you confirm that guacd is running?
* What messages are you getting in the log files - catalina.out (Tomcat) and 
syslog (where guacd logs)?

-Nick


Re: Guacamole not working

2021-11-16 Thread Nick Couchman
On Tue, Nov 16, 2021 at 2:49 PM Dean Jones _ Student - CarrollMS <
dbjon...@students.wcpss.net> wrote:

> I have a site at guac.schoolwork.tk and I have followed NetworkChuck's
> guacamole cloud tutorial to install guacamole. I am trying to use my
> website to access my home laptop from anywhere. When I try to launch the
> remote desktop, I am greeted with "The remote desktop server is currently
> unreachable. If the problem persists, please notify your system
> administrator, or check your system logs." How can I fix it?
>
>
I'll start with the basics - apologies if you've already gotten this far:
* Can you confirm that guacd is running?
* What messages are you getting in the log files - catalina.out (Tomcat)
and syslog (where guacd logs)?

-Nick

>


Re: Guacamole not working

2021-11-16 Thread Dean Jones _ Student - CarrollMS
I am an amateur coder, I'm only in middle school. Please send answers that have 
pictures, because I might not know what you mean! Thanks so much!!!

From: Dean Jones _ Student - CarrollMS 
Sent: Tuesday, November 16, 2021 2:49 PM
To: user@guacamole.apache.org 
Subject: Guacamole not working

I have a site at guac.schoolwork.tk and I have 
followed NetworkChuck's guacamole cloud tutorial to install guacamole. I am 
trying to use my website to access my home laptop from anywhere. When I try to 
launch the remote desktop, I am greeted with "The remote desktop server is 
currently unreachable. If the problem persists, please notify your system 
administrator, or check your system logs." How can I fix it?

These are my settings:
[cid:1b68f0aa-e614-4a8e-af67-e1afca6a3278]

Thanks,
 Dean Jones