当我在登录屏幕中输入密码时,屏幕会变黑一两秒钟,然后返回到登录屏幕。无论我尝试多少次,我都无法登录。我以前从未遇到过这个问题。
按 ctrl+alt+F1 有效,我可以登录并运行命令。
在网上搜索我发现其他人也报告了类似的问题,但没有一个报告的解决方案对我有用。其中包括运行 clean、autoclean 和 autoremove。.Xauthority 归我所有,而不是 root。
任何可以帮助我解决或至少诊断问题的想法?
编辑 1:我运行命令 df 它返回这个:
Edit 2: Actions I performed days before the problem began, that might be part of the problem: I tried installing matlab and during that process my root partition "/" filled up. Then I deleted some old kernels to free up some space, keeping only the last 2.
Edit 3: Running sudo find / -size "+200M" gives the following output:
You have a full root partition /dev/sda6
(Unavailable 0, Used% 100%).
Try free some space
sudo rm /var/cache/apt/archives/*.deb
, check df
again.If still didn't get free space, look for large files using find
command. Example:
sudo find / -size "+200M"
"+200M" means larger than 200 MiB
And delete what seems not important or could be restored later.
Reboot
Note: about the root partition size, based on personal experience.
14GB seems small but it is okey for someone using machine only for Internet communications and Office things. Going beyond that probably you going to need more. My usual minimum is 20~25GB. If I'm expecting to install an engineering (1~12GB at least for electronics) or game software which nowadays raised the bar (some even passed 25GB), I go higher 30~65GB (40~10% of HDD capacity).
建议不要忽略空间不足的警告消息。大多数应用程序不够健壮,无法处理“没有剩余空间”,那么您可能会面临有时难以解决的副作用问题,例如文件损坏、安装不完整……在您看来,这可能只是应用程序无法加载,登录循环或奇怪的行为,因为底层服务无法启动...
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句