19

I accidentaly did a command to delete Plymouth from my ubuntu 15.04:

sudo apt-get remove plymouth

and after this my login screen didn't appear any more. After GRUB menu the screen became black and nothing seems to happen. I installed Ubuntu again but the question remains on my mind: What is Plymouth and why it crashed my system?

26

What's wrong after uninstalling plymouth?

Removing Plymouth also removes the display manager, e.g. lightdm and/or gdm and a little bit more. Here is a snippet of the remove command on my system:

sudo apt-get remove --simulate plymouth
[…]
The following packages will be REMOVED:
  cryptsetup gdm lightdm mountall plymouth plymouth-label plymouth-theme-ubuntu-gnome-logo plymouth-theme-ubuntu-gnome-text plymouth-theme-ubuntu-logo plymouth-theme-ubuntu-text ubuntu-desktop ubuntu-gnome-desktop unity unity-greeter unity-tweak-tool upstart
  upstart-bin
[…]

That's the reason, why you don't have a login screen anymore.


An advice to revert the mistake

You can always login on tty1 and reinstall lightdm/gdm and the other removed packages like ubuntu-desktop and upstart. An overview of the removed packages can you find in /var/log/dpkg.log. In my example I would have to reinstall

sudo apt-get install gdm lightdm ubuntu-desktop upstart ubuntu-gnome-desktop unity unity-tweak-tool

After that start your display manager, e.g.

sudo service gdm start

or

sudo systemctl start gdm

What is Plymouth?

Plymouth is an application that runs very early in the boot process (even before the root filesystem is mounted!) and provides a graphical boot animation while the boot process happens in the background.

Source: apt-cache show plymouth

… and Plymouth replaces usplash.

Find more about Plymouth here.

  • Yes, now I understand. There was a way to undo Plymouth removal? Or may do login in other way? – LeoSantana Nov 4 '15 at 14:58
  • You can always login via tty1 and so on and reinstall lightdm/gdm and the other removed packages like ubuntu-desktop and upstart. – A.B. Nov 4 '15 at 15:03
  • And if you understand it, then you could mark the question as answered with a click on the check mark at the left side of the answer ;) – A.B. Nov 4 '15 at 15:05
  • A.B.: lightdm & gdm are display managers, not window manager..otherwise this is a good answer.. – heemayl Nov 4 '15 at 15:17
  • No problem..have my upvote now :) – heemayl Nov 4 '15 at 15:21
9

From Wikipedia:

Plymouth is a bootsplash (a graphical representation of the boot process of the operating system) for Linux. It supports animations. It makes use of Direct Rendering Manager (DRM) and KMS driver. It gets packed into the initrd.

Besides eye-candy, Plymouth also handles user interaction during boot.

  • 4
    I only upvoted because you recommended to search on net/wiki.. :D – We are Borg Nov 4 '15 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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