I am running Ubuntu 12.04 LTS with all updates.
At some point I experienced some trouble with LightDm, so after reading up on AskUbuntu I switched to GDM. No problems, except that I cannot get GDM to start automatically.
Whenever my system boots, I am shown a CLI/text-mode console.
I can log in just fine.
Running "sudo start gdm" gets my graphical interface up and everything works smoothly.
How can I have GDM start automatically?
The permissions on /etc/init.d/gdm are
lrwxrwxrwx 1 root root 21 Jan 7 2014 /etc/init.d/gdm
What I have tried:
1- Following mchid's suggestion, I tried running
sudo dpkg-reconfigure gdm
It executes without any error message / prompt but, upon rebooting, the problem persists: I am again at a text prompt.
2- Following this thread, I tried to run
sudo apt-get install -f -m --reinstall -u gdm
but nothing happens:
Reading package lists... Done Building dependency tree Reading state information... Done Reinstallation of gdm is not possible, it cannot be downloaded. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.