Ubuntu登录后黑屏,或者桌面图标消失不见
Ubuntu登录后黑屏,或者桌面图标消失不见
原因一
Ubuntu的图形界面模块损毁了
方法一
重新安装xserver-xorg-lts-quantal,如果提示没有包xserver-xorg-lts-quantal,证明图形界面不是用xserver-xorg-lts-quantal,换下面的方法继续尝试
sudo apt-get update
sudo apt-get install xserver-xorg-lts-quantal
sudo dpkg-reconfigure xserver-xorg-lts-quantal
sudo reboot
方法二
安装新的桌面显示管理器lightdm
sudo apt-get install lightdm
方法三
程序安装ubuntu桌面
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo shutdown -r now
原因二
搜狗输入法兼容的问题,ubuntu20.04 只要是安装了sougou必定卡机黑屏,原因现在不明,反正我卸载了就能用了。
方法一
卸载sogoupinyin和fcitx
sudo apt-get remove sogoupinyin
sudo apt-get remove fcitx
sudo apt-get autoremove //自动移除无用的包。
reboot
原因三
window的LSP出问题(window上装Linux虚拟机)
方法一
window的LSP出问题,cmd进入window的命令行
netsh winsock reset
#输入完后重启电脑
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)