(10-26-2021, 02:17 AM)wangyukunshan Wrote: [...] it takes some luck to log in to the graphical interface. Sometimes you enter the command line and sometimes you enter the login interface. [...]I assume you downloaded the first version of the SD card image i provided, and which has both wmlive-gdm and lightdm installed in parallel.
As it turns out, even if one of the two session managers is definitely chosen as the default one (via "dpkg-reconfigure -plow lightdm", e.g.), until the other one has either not been completely deinstalled or at least disabled (via "systemctl disable wmlive-gdm" or "systemctl disable lightdm"), there is a race condition during startup that results in the behaviour you observed.
So if my guess is correct and you are using the older SD card image, then just disable or remove one of the present session managers and future startups will launch the X11 session in the expected normal manner.
Please let me know if this solves your issue. Thanks!
Devices: Pinebook Pro & Pinephone (Braveheart)