19

My problem is, that my Debian installation shows a grey screen on start up and boots into a console, instead into gnome.

When I start X manually with startx everything starts fine, so the DE seems to be functioning.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
Ymil
  • 193
  • 1
  • 1
  • 4

4 Answers4

16

The program where you type your user name and password in a graphical environment, and that logs you into a graphical session, is called a display manager. You need to install a display manager. On Debian, if you install any of the display manager packages then one of them will be started at boot time.

Any of the packages that provide the x-display-manager virtual package will do. As of Debian jessie, that's gdm3 (Gnome), kdm (KDE), lightdm (lightweight but themable), slim (lightweight but themable), wdm (lightweight but themable, oldish), xdm (old-style, bare-bones). You don't have to use a display manager that matches your desktop environment. If in doubt, pick lightdm.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
8

I was also confused by this problem for a long time. Reading the documentation from Debian wiki, at last, I finally found a way out.

# systemctl status gdm

# systemctl start gdm

and then I can access GUI again. Reference:

Siva
  • 9,017
  • 8
  • 56
  • 86
user177268
  • 81
  • 1
  • 1
6

First of all GNOME is already there, but by default it is off.

To reset your login manager so that it runs gnome at boot up, do (as superuser)

update-rc.d -f gdm3 defaults

Or you can re-install and select the proper options

You can install the GUI easily:

apt-get install gnome
Mattis
  • 3
  • 2
-5

Sometimes this happens if u run out of HD space if u can free some space using "CD" command to navigate through ur directories nd use the "rm 'file'" command to delete the file that can give u some free space then use the shutdown command to exit nd start the PC agin nd it will boot to the GUI. Pis ay