3

When I boot Kubuntu, it just starts a CLI instead of booting the desktop environment.

When I try kstart or plasmashell or startkde, it fails with the message "cannot connect to X server :0.0".

The problem is the same with or without sudo. (e.g. kstart and sudo kstart)

echo $DISPLAY outputs :0.0

PS:

  • Reading this thread on a different but related problem makes me think XAUTHORITY might be missing or malformed, but I'm not sure how to fix that. echo $XAUTHORITY returns nothing, just a blank.)
  • Tried reinstalling xorg, xauth, xserver-xorg, and xserver-xorg-core. No change in the problem.
  • This might also be relevant - kwin causing x to crash during boot.

  • Trying to set DISPLAY as advised here produced an error where it said that locking the authority file timed out. I tried this solution, and although it got rid of that error message about locking the authority file, things still can't connect to X server.

  • I guess another possibility is that the setting DISPLAY=:0 is different from what those packages are looking for when they try to start. How can I tell what display number they're seeking?

Grund
  • 161
  • 1
  • 4
  • 7

0 Answers0