X connection to :0 broken

Hi,

I am running RebornOS under VMware. Recently I am having problems trying to log in via lightdm. After I enter my password and press the “Log In” button in the greeter, I can see my desktop for about half a second and then the login screen reappears.

I can see the message X connection to :0 broken (explicit kill or server shutdown). in the .xsession-errors file:

$ cat .xsession-errors | nc termbin.com 9999
https://termbin.com/7ko0

Here are the contents of some files on my system:

$ cat /var/log/Xorg.0.log | nc termbin.com 9999
https://termbin.com/kkbr
$ cat /var/log/Xorg.1.log | nc termbin.com 9999
https://termbin.com/2a58
$ sudo cat /var/log/lightdm/lightdm.log | nc termbin.com 9999
https://termbin.com/s3wn
$ sudo cat /var/log/lightdm/seat0-greeter.log | nc termbin.com 9999
https://termbin.com/vltgp
$ cat /etc/lightdm/lightdm.conf | nc termbin.com 9999
https://termbin.com/jvpf
$ cat /etc/lightdm/lightdm-gtk-greeter.conf | nc termbin.com 9999
https://termbin.com/fain

Other info:

$ lightdm --test-mode --debug |& nc termbin.com 9999
https://termbin.com/g1tv

Hope I have provided enough details. Let me know if you need other info.

Thank you for your assistance.

hello,

is there enough space on the root partition ?
often causes falling back to loginscreen if too little

Lots of space

$ df -h | grep -w /
/dev/sda2 75G 53G 21G 72% /

ok,
did you try to create another (new) user ?
once that solved a similar problem I had…
I guess you checked the status of lightdm ?
systemctl status lightdm.service

also you may take another loginmanager (e.g. ly)
no need to remove lightdm , only disable it

Thank you for your reply and suggestions.

The new user also cannot log in. After the first login, the system created the .Xauthority file, but it is empty.

$ systemctl status lightdm.service | nc termbin.com 9999
https://termbin.com/qh5o

I am not familiar with ly. I will look into it.

ly is a TUI display/login manager you find in the arch packages (extra)
after installing it, there is to disable lightdm and enable ly (by systemctl … )

EDIT
of course you may choose another displaymanager - e.g. sddm, gdm, or … ?
ly is the one I like most :smile:

if the alternative dm works, lightdm may become reinstalled to solve the issue