Hi,
I maintain this repository: boschkundendienst/guacamole-docker-compose:
Guacamole with docker-compose using PostgreSQL, nginx with SSL
(self-signed)
<https://github.com/boschkundendienst/guacamole-docker-compose>
and recently (5 days ago) a user opened an issue exactly for that problem.
Nower days I run everything with podman and the above repo is just for
demonstration purposes but I think I now drilled it down.
With docker, the user inside the guacd container is "guacd 1000:1000"
while inside the guacamole container it is "guacamole 1001:1001".
guacd creates the recordings and guacamole shows them in the history tab
and allows them to be replayed.
Since by default the 2 user and group ids do not match together even if
recording worked I always had problems to the the playback going.
I think I came up with an acceptable solution today. I modified the
docker-compose.yml file to add the guacamole user to the additional
group 1000 which is
the GID of the guacd user in the guacd container. I did this by adding
this to the guacamole container:
group_add:
- 1000
The local dir I record to from within guacd is ./record and I gave it
777 permission before starting the containers.
Now recording works and guacamole finds the playbacks.
I updated the repo and following the "Quick start" should bring you to a
working system (prepare.sh handles everything.
You could also look at the resent comment I made to the issue here:
https://github.com/boschkundendienst/guacamole-docker-compose/issues/109#issuecomment-2618792435
I personally think, this could be optimized a little bit by the creators
of the docker images, for example one could add a group e.g.
"guac_shared" in both images (guacamole and guacd)
and add guacd (in the guacd image) and guacamole (in the guacamole
image) to that group. This should make things easier to adopt.
I am not a guacamole professional and my repo is only for testing
purposes for me but I hope I could help.
Regards
Peter
On 27.01.2025 22:42, Ryan Hall wrote:
https://lists.apache.org/thread/d4z1ls3n35z98dmgr59kdvzww3w9z5oh
I am following this thread and I do not know how to reply to this so here it
goes…
I’m wondering if this was ever resolved?
If someone can point me to a docker-compose.yml for this that would be
awesome. I am using one that I found and have this exact issue.
Has anyone tried to mount that folder:
./record:/var/lib/guacamole/recordings:rw ß for guacd
./record:/var/lib/guacamole/recordings:ro ß for gucacamole
Instead of say ./record:/record which is what the compose file I had came
with. The problem I had was even if I can change the guacamole.properties
file, it will be overwritten when updated. Also, there seems to be no text
editor inside the container when using
docker exec –it docker_compose sh
for example.
I have a feeling this may have been fixed but somehow whatever I found to
use is older.
Thank you,
____________________________________
Ryan Hall
Southern Manufacturing Technologies, Inc.
5910 Johns Road
Tampa, FL 33634
Phone : (813) 888-8151
Fax : (813) 882-9961
Email :<mailto:[email protected]> [email protected]