KDE sometimes starts at boot, and sometimes not

Well… I’m facing this issue for some time now, but I’m start wondering if I could fix it somehow.

When I start linux, sometimes it boots to kde login screen and sometimes it boots to terminal login. I can login on a user, startx and all is up and running again, so it’s not a great problem… but I’m curious about what could be happening.

I’m not very used to linux, so I’d welcome any help orienting me about where to start looking for the causes.

Thank you all.

When KDE login screen doesn’t appear look into this file through terminal:


/var/log/Xorg.0.log

maybe there is a clue in there why KDE login fails to start sometimes