7

How do I install GDM and any other necessary packages for it to run on the Raspbian image?

zenbike
  • 2,520
  • 6
  • 20
  • 26

2 Answers2

8

The Pi doesn't have very powerful hardware. GDM will have heaps of Gnome dependencies. It might be better to look for a lighter weight login manager. SLIM might be a good choice (I think Raspbian is using it). Otherwise LightDM is what Ubuntu uses.

5

Assuming you just want to install GDM, and not an actual window manager, just run.

$ sudo apt-get install gdm

This would be strange though as GDM is a display manager. A display manager only provides the equivalent of a login prompt. In order to actually use your desktop you would need to install a window manager, such as GNOME or Xfce.

So, just in case you would like to also install a window manager then you need to do the following.

  1. First, you need to make sure you have tasksel and aptitude. You can install these on Debian-derived systems via apt-get.

    $ sudo apt-get install aptitude tasksel
    
  2. Now you need to install the GNOME task via tasksel.

    $ sudo tasksel install gnome-desktop --new-install
    

References

  1. Gnome - Debian Wiki
Alex Chamberlain
  • 15,638
  • 15
  • 69
  • 113