If you installed using a text login and wish to switch to a graphical login, follow this procedure.
1) If you are not already root, switch users to the root account:
su -
Provide the administrator password when prompted.
2) 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" Desktop
To install the KDE desktop environment, use:
yum groupinstall "X Window System" "KDE Desktop"
This step may take some time as your Linux 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:
vi /etc/inittab
4) Press the 'i' key to enter insert mode.
5) Find the line that includes the text initdefault.
To change from a console to a graphical login, you should change the number in the line id:3:initdefault: from a 3 to a 5.
6) Type :wq and press the Enter key to save the file and exit the vi text editor.
If you want to go in graphical environment before restarting the server. Just type
#yum startx
Otherwise, Reboot the system using the reboot command. Your system will restart and present a graphical login.
1) If you are not already root, switch users to the root account:
su -
Provide the administrator password when prompted.
2) 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" Desktop
To install the KDE desktop environment, use:
yum groupinstall "X Window System" "KDE Desktop"
This step may take some time as your Linux 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:
vi /etc/inittab
4) Press the 'i' key to enter insert mode.
5) Find the line that includes the text initdefault.
To change from a console to a graphical login, you should change the number in the line id:3:initdefault: from a 3 to a 5.
6) Type :wq and press the Enter key to save the file and exit the vi text editor.
If you want to go in graphical environment before restarting the server. Just type
#yum startx
Otherwise, Reboot the system using the reboot command. Your system will restart and present a graphical login.
Comments
Post a Comment
Thanks for your valuable comments.