Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-23-2006, 12:27 AM   #1
Registered: Sep 2006
Posts: 140

Rep: Reputation: 15
Exclamation bypassing the GUI login and turn in Shell mode


Im using SLES9

How to run in shell mode in linux. See when I boot the server it will go in the GUI login asking for username and password. What I want is to bypass the GUI and go to Shell mode in boot up. How to achieve this.
Old 12-23-2006, 02:54 AM   #2
Registered: Jan 2006
Location: Chennai, Tamil nadu, India
Distribution: Debian Etch Testing
Posts: 117

Rep: Reputation: 16
open /etc/inittab as root user.

there will be a line like below


The number 2 is the default runlevel.

In the file, there will be some lines telling about the runlevels.

mostly 3 will be for console mode.

So, give 3 in the initdefault line.

check with your distro for the runlevel details.
Old 12-23-2006, 03:14 AM   #3
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 363

Rep: Reputation: 29
do some more

when you edit your file with the above configurations as said by friend.

do save the file and exit and when the next time you will reboot you will be prompted text mode login.

Old 12-23-2006, 03:18 AM   #4
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Edit /etc/inittab and change id:5:initdefault: to id:3:initdefault:. If you need to go into text mode without rebooting, do CTRL-ALT-F1 at the login screen, then login as root and do "init 3".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to login in GUI mode cjayps Linux - Desktop 1 11-27-2006 08:11 PM
Login Screen switching to GUI mode... manudath Linux - General 1 03-05-2005 03:17 AM
cannot login to gui mode.. aaru_ali Linux - Newbie 3 11-08-2004 08:23 AM
GUI mode login problem Tinku Linux - General 6 10-16-2004 01:31 PM
No longer able to login in GUI mode marvc Linux - Newbie 4 08-22-2002 06:06 PM

All times are GMT -5. The time now is 06:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration