Logon with a temp home directory
You can specify a temp home directory for cases where the mount point on the Linux VDA fails. With a temp home directory specified, a prompt shows during a session logon when the mount point fails. User data is then stored under the temp home directory.
The following table describes registry keys that help with your home directory settings.
| Registry key | Description | Command |
|---|---|---|
LogNoHome |
Controls whether users can log on to sessions without a home directory. The default value is 1 and it means yes. If the value is set to 0, session logons without a home directory are disabled. | create -k "HKLM\System\CurrentControlSet\Control\Citrix" -t "REG_DWORD" -v "LogNoHome" -d "0x00000001" --force |
HomeMountPoint |
Sets a local mount point on the Linux VDA. For example, if /mnt/home is the mount point, a user's home directory is /mnt/home/domain/<user_name>. Make sure that the mount point is the same as the user home directory in your environment. This setting takes effect only when CheckUserHomeMountPoint is set to 0. |
create -k "HKLM\System\CurrentControlSet\Control\Citrix" -t "REG_SZ" -v "HomeMountPoint" -d "<A directory where the NFS share is to be mounted>" --force |
CheckUserHomeMountPoint |
Controls whether to set user-specific home directories as the mount point on the Linux VDA. If you want to set user-specific home directories as the mount point, set the value to 1. The default value is 0. | ctxreg create -k "HKLM\System\CurrentControlSet\Control\Citrix" -t "REG_DWORD" -v "CheckUserHomeMountPoint" -d "0x00000001" --force |
TempHomeDirectoryPath |
Sets a temp home directory on the Linux VDA in case the mount point fails. The default value is /tmp. The temp home directory setting takes effect only when the mount point determined by HomeMountPoint and CheckUserHomeMountPoint is unavailable. A temp home directory for a user is /tmp/CTXSmf_user_id. |
create -k "HKLM\System\CurrentControlSet\Control\Citrix" -t "REG_SZ" -v "TempHomeDirectoryPath" -d "</tmp by default>" --force |
CheckMountPointRetryTime |
Sets the number of checks, at a frequency of once per second, on whether mounting is successful. The default value is 5. | ctxreg create -k "HKLM\System\CurrentControlSet\Control\Citrix" -t "REG_DWORD" -v "CheckMountPointRetryTime" -d "0x000000010" --force |
RemoveHomeOnLogoff |
Controls whether to remove temp home directories on user logoffs. 1 means yes. 0 means no. | create -k "HKLM\System\CurrentControlSet\Control\Citrix" -t "REG_DWORD" -v "RemoveHomeOnLogoff" -d "0x00000000" --force |