Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

In order to fix a sound issue, I'd completely removed all PulseAudio packages, which removed several additional packages which I hadn't kept track of.

I have since added back several packages that had depended upon some of the packages, such as xubuntu-desktop (yes, I'm using Xubuntu, not the default Ubuntu setup).

Unfortunately, this has broken my setup a little bit, in that on boot, my graphical desktop manager is not started automatically. (in this case, I'm using GDM, not LightDM)

I can switch to a virtual terminal (via Alt-F1), login, then launch GDM with the following command:

sudo service gdm start

But this doesn't solve the problem itself.

I've also discovered that GDM is being started upon boot, but it's also getting killed by something.

Any help you guys can give would be great, because this is getting beyond annoying.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Try this:


sudo apt-get install -f -m --reinstall -u gdm

Meaning of the short options:

-f : fix broken

-m : fix missing

--reinstall : refresh archives to newest versions

Useful option:

-u : print out a list of all packages that are to be upgraded


sudo dpkg-reconfigure gdm

select GDM instead LightDM


sudo reboot 


share|improve this answer
thank you, Scott – swift Dec 27 '11 at 2:24

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.