Booting to gnome by default
Solution 1
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)
Solution 2
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.
Solution 3
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.
Related videos on Youtube
oadams
Updated on September 17, 2022Comments
-
oadams over 1 year
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?
-
oadams over 13 yearsWhen i run 'gnome-session', I'm given the warning "Cannot open display"
-
-
wgrant over 13 yearsAlso,
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, installxserver-xorg
. -
oadams over 13 yearsYeah, it does: no need to install xserver-xorg