我尝试安装具有 LDAP 身份验证并/home
从 NFS 服务器挂载的 Ubuntu 16.04 桌面。没有/home
NFS 挂载,一切都运行正常。但是登录后挂载后,我回到了登录屏幕。
/var/log/syslog
:
Oct 8 20:29:38 w00 lightdm[1301]: ** (process:1611): WARNING **: Error reading existing Xauthority: Failed to open file '/home/foo/.Xauthority': Permission denied
Oct 8 20:29:38 w00 lightdm[1301]: Error writing X authority: Failed to open X authority /home/foo/.Xauthority: Permission denied
/etc/fstab
:
share.srv:/media/home /home nfs defaults,noatime 0 0
/etc/exports
从 NFS 服务器:
/media/home 10.0.23.0/24(rw,async,no_subtree_check,no_root_squash)