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 @ 2014-07-10 08:57  Avatarx  阅读(881)  评论(0编辑  收藏  举报