NoMachine Support

Your questions answered

Knowledge Base

Searching in: Trouble Reports
Filter the search results
Last update:
Searching in: Trouble Reports
ID: TR04R09659
Added on: 2020-04-29
Last update: 2020-11-18
Affects: 6
Due to be solved in:  6.x
Platform: All Mac OS X Platforms
Product: NoMachine Server
Severity: Minor
Status: Open
AD mobile accounts cannot create sessions on macOS at the first login if they cannot access their home

NoMachine requires that the user has already access to his/her home directory when logging-in to the server, in order to be able to create the .nx directory there. If the user cannot access for some reasons the home directory, the session will fail to start.

This happens for example when the user logs-in for the first time via NoMachine with a AD mobile account: his/her home directory is not already present on the system.

A similar problem occurs also when the AD configuration set users' home directory to /var/empty, which is not accessible by the user.

As a possible workaround, set the 'UserNXDirectoryPath' key in /Applications/ to an already existent directory already accessible by the user, for example /tmp.

As an alternative, create the mobile account via command line before the user logs-in by NoMachine:
/System/Library/CoreServices/ -n $Username

Notify me when the TR is closed.