2

As I was trying to install an alternative keyboard layout I ended up deleting my /usr/share/X11/xkb/* folders. I tried to reinstall them with apt-get remove xkb-data && apt-get install xkb-data. I also ran an apt-get update somewhere along the way.

My problem is, booting now, I hang at Starting CUPS printing spooler/server. If I Alt + Ctrl + F3 I can login but I cannot run startx (which seems relevant) because I get xinit: unable to connect to X server: Connection refused

If I run echo manual | sudo tee /etc/init/lightdm.override booting takes me directly to the login shell but I still cannot run startx.

Shelby
  • 31

1 Answers1

1

The problem turned out to be with lightdm after an upgrade.

I was able to get it working with the following commands:

sudo apt-get install ubuntu-session (I'm not sure if this is needed, I ended up not using lightdm anyway)

sudo apt-get install gdm (Select gdm from the list)

sudo dpkg-reconfigure lightdm (Select gdm from the list)

reboot

This solution ends up with GDM as the display manager for Ubuntu, but I like the look and it runs better on my machine.

Some links that may be useful:

General "Computer boots to black screen" problem troubleshooting

Shelby
  • 31