Saturday, June 4, 2011

How to start Linux in command line or gui mode

When I installed CentOS, by default it landed in command line mode. To make gui mode as default during system startup, do the following as root user.

Change this line in /etc/inittab
id:3:initdefault:
to
id:5:initdefault:


You can also use startx to switch to gui mode.

No comments:

Post a Comment