Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My system boots into a console, from which I can launch my gnome desktop by issuing the command startx. How can X be instructed to start by default upon boot? The commands /etc/init.d/gdm3 start and /etc/init.d/gdm3 restart have no effect.

share|improve this question
up vote 2 down vote accepted

Per this thread, a solution is

apt-get remove --purge gdm3
aptitude install gdm3
share|improve this answer
apt-get purge gdm3 should also work, but I don't know since which version – Tshepang Feb 1 '12 at 9:46

Try the commands below.

update-rc.d -f gdm3 remove
update-rc.d gdm3 defaults
share|improve this answer
Thanks, @patrician. I tried that, but it did not resolve the problem. – user001 Feb 1 '12 at 4:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.