Cent OS linux question?

Discussion in 'Linux Discussion' started by Mieog, May 5, 2008.

  1. Mieog Guest

    Mieog
    does anyone know how to go from the command line interface to the GUI in Cent OS linux. when my computer starts is starts in text mode. I can login as root but I dont knwo how to get to the desktop.
  2. Valdis K Guest

    Valdis K
    The line in /etc/inittab you are interested in looks like this:

    # Default runlevel. The runlevels used by RHS are:
    # 0 - halt (Do NOT set initdefault to this)
    # 1 - Single user mode
    # 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
    # 3 - Full multiuser mode
    # 4 - unused
    # 5 - X11
    # 6 - reboot (Do NOT set initdefault to this)
    #
    id:5:initdefault:

    Use 3 or 5 as appropriate on that line. Don't change anything else in that file unless you know what you're doing, as you will likely need to boot from the CentOS Rescue Disk to get your system to boot if you screw it up...
Loading...

Share This Page