日期:2014-05-16  浏览次数:20768 次

linux 登录普通用户产生GDM could not write to your authorization file.

linux 登录普通用户产生GDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. Please contact your system administrator

?

解决方案:

df -h看下磁盘空间 如果磁盘空间充足

执行

? chmod 1777 /tmp

? chmod u+rw .Xauthority

也有可能由于linux长时间连续工作,产生tmpfs空间不足的问题,解决此类问题登录超级用户,df -h 查看文件系统的使用空间状态,显示tmpfs已使用100%,然后继续了解一下tmpfs,其中有一条表示tmpfs没有持久性,于是restart,重新登陆还是不行。但是资料应该没错,可能是在用命令reboot的时候tmpfs并没有释放掉,于是我shutdown后再用电源键启动,OK,恢复正常。