I've installed a minimal gnome desktop on my ubuntu 14.04 server. How do I switch to it? Right now i'm on the tty. I tried Alt+f7 but it just takes me to a screen with a red cursor flashing in the top left corner. Help?


Depending on what you call "minimal", do:

cp /etc/skel/.xinitrc ~
echo 'exec gnome-session' >> ~/.xinitrc
startx ~/.xinitrc gnome-session

using .xinitrc to start X. Or:

service start gdm

(if you installed gdm, or other Display Managers, such as lightdm).


All you need to do is type the command:


from a command prompt (tty1-tty6).

Your Xsession should start on tty7, although, it may start on tty8 or another.

  • @mdpc it doesn't just depend on system configuration and can also depend on other factors, such as, if tty7 or tty8 are already in use.
    – mchid
    Oct 12 '14 at 22:14

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.