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. |
create -k "HKLM\System\CurrentControlSet\Control\Citrix" -t "REG_SZ" -v "HomeMountPoint" -d "<A directory where the NFS share is to be mounted>" --force |
TempHomeDirectoryPath |
Sets a temp home directory on the Linux VDA in case the mount point fails. The default value is /tmp. The registry key depends on HomeMountPoint. It takes effect only when the system detects that the mount point 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 |
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 |