LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-18-2008, 12:53 PM   #1
theunixwizard
Member
 
Registered: Feb 2008
Distribution: Ubuntu,Fedora,PC-BSD,FreeBSD
Posts: 116

Rep: Reputation: 15
Terminal Mode at Startup


I was wondering is there anyway to disable the GUI from running at
startup...? The reason is that I have a laptop that I use everyday and if somebody steals it I don't want them to get a pretty little Gui ,I want them to see the Cold but beautiful Bash Shell

Thanks

The Penguin stands tall
 
Old 02-18-2008, 01:08 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Set the default runlevel (in /etc/inittab, see the initdefault line) to 3 instead of 5, that should help. Runlevel 1, 2 and 6 are "reserved" (reboot, single-user and shutdown), but 2-5 are more or less normal runlevels. Usually 5 runs graphical server by default, along with a graphical login manager, and 3 doesn't - so it sticks to the console login. It may differ, though..

You change runlevels (in a booted system) with
Code:
init 3
you can try it and see if X shuts down, then you've got the right level. Don't do 'init 1' nor 6, as they're not ordinary runlevels. Changing the runlevel is done by editing (like I said) the /etc/inittab and changing the runlevel number in the initdefault line, then rebooting.

But if they couldn't log in, it didn't matter, and if they could, they could always run 'init N' to switch to runlevel N, thus getting to the graphical login.
 
Old 02-18-2008, 01:14 PM   #3
theunixwizard
Member
 
Registered: Feb 2008
Distribution: Ubuntu,Fedora,PC-BSD,FreeBSD
Posts: 116

Original Poster
Rep: Reputation: 15
Thanks

Thank you that helped
My personal expirence is that when a person see a gui they
can guess what to do. But when they see a terminal they can find their A** with both hands and a map.

The Penguin stands tall
 
  


Reply


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
how to into terminal mode directly? NAC Linux - Newbie 2 11-02-2006 04:40 PM
startup in a terminal chrisbhall Linux - Newbie 6 10-07-2004 02:20 PM
What do you use terminal in X or text mode? HadesThunder Linux - General 9 05-05-2004 05:13 AM
OS X in terminal mode? Travis86 Linux - Distributions 3 12-27-2002 08:00 PM
terminal at startup? lyinghappyeyes Linux - Newbie 2 08-27-2001 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:01 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