You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Anders Fogh Eriksen <af...@adminbyrequest.com.INVALID> on 2023/12/20 11:48:04 UTC
File open refused - shared drive error
Hi,
We have a setup where we use Cloudflare tunnels to access servers using Guacamole. Everything works except accessing the shared drive on the server (Windows). We get a “File open refused (-2): "\desktop.ini"” error in the guacd service. We use Cloudflare access to proxy the traffic and the guacd service is running as a Docker container.
We have tried running the guacd service as root, but that didn’t help.
Any suggestions on how to make the shared drive work? Is it related to the traffic being proxied?
Re: File open refused - shared drive error
Posted by Nick Couchman <vn...@apache.org>.
On Thu, Dec 21, 2023 at 10:50 AM Anders Fogh Eriksen
<af...@adminbyrequest.com.invalid> wrote:
> I’m using the guacamole/guacd Docker image as base image and overriding
> the guacd user with root. The Docker image is based on Alpine just like
> guacamole/guacd.
>
I was asking more about the host system - if you're running that on a Linux
distro, and SELinux is enabled on that distro, then you may have to specify
some flags when you pass through a volume to guacd.
Which brings up another question: Can you provide more detail on your
container config - how are you passing through the location that you're
sharing to the guacd container? What parameters have you specified? What
are the permissions?
>
>
> We have basically the same setup working when the traffic is not being
> proxied using Cloudflare, but it required guacd running as root otherwise
> we got the same error.
>
guacd should not have to run as root; however, you need to adjust
permissions to the destination folder correctly to make sure that it has
access.
Also, when you say "traffic is (not) being proxied using Cloudflare)," are
you talking about just the front-end (Guacamole Client - HTTP/HTTPS/WSS)
traffic, or are you also trying to proxy the guacd traffic (like multiple
guacd instances behind a load balancer)?
-Nick
>
Re: File open refused - shared drive error
Posted by Anders Fogh Eriksen <af...@adminbyrequest.com.INVALID>.
I’m using the guacamole/guacd Docker image as base image and overriding the guacd user with root. The Docker image is based on Alpine just like guacamole/guacd.
We have basically the same setup working when the traffic is not being proxied using Cloudflare, but it required guacd running as root otherwise we got the same error.
From: Nick Couchman <vn...@apache.org>
Date: Thursday, 21 December 2023 at 16.05
To: user@guacamole.apache.org <us...@guacamole.apache.org>
Subject: Re: File open refused - shared drive error
On Wed, Dec 20, 2023 at 6:50 AM Anders Fogh Eriksen <af...@adminbyrequest.com.invalid> wrote:
Hi,
We have a setup where we use Cloudflare tunnels to access servers using Guacamole. Everything works except accessing the shared drive on the server (Windows). We get a “File open refused (-2): "\desktop.ini"” error in the guacd service. We use Cloudflare access to proxy the traffic and the guacd service is running as a Docker container.
We have tried running the guacd service as root, but that didn’t help.
What Linux distribution are you using? It's possible the SELinux is blocking things. Also, if you're running it as a Docker container, how are you running it as root? The user account that guacd runs under within the Docker container is defined in the container configuration, so I'm curious how you changed it?
-Nick
Re: File open refused - shared drive error
Posted by Nick Couchman <vn...@apache.org>.
On Wed, Dec 20, 2023 at 6:50 AM Anders Fogh Eriksen
<af...@adminbyrequest.com.invalid> wrote:
> Hi,
>
>
>
> We have a setup where we use Cloudflare tunnels to access servers using
> Guacamole. Everything works except accessing the shared drive on the server
> (Windows). We get a “File open refused (-2): "\desktop.ini"” error in the
> guacd service. We use Cloudflare access to proxy the traffic and the guacd
> service is running as a Docker container.
>
>
>
> We have tried running the guacd service as root, but that didn’t help.
>
>
>
What Linux distribution are you using? It's possible the SELinux is
blocking things. Also, if you're running it as a Docker container, how are
you running it as root? The user account that guacd runs under within the
Docker container is defined in the container configuration, so I'm curious
how you changed it?
-Nick