The guacd-1.0.0 package currently available from EPEL creates a "guacd" user and home directory /var/lib/guacd upon installation, then starts guacd as that user.
That's how it ensures a writable home directory. Stefan https://centos.pkgs.org/7/epel-x86_64/guacd-1.0.0-3.el7.x86_64.rpm.html [root@dev7 ~]# rpm -q guacd guacd-1.0.0-3.el7.x86_64 [root@dev7 ~]# rpm -q --scripts guacd | head -5 preinstall scriptlet (using /bin/sh): getent group guacd >/dev/null || groupadd -r guacd &>/dev/null || : getent passwd guacd >/dev/null || useradd -r -s /sbin/nologin \ -d /var/lib/guacd -M -c 'Guacamole proxy daemon' -g guacd guacd &>/dev/null || : exit 0 [root@dev7 ~]# cat /usr/lib/systemd/system/guacd.service [Unit] Description=Guacamole proxy daemon Documentation=man:guacd(8) After=network.target [Service] EnvironmentFile=-/etc/sysconfig/guacd Environment=HOME=/var/lib/guacd ExecStart=/usr/sbin/guacd -f $OPTS Restart=on-failure User=guacd Group=guacd [Install] WantedBy=multi-user.target [root@dev7 ~]# On Feb 4, 2020, at 15:12, Zer0Cool <[email protected]<mailto:[email protected]>> wrote: When trying to connect via RDP I get the following error in /var/log/messages: "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." The release notes for Guac 1.1.0 mention this issue but not how to actually fix/resolve it: "For Guacamole’s RDP support, this means that the user running guacd must have a valid, writable home directory, and that RDP connections...may begin failing if the user running guacd does not have a valid home directory." How do I determine what user/account is running guacd and how do I ensure it has a writable home dir? "Sanity checks have been added to Guacamole’s RDP support which will log warnings if these conditions are not met." Which log provides these warnings? What are the conditions? Thanks -- Sent from: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-guacamole-general-user-mailing-list.2363388.n4.nabble.com%2F&data=02%7C01%7Csmr%40kmi.com%7C1f5e7306efd4414e126608d7a97c4581%7Cc2283768b8d34e008f3d85b1b4f03b33%7C0%7C0%7C637164223537735730&sdata=YelkH6bG9euWg52ayUw085wH9GQwtXtHPJIHeim%2B0o8%3D&reserved=0 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected]<mailto:[email protected]> For additional commands, e-mail: [email protected]<mailto:[email protected]> CONFIDENTIALITY NOTICE: This communication may contain privileged and confidential information, or may otherwise be protected from disclosure, and is intended solely for use of the intended recipient(s). If you are not the intended recipient of this communication, please notify the sender that you have received this communication in error and delete and destroy all copies in your possession.
