1, CTRL + ALT + 2, switch to text desktop
2, login by user/password
3, ps -t tty7
4, find the pid of Xorg
5, kill it by "sudo kill -9 xxx" or "sudo killall Xorg"
The graphics desktop will restart later, but the session may lost.
本文介绍了一种通过命令行操作来重启图形桌面的方法。具体步骤包括切换到文本桌面、登录用户、查找Xorg进程ID并终止它。需要注意的是,此操作可能会导致会话丢失。
1, CTRL + ALT + 2, switch to text desktop
2, login by user/password
3, ps -t tty7
4, find the pid of Xorg
5, kill it by "sudo kill -9 xxx" or "sudo killall Xorg"
The graphics desktop will restart later, but the session may lost.
1339
5938

被折叠的 条评论
为什么被折叠?