Ubuntu
登錄桌面時黑屏
在Kubuntu 15.10上,我通過顯示管理器登錄時收到黑屏。我可以使用 Ctrl-Alt-F6 登錄到文本控制台並查看我的文件,但即使在那種環境中,當我鍵入時
startx
螢幕也只是一片空白,沒有任何進一步的反應。我已將~/.kde
目錄重命名為,~/.kde-old
但問題仍然存在。顯示管理器有一個設置“故障安全”,當我嘗試使用它設置登錄時,我只是在幾秒鐘後再次啟動回到顯示管理器螢幕。
這是 dmesg,我在下面粘貼了我認為的相關行,但點擊連結會將您帶到儲存整個日誌的 Pastebin。
[ 117.572448] kscreen_backend[1626]: segfault at 10 ip 00007f8c0cf068c0 sp 00007ffdfd0ed358 error 4 in KSC_XRandR.so[7f8c0cef3000+20000] [ 118.556865] kactivitymanage[1610]: segfault at 18 ip 00007fdc57430ee0 sp 00007ffde65b6878 error 4 in libqxcb.so[7fdc57402000+b5000] [ 118.569140] krunner[1633]: segfault at 18 ip 00007fcd52973e38 sp 00007ffed1ec3370 error 4 in libqxcb.so[7fcd5292a000+b5000] [ 118.572032] kdeconnectd[1632]: segfault at 18 ip 00007fcb022f3e38 sp 00007ffc58549500 error 4 in libqxcb.so[7fcb022aa000+b5000] [ 118.578476] kscreen_backend[1639]: segfault at 18 ip 00007f0956e02e38 sp 00007ffc3a121980 error 4 in libqxcb.so[7f0956db9000+b5000] [ 118.578622] kwin_x11[1629]: segfault at 18 ip 00007f2f5d039e38 sp 00007ffcf6c160e0 error 4 in libqxcb.so[7f2f5cff0000+b5000] [ 118.998290] plasmashell[1655]: segfault at 18 ip 00007f39a8edae38 sp 00007ffcf531f110 error 4 in libqxcb.so[7f39a8e91000+b5000] [ 120.469171] kglobalaccel5[1685]: segfault at 18 ip 00007fc6917f1e38 sp 00007fffb2965630 error 4 in libqxcb.so[7fc6917a8000+b5000] [ 120.475815] kglobalaccel5[1687]: segfault at 18 ip 00007f7b14409e38 sp 00007ffe5d3a59f0 error 4 in libqxcb.so[7f7b143c0000+b5000] [ 120.735669] kglobalaccel5[1700]: segfault at 18 ip 00007fde7578ae38 sp 00007ffe9d3d7520 error 4 in libqxcb.so[7fde75741000+b5000] [ 124.165384] show_signal_msg: 2 callbacks suppressed [ 124.165389] korgac[1719]: segfault at 18 ip 00007f4e33530e38 sp 00007ffe1e69b010 error 4 in libqxcb.so[7f4e334e7000+b5000] [ 124.203178] IPv6: ADDRCONF(NETDEV_UP): wlp5s0b1: link is not ready [ 124.821375] wlp5s0b1: authenticate with b0:48:7a:fd:99:ae [ 124.823047] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 1/3) [ 125.023234] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 2/3) [ 125.227080] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 3/3) [ 125.431014] wlp5s0b1: authentication with b0:48:7a:fd:99:ae timed out [ 125.627814] korgac[1727]: segfault at 18 ip 00007f0294472e38 sp 00007ffeec678ea0 error 4 in libqxcb.so[7f0294429000+b5000] [ 127.951872] klauncher[1774]: segfault at 18 ip 00007f25f91b2e38 sp 00007fffc3569a90 error 4 in libqxcb.so[7f25f9169000+b5000] [ 136.059194] wlp5s0b1: authenticate with b0:48:7a:fd:99:ae [ 136.059317] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 1/3) [ 136.261035] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 2/3) [ 136.464894] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 3/3) [ 136.668804] wlp5s0b1: authentication with b0:48:7a:fd:99:ae timed out [ 149.191322] IPv6: ADDRCONF(NETDEV_UP): wlp5s0b1: link is not ready [ 149.816413] wlp5s0b1: authenticate with b0:48:7a:fd:99:ae [ 149.816517] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 1/3) [ 150.017451] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 2/3) [ 150.221322] wlp5s0b1: direct probe to b0:48:7a:fd:99:ae (try 3/3) [ 150.425210] wlp5s0b1: authentication with b0:48:7a:fd:99:ae timed out [ 152.779659] kscreen_backend[1965]: segfault at 10 ip 00007f253f78c8c0 sp 00007ffe7a87d1b8 error 4 in KSC_XRandR.so[7f253f779000+20000] [ 152.941924] kactivitymanage[1952]: segfault at 18 ip 00007f1ae218bee0 sp 00007ffe18581458 error 4 in libqxcb.so[7f1ae215d000+b5000] [ 152.973211] kscreen_backend[1976]: segfault at 18 ip 00007f6ec2cf9e38 sp 00007ffe34ea0320 error 4 in libqxcb.so[7f6ec2cb0000+b5000] [ 152.997937] ksmserver[1975]: segfault at 18 ip 00007f756b05de38 sp 00007fffb2c7fe80 error 4 in libqxcb.so[7f756b014000+b5000]
我無法找到儲存
xrandr
其配置的位置,並且 X 日誌似乎沒有任何問題。我應該如何從這裡排除故障,沒有核武器~
甚至是/
?請注意,這個 Kubuntu 版本使用 Plasma 5,所以我進行了新安裝,而不是從以前的版本升級。安裝很順利,我已經使用該系統一個多星期了,沒有任何相關問題。這是一台筆記型電腦,有時連接到外接顯示器。
**編輯:**我剛剛創建了一個新使用者
test
,它也會從假定的故障安全登錄模式中啟動。但是,該使用者可以正常登錄其桌面。因此問題似乎出在我使用者的配置文件中。我現在正在將它們一分為二,但我仍然對想法持開放態度。謝謝你。
問題似乎出在
~/.local/share/kscreen
. 筆記型電腦在暫停時連接到外接顯示器,但在打開機箱時沒有顯示器。**我必須強調,我已經在這個設置上做了很多次了,所以我不知道為什麼在這個特定的時間會出現問題。*以下是有問題的文件,以供將來參考(是的,當我再次遇到同樣的問題時,我可能會在六個月後查看此文件)*:$ pwd /home/dotancohen/.local/share/kscreen $ ls 57aa46c23fd36deda7a9cfb885d7ecee 57aa46c23fd36deda7a9cfb885d7ecee_lidOpened 62f30f6a728bde980d325725a3f19f77 $ cat 57aa46c23fd36deda7a9cfb885d7ecee [ { "enabled": true, "id": "9dda8f0b1446d1e151e4d85bb529df5d", "metadata": { "fullname": "xrandr-unknown", "name": "LVDS1" }, "mode": { "refresh": 60.001659393310547, "size": { "height": 768, "width": 1366 } }, "pos": { "x": 1080, "y": 464 }, "primary": true, "rotation": 1 } ] $ cat 57aa46c23fd36deda7a9cfb885d7ecee_lidOpened [ { "enabled": true, "id": "9dda8f0b1446d1e151e4d85bb529df5d", "metadata": { "fullname": "xrandr-unknown", "name": "LVDS1" }, "mode": { "refresh": 60.001659393310547, "size": { "height": 768, "width": 1366 } }, "pos": { "x": 1080, "y": 464 }, "primary": true, "rotation": 1 } ] $ cat 62f30f6a728bde980d325725a3f19f77 [ { "enabled": true, "id": "9dda8f0b1446d1e151e4d85bb529df5d", "metadata": { "fullname": "xrandr-unknown", "name": "LVDS1" }, "mode": { "refresh": 60.001659393310547, "size": { "height": 768, "width": 1366 } }, "pos": { "x": 1080, "y": 464 }, "primary": true, "rotation": 1 }, { "enabled": true, "id": "0ffbea62a50d7b3aa8d01f0a7a422554", "metadata": { "fullname": "xrandr-E2342-211NDTC7A529", "name": "VGA1" }, "mode": { "refresh": 60, "size": { "height": 1080, "width": 1920 } }, "pos": { "x": 0, "y": 0 }, "primary": false, "rotation": 2 } ]
Dotan,只需執行它並完成它:
$ rm -rf ~/.local/share/kscreen
還可以親吻 Meirav、Maayan、Ofek 和 Ety!