David,
Good that it sorted your problem.
Re documentation; it does seem to be an oft-repeated issue, so a note to
assist people during installation could well be worthwhile.
If you look at the present native installation instructions here:
https://guacamole.apache.org/doc/gug/installing-guacamole.html
and the source here:
https://guacamole.apache.org/doc/gug/_sources/installing-guacamole.md.txt
You will get an idea of the form of the documentation and perhaps from
that how best to contribute an addition.
In my view keeping it short and to the point would be best, bearing in
mind it is really a freerdp issue, and more of a sysadmin task as you say.
From there you could submit your work to Jira (I think you have an
account?) for inclusion in the official guide.
Note I've said the above not being sure whether there is any protocol
around the documentation, or submissions on it! I seem to recollect some
discussion on this a while ago, but it may have been more to do with
content delivery rather than the content itself. In any event I expect
if I'm wildly wrong a gentle pointer in the right direction will ensue :)
Otherwise thanks for taking the time to pursue this.
On 14/03/23 18:36, David Ramirez wrote:
Well, that was that! Unwritable directory it was indeed.
What worked better for me was the following answer by Nick:
https://lists.apache.org/list?user@guacamole.apache.org:2022-10:freerdp%20home%20directory
<https://lists.apache.org/list?user@guacamole.apache.org:2022-10:freerdp%20home%20directory>
That said, I do believe we should document this somewhere. I can send an
email here with all the related instructions or better yet, add a small
section on the documentation, if this is even allowed to do over it as
these are pure Linux sysadmin tasks.
What do the Gurus recommend:
1. Create a bug to add it to the documentation.
1.a. I may even try to learn how to document it myself if that is even
possible.
2. Send here an email with the step by step instructions for posterity
and easy to search.
Thanks again @ivanmarcus for the instructions!
Have a good one you all!
David.
On Mon, Mar 13, 2023 at 5:41 PM David Ramirez <david...@gmail.com
<mailto:david...@gmail.com>> wrote:
Thanks a lot for the quick answer @ivanmarcus. I will take care of
the permissions/daemon issues and get back to the group.
Regards,
David.
On Mon, Mar 13, 2023 at 5:31 PM Ivanmarcus
<ivanmar...@yahoo.com.invalid> wrote:
David,
With respect to the error you're seeing, these links should give
you
some assistance (you probably only need to look at one, they mostly
reiterate the same thing):
https://lists.apache.org/thread/64x199p7kj6j1ct36z0hzgqy6l0x5yzx
<https://lists.apache.org/thread/64x199p7kj6j1ct36z0hzgqy6l0x5yzx>
https://lists.apache.org/list?user@guacamole.apache.org:2022-8:freerdp%20home%20directory
<https://lists.apache.org/list?user@guacamole.apache.org:2022-8:freerdp%20home%20directory>
https://lists.apache.org/list?user@guacamole.apache.org:2022-10:freerdp%20home%20directory
<https://lists.apache.org/list?user@guacamole.apache.org:2022-10:freerdp%20home%20directory>
As for my set of notes; the installation was indeed carried out
as root,
but before going too far with further suggestions perhaps you could
respond back after dealing with your user/directory parms etc?
On 14/03/23 12:10, David Ramirez wrote:
> Good evening/night/morning to you all!
> Following up the environment explained earlier, I am now
trying to
> connect to a Windows 10 connection created by the Guacadmin
User and
> assigned to a user. The connection fails before showing the
logs, here
> is a quick overview of the environment:
>
> Internet -- NGNIX Reverse Proxy --- Guacamole Server --- Win
10 connection.
> Guacamole 1.5.0 running on ubuntu 20.04 and Tomcat 9.
> The Guacamole Server IP is 10.X.14.254. <-- I change the
second octet on
> the IP to "X"
> Tomcat running on port 8080.
> Guacamole server is running over port 4822.
> This environment was operating when I was not using database
authentication.
>
> In order to find the error I am running Guacamole Server in
DEBUG mode
> and I can see several obvious errors which I may know the
answer to but
> I really need the group's assistance on this.
> Errors found:
>
> * To simplify reading this email, the logs are at the
bottom of it.
> * As I am running Guacamole as the daemon user, its home
directory is
> /usr/sbin which obviously the guacamole daemon does not have
> permissions to write to.
> o Please refer to the logs marked below in *BOLD*.
> * After several messages on the log, the error now changes
to: unable
> to read file "/" which I believe has to do with the files and
> certificates the daemon was unable to write.
> o Please refer a little bit below to the final section
of logs
> marked as *BOLD*.
>
> What I have looked for so far:
>
> * I believe my problem is that the daemon user cannot write
on the
> path so I won't be able to connect.
> o This should be fixed by running guacamole with
another user.
> o I did try to find some instructions on this list on
how to
> configure the daemon to run as a different user but I
could not
> find the instructions I believe I saw a few weeks ago
on this list.
> * Looking around past posts, I found this from @ivanmarcus
on the list:
> o
https://lists.apache.org/thread/fhtrvf0vyhqbd0th4y81w9zfsbor1cd0
<https://lists.apache.org/thread/fhtrvf0vyhqbd0th4y81w9zfsbor1cd0>
>
<https://lists.apache.org/thread/fhtrvf0vyhqbd0th4y81w9zfsbor1cd0 <https://lists.apache.org/thread/fhtrvf0vyhqbd0th4y81w9zfsbor1cd0>>
> o On his instructions, he adds a step to set the
location of the
> freedrp shared objects to what I think is a world
writable
> directory but I may be wrong:
> o
>
> ln -s /usr/share/java/mysql-connector-java-8.0.28.jar
> /etc/guacamole/lib/ mkdir -p /usr/lib/$(dpkg-architecture
> -qDEB_BUILD_GNU_TYPE)/freerdp ln -s
> /usr/local/lib/freerdp/guac*.so
/usr/lib/$(dpkg-architecture
> -qDEB_BUILD_GNU_TYPE)/freerdp/
>
> o
>
> ldconfig
>
> * Problem is that when I try to replicate his instructions,
I cannot
> find any freerdp shared objects on my Guacamole
installation, only
> reference to some "rdp" files and directories but not any
reference
> to "freerdp"
> o This makes me think I may be looking at the wrong
side of things.
>
>
> HELP NEEDED:
>
> * How would you solve this?
> * Do you have any instructions on how to install and run
guacamole not
> as root/daemon?
>
> Thanks a lot for the help!
>
> Below are the log entries for the above comments.
>
> Thanks again for the help.
> David.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
<mailto:user-unsubscr...@guacamole.apache.org>
For additional commands, e-mail: user-h...@guacamole.apache.org
<mailto:user-h...@guacamole.apache.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org