GUI does not start on boot
37,439
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.
Related videos on Youtube
Author by
fsh
Updated on September 18, 2022Comments
-
fsh over 1 year
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 almost 11 yearsAfter boot up the command
sudo service lightdm start
start up my X as expected with panels and all customization working. File /etc/X11/default-display-manager contains /usr/sbin/lightdm, needed not to change anything. The executable file exist in that folder. After reboot X does not start automatically, still requires to manuallysudo service lightdm start
. How to make lightdm service to start automatically ? -
girardengo almost 11 yearstry to reconfigure package:
sudo dpkg-reconfigure lightdm
. If not working, try to delay startup of lightdm: in/etc/init/lightdm.conf
before commandexec lightdm
addsleep 2
(or more). It seems to be a issue related of use of SSD.