Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Ubuntu 12.04 boots to terminal every time. I can log into the terminal and get Unity going via startx to blank wallpaper then Ctrl+Alt+T terminal and unity --restart.

This then gets everything working as I wish...until the next reboot rinse and repeat.

How do I repair this so that I start directly into GUI/unity?


Changing the env RUNLEVEL = 2 did net help. see the original file below.

My /etc/init/rc-sysinit.conf follows:

# rc-sysinit - System V initialisation compatibility
# This task runs the old System V-style system initialisation scripts,
# and enters the default runlevel when finished.

description "System V initialisation compatibility"
author      "Scott James Remnant <scott@netsplit.com>"

start on (filesystem and static-network-up) or failsafe-boot
stop on runlevel

# Default runlevel, this may be overriden on the kernel command-line
# or by faking an old /etc/inittab entry
env DEFAULT_RUNLEVEL=5    <--I did try changing this to 2

emits runlevel

# There can be no previous runlevel here, but there might be old
# information in /var/run/utmp that we pick up, and we don't want
# that.
# These override that
env RUNLEVEL=5   <--I did try changing this to 2
env PREVLEVEL=5  <--I did try changing this to 2

console output


    # Check for default runlevel in /etc/inittab
    if [ -r /etc/inittab ]
    eval "$(sed -nre 's/^[^#][^:]*:([0-6sS]):initdefault:.*/DEFAULT_RUNLEVEL="\1";/p' /etc/inittab || true)"

    # Check kernel command-line for typical arguments
    for ARG in $(cat /proc/cmdline)
    case "${ARG}" in
        # Emergency shell
        [ -n "${FROM_SINGLE_USER_MODE}" ] || sulogin
        # Override runlevel
        # Single user mode

    # Run the system initialisation scripts
    [ -n "${FROM_SINGLE_USER_MODE}" ] || /etc/init.d/rcS

    # Switch into the default runlevel
    telinit "${DEFAULT_RUNLEVEL}"
end script
share|improve this question
See if this helps? askubuntu.com/questions/200774/boots-up-into-terminal –  Mitch Nov 19 '13 at 9:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.