LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-28-2013, 06:13 AM   #1
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92
Blog Entries: 1

Rep: Reputation: Disabled
Not getting CLI Mode in debian (6.0 squeez)


after successfuly install the debian i got GUI mode but i want to work with only CLI mode.
for that i did the change
#vi /etc/inittab
and make change -
id:3:initdefaults:

But no luck...........Please guide me..

Last edited by jitendra.sharma; 03-28-2013 at 06:37 AM.
 
Old 03-28-2013, 07:20 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Do not you want to open a terminal for CLI interface, as under Applications > Programming/utilities > Terminal.
 
Old 03-28-2013, 07:33 AM   #3
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
i know about this but i want complete command line prompt only (black & white).
 
Old 03-28-2013, 07:33 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,726

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
debian based distributions have different run level definitions.

http://en.wikipedia.org/wiki/Runlevel

http://www.debianadmin.com/howto-boo...-mode-gui.html
 
Old 03-28-2013, 07:48 AM   #5
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Found a way, invoke following cmd as root/sudo:
Code:
~# update-rc.d -f gdm remove
OR
~$ sudo update-rc.d -f gdm remove
To restore GUI back:
Code:
~# update-rc.d -f gdm defaults
Also check here.
 
1 members found this post helpful.
Old 03-28-2013, 07:54 AM   #6
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
Ctrl-Alt-F1 through F6 switches your display to each of 6 consoles, Ctrl-Alt-F7 returns you to X (as you left it)
 
Old 04-02-2013, 02:01 AM   #7
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
thanks shiva i got cli mode...........
 
Old 04-02-2013, 02:10 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Quote:
Originally Posted by jitendra.sharma View Post
after successfuly install the debian i got
GUI mode but i want to work with only CLI mode.
for that i did the change
#vi /etc/inittab
and make change -
id:3:initdefaults:
Debian is not RHEL. By default runlevel 2, 3, 4 and 5 are all the same.
If you want runlevel 3 to not have X11, then you need to modify it.
Eg.
Code:
mv /etc/rc2.d/S05gdm3 /etc/rc2.d/K05gdm3
Or modify it using whatever gui or cli tool you are comfortable with.

Evo2.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] I want to go CLI mode whenever my system start. euro007 Linux - Desktop 3 12-28-2011 02:03 AM
LXer: Setting Up An Android App Build Environment With Eclipse, Android SDK, PhoneGap (Debian Squeez LXer Syndicated Linux News 0 03-07-2011 10:50 PM
CLI mode default Ammad Solaris / OpenSolaris 3 06-16-2006 10:38 AM
How do i swith from GUI mode to CLI mode in fedora core 3 tinfocoms Fedora 5 09-08-2005 07:23 AM
Boot Knoppix into CLI only mode? rm6990 Linux - Distributions 3 10-18-2004 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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