Some additional information:
I’m using the latest version (7.6.2) of NoMachine on the server and client.
These are the mount option of my “old” home drive (that didn’t have this session directory issue):
type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=x.x.x.x,mountvers=3,mountport=2049,mountproto=udp,local_lock=none,addr=x.x.x.x)
These are the mount options of my new home drive which has this session directory creation issue:
type nfs4 (rw,relatime,vers=4.1,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=krb5,clientaddr=x.x.x.x,local_lock=none,addr=x.x.x.x)
So I’m assuming it’s the “sec=krb5” option that’s giving problems, but I’m not sure.
And I’d still like to know why this “UserHome” override in server.cfg is not working…