2

Ubuntu 12.04 does not start x after boot up. Worked until now without any problem, and last shutdown was clean.

After text log in I can run startx, but no tray and Alt+Tab does not working.

Command startx run my default gnome classic and gnome statup scripts also runs.

How to restore to start X automatically?

fsh
  • 29

1 Answers1

3

After boot,try to start desktop manager:

 sudo service lightdm start

then check if lightdm is default desktop manager:

 cat /etc/X11/default-display-manager

if not, edit file with:

/usr/sbin/lightdm (or /usr/bin/lightdm)

Reboot and lightdm should start.

girardengo
  • 5,005