If you are not already root, switch users to the
su -Provide the administrator password when prompted.
If you have not already done so, install the X Window System and a graphical desktop environment. For example, to install the GNOME desktop environment, use this command:
yum groupinstall "X Window System" DesktopTo install the KDE desktop environment, use:
yum groupinstall "X Window System" "KDE Desktop"This step may take some time as your Red Hat Enterprise Linux system downloads and installs additional software. You may be asked to provide the installation media depending on your original installation source.
Run the following command to edit the
Press the I key to enter
Find the line that includes the text
initdefault. Change the numeral
:wqand press the Enter key to save the file and exit the vi text editor.
Reboot the system using the
rebootcommand. Your system will restart and present a graphical login.