17.3. Switching to a Graphical Login

If you installed using a text login and wish to switch to a graphical login, follow this procedure.

  1. Switch users to the root account:

    su -

    Provide the administrator password when prompted.

  2. If you have not already done so, install one of the graphical desktop environments. For instance, to install the GNOME desktop environment, use this command:

    yum groupinstall "GNOME Desktop Environment"

    This step may take some time as your Fedora system downloads and installs additional software. You may be asked to provide the installation media depending on your original installation source.

  3. Run the following command to edit the /etc/inittab file:

    nano /etc/inittab
  4. Find the line that includes the text initdefault. Change the numeral 3 to 5.

  5. Hit Ctrl+O to write the file to disk, and then hit Ctrl+X to exit the program.

  6. Type exit to logout of the administrator account.

If desired, you can reboot the system using the reboot command. Your system will restart and present a graphical login.

If you encounter any problems with the graphical login, consult one of the help sources listed in Section 1.1.2, “Getting Additional Help”.