You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Pavel Mlčoch <pa...@centrum.cz> on 2022/02/10 07:35:35 UTC
guacd.service dont work on el8
Hello folks,
I have problem after install on el8 (rocky8.5), but I don't know if isn't bug.Default service file guacd.service is configured for user daemon and one parameter -f and if I start service, It don't work and no error in log. Selinux is disabled all the time.So then I start instead in cli mode as daemon and It don't work too.I tried start as daemon with paramaeters "-b 0.0.0.0 -f" it dont work too.Finally this works when I start It as user root and with "-b 0.0.0.0 -f", but without this parameters It don't works too.I don't found any hint or warning in standard/error output.Know any what is correct solution?
PM.
Re: guacd.service dont work on el8
Posted by Nick Couchman <vn...@apache.org>.
On Thu, Feb 10, 2022 at 9:45 AM Centrum <pa...@centrum.cz> wrote:
> Oh, It seems problem is user daemon from el8 used in
>
> https://github.com/apache/guacamole-server/blob/master/src/guacd/systemd/guacd.service.in
>
>
Yes, we chose a default user that is likely to exist across multiple
distributions/platforms, but there can be some issues with the home
directory not being writable and the user may be need to be switched. I
tend to create a separate account for guacd and run it under that account.
-NIck
Re: guacd.service dont work on el8
Posted by Centrum <pa...@centrum.cz>.
Oh, It seems problem is user daemon from el8 used in
https://github.com/apache/guacamole-server/blob/master/src/guacd/systemd/guacd.service.in
[root@websrv2 ~]# su daemon -s /bin/bash
bash-4.4$ /sbin/guacd -b 0.0.0.0 -f -L debug
guacd[133864]: INFO: Guacamole proxy daemon (guacd) version 1.4.0
started
guacd[133864]: DEBUG: Successfully bound AF_INET socket to host
0.0.0.0, port 4822
guacd[133864]: INFO: Listening on host 0.0.0.0, port 4822
guacd[133864]: INFO: Creating new client for protocol "rdp"
guacd[133864]: INFO: Connection ID is "$af781d48-ffaa-4dde-8a28-
dc8903395387"
guacd[133867]: WARNING: FreeRDP initialization may fail: The current
user's home directory ("/sbin") is not writable, but FreeRDP generally
requires a writable home directory for storage of configuration files
and certificates.
guacd[133867]: DEBUG: Processing instruction: size
guacd[133867]: DEBUG: Processing instruction: audio
guacd[133867]: DEBUG: Processing instruction: video
guacd[133867]: DEBUG: Processing instruction: image
guacd[133867]: DEBUG: Processing instruction: timezone
guacd[133867]: DEBUG: Parameter "console" omitted. Using default
value of 0.
guacd[133867]: DEBUG: Parameter "console-audio" omitted. Using
default value of 0.
guacd[133867]: DEBUG: Parameter "disable-auth" omitted. Using default
value of 0.
guacd[133867]: INFO: No security mode specified. Defaulting to
security mode negotiation with server.
guacd[133867]: DEBUG: User resolution is 1200x1817 at 96 DPI
guacd[133867]: DEBUG: Parameter "dpi" omitted. Using default value of
96.
guacd[133867]: DEBUG: Using resolution of 1200x1817 at 96 DPI
guacd[133867]: DEBUG: Parameter "force-lossless" omitted. Using
default value of 0.
guacd[133867]: DEBUG: Parameter "read-only" omitted. Using default
value of 0.
guacd[133867]: DEBUG: Parameter "client-name" omitted. Using default
value of "Guacamole RDP".
guacd[133867]: DEBUG: Parameter "enable-wallpaper" omitted. Using
default value of 0.
guacd[133867]: DEBUG: Parameter "enable-theming" omitted. Using
default value of 0.
guacd[133867]: DEBUG: Parameter "enable-font-smoothing" omitted.
Using default value of 0.
guacd[133867]: DEBUG: Parameter "enable-full-window-drag" omitted.
Using default value of 0.
guacd[133867]: DEBUG: Parameter "enable-desktop-composition" omitted.
Using default value of 0.
guacd[133867]: DEBUG: Parameter "enable-menu-animations" omitted.
Using default value of 0.
guacd[133867]: DEBUG: Parameter "disable-bitmap-caching" omitted.
Using default value of 0.
......
bash-4.4$ cat /etc/passwd | grep daemon
daemon:x:2:2:daemon:/sbin:/sbin/nologin
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: guacd.service dont work on el8
Posted by Nick Couchman <vn...@apache.org>.
On Thu, Feb 10, 2022 at 2:35 AM Pavel Mlčoch <pa...@centrum.cz> wrote:
> Hello folks,
> I have problem after install on el8 (rocky8.5), but I don't know if isn't
> bug.
> Default service file guacd.service is configured for user daemon and one
> parameter -f and if I start service, It don't work and no error in log.
> Selinux is disabled all the time.
> So then I start instead in cli mode as daemon and It don't work too.
> I tried start as daemon with paramaeters "-b 0.0.0.0 -f" it dont work too.
> Finally this works when I start It as user root and with "-b 0.0.0.0 -f",
> but without this parameters It don't works too.
>
Can you provide more detail as to what you mean when you say it doesn't
work? Some questions that might help clarify this:
* When you start the guacd daemon on the command line, not as a service,
what output do you get?
* How are you testing it to see whether or not it works? What behavior do
you see, and what are you expecting?
* If you start with "-L debug" as a command line option, do you get any
additional error messages that help indicate what isn't working?
-Nick