Lv.的博客

debian非正常关机进不了图形界面的解决方法

 昨天调试一个程序的时候,把界面设置成了POPUP方式,结果触发断点的时候,界面不能最小化,程序就死到那了,动不了,没办法只好按电源了,结果启动的时候提示

An automatic file system check (fsck) of the root filesystem fialed. 
A manual fsck must be performed, then the system restarted. 
The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. 
*The root system is currently mounted in read-only mode. 
A maintenance shell will now be started. 
After performing system maintenance , press CONTROL-D to terminate,the maintenance shell and restart the system. 
Give root password for maintenace 
(or type Control-D to continue)

 

输入密码,结果回不到图形界面了,startx也没用,就BAIDU了下,输入fsck,一路按y,结束之后重启就OK了

posted @   Avatarx  阅读(898)  评论(0编辑  收藏  举报
(评论功能已被禁用)
编辑推荐:
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
点击右上角即可分享
微信分享提示