6

I'm currently playing with virtualbox and just installed ubuntu-minimal.

I then proceeded to install gnome-core. After reinstalling, I rebooted but I'm taken back to the CLI. How do I load gnome when in command line? And how do I make it run gnome by default after booting?

1
  • When i run 'gnome-session', I'm given the warning "Cannot open display"
    – oadams
    Nov 17, 2010 at 6:35

3 Answers 3

3

If you want GNOME to start automatically, try installing gdm. GDM is the default X display manager (which provides the login screen, and launches GNOME on login), and it should automatically start on boot.

2
  • Also, gdm Recommends the X server and its drivers, so it should pull in enough to get a basic GNOME session going, I believe. If not, install xserver-xorg.
    – wgrant
    Nov 17, 2010 at 7:02
  • Yeah, it does: no need to install xserver-xorg
    – oadams
    Nov 17, 2010 at 7:13
2

install gdm. you can later set gdm to auto login to the user account with gnome (it will handle starting X for you as well)

2

In order to run gnome you must also install all the xorg/xserver stack as well as a lot of gnome pieces to get a functional desktop.

Normally you would just install ubuntu-desktop, which would install everything for you. But something in your question suggests what you want to do is install each package and see how it fits together to make a small install base. Run this:

apt-cache show ubuntu-desktop | grep Recommends:

And look through the results to find packages which you may need to install to get a gnome desktop working. Once you've got gdm and xorg installed it should just be a matter of:

sudo /etc/init.d/gdm start

And you can also make gdm start by default by adding it to the rc.d if it's not loading by default when you install it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .