HTML5GW connections fail with PSMGW0008E due to FreeRDP2 home directory requirement
179
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:04 PM
Symptom
Connections via HTMl5GW fail with PSMGW0008E.
Regardless of using RDP or TLS protocol.
Within debug enabled logs, we will see following error messages:
==
guacd[10261]: FreeRDP initialization may fail: Writability of the current user's home directory ("/home/psmgwuser") could not be determined: No such file or directory
guacd[10261]: Security mode: RDP/TLS
.
.
.
guacd[10261]: RDP server closed/refused connection: Server refused connection (wrong security type?)
==
Environment
12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM)
PSM HTML5 Gateway (RPM)
Cause
The reason of failure is due to FreeRDP2's requirement for writability of the current user's (psmgwuser) home directory.
- Either the home directory is not valid
- Or there are permissions issues with the home directory
Resolution
To resolve this issue:
- If the directory is missing, recreate the folders and make sure ownership is psmgwuser with full permissions.
- If it is due to incorrect permissions of the folder, make sure to resolve the it to the correct permissions. psmgwuser should have full permissions to their own home directory.