昨天打開我心愛的xubuntu,發現上下的panel居然不見了,極其郁悶!雖然可以手工啟動,但出現了更惱人的問題,xfce啟動明顯慢了很多,控制臺可以看到錯誤信息“xfce4-panel is not running”.在xinitrc中,可以看到,如果panel啟動失敗,會重試很多次,這就是啟動變慢的元兇了。
查了很多地方都沒有得到答案,最后還是在debian社區找到了線索,ubuntu他爸萬歲。。。
Hm, after nuking ~/.cache/sessions/, the problem is gone.
As I didn't make a copy beforehand I can longer reproduce the problem, so feel
free to close the bug.
說得很清楚了,只要刪除~/.cache/sessions/ 目錄下的所有內容就可以了。
此問題我想與xfce的session保存有關。保存session時可能出現了文件損壞,導致這個問題。
如果想一勞永逸,不保存session就好了,從個人經驗來講,保存session并沒有太多實用價值。