為了方便觀察 X Window 啟動錯誤,且先安裝
sudo apt install xserver-xorg-legacy
,修改預設值︰
pi@raspberrypi:~
在確定 lightdm 當下組構後︰
pi@raspberrypi:~
啟動 lightdm.service systemd 服務,果以失敗告終︰
pi@raspberrypi:~ sudo systemctl status lightdm.service ● lightdm.service - Light Display Manager Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2017-10-20 17:05:45 CST; 2s ago Docs: man:lightdm(1) Process: 709 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE) Process: 705 ExecStartPre=/bin/sh -c [ "
為明原因,因此用 xinit 直接執行 X11/Starting Sessions 也。
pi@raspberrypi:~
再加上
python3 ~/kivy/examples/demo/pictures/main.py
,運作正常。
當真懸疑的很呦!
嘗聞樹莓派論壇曾經有人談起︰
Boot: ‘Failed to start Light Display Manager.’
Yesterday I started my RasPi 2 and it booted up normally, but then it shows the text ‘[FAILED] Failed to start Light Display Manager. See “systemctl status lightdm.service” for details.’ The result can be found here:
https://www.dropbox.com/s/e1kaqldzo9hz9 … 9.jpg?dl=0.
‘journalctl -u lightdm’ returns ‘No journal files were found.’.
The internet didn’t help so I hope some of you guys can help me out.
https://www.dropbox.com/s/e1kaqldzo9hz9 … 9.jpg?dl=0.
‘journalctl -u lightdm’ returns ‘No journal files were found.’.
The internet didn’t help so I hope some of you guys can help me out.
那時不以為意,誰知眼前就遇之矣?
竟然換個螢幕就 OK 了呦◎