LinuxQuestions.org
Help answer threads with 0 replies.
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 05-29-2012, 12:09 AM   #1
asoboleski
LQ Newbie
 
Registered: May 2012
Posts: 16

Rep: Reputation: Disabled
How to configure Linux to login with the terminal


I'm somewhat new to linux. I know a bit about the terminal and how linux works. I'm wondering if there is a way to boot into the terminal and log into my account from there. I like the GUI in fedora 16, but I feel much more interested in Linux when I'm required to do more technical things than when it's handed to me on a silver platter.

I want to turn my computer on.
See the terminal
Login with a command (su austin??)
Start the GUI at when I want to (startx?? I know this from BackTrack)
And then continue normally using my computer.

Is this possible? Thanks in advance.
 
Old 05-29-2012, 12:38 AM   #2
em31amit
Member
 
Registered: Apr 2012
Location: /root
Distribution: Ubuntu, Redhat, Fedora, CentOS
Posts: 190

Rep: Reputation: 55
use combination of keys at login screen to switch to console mode

Code:
CTRL+ALT+F1
usally in fedora, centos, redhat have "CTRL+ALT+F6" are keys which is used to swtich into console mode, "CTRL"ALT+F7" for move back to GUI.

further go directory into console mode, you need to edit /etc/inittab file

Run the following command to edit the /etc/inittab file:

Code:
#vi /etc/inittab
Press the I key to enter insert mode.
Find the line that includes the text initdefault. Change the numeral 5 to 3.
Type :wq and press the Enter key to save the file and exit the vi text editor.

and than a reboot.

this was started process upto rhel5, fedora older versions and centos5, but from fedora16, CENTOS6, rhel6. they have changed init process with upstart that is module approach to boot the system.

so /etc/inittab file is deprecated, and is now used only for setting up the default runlevel via the initdefault line. Other configuration is done via upstart jobs in the /etc/init directory.


so if you read other documents on internet make sure those are not old.
 
Old 05-29-2012, 01:27 PM   #3
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Or when you boot , edit the kernel parameters adding a space then 3 to the end.
If you want to make it permanent, edit grub.conf the same way.
 
Old 05-29-2012, 09:23 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,871
Blog Entries: 18

Rep: Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340
Or edit /etc/inittab and change the default runlevel to 3.

Code:
# The default runlevel.
id:3:initdefault:
This does not work out-of-the-box with Debian flavored distros, in which runlevels 3-5 are all treated like runlevel 5 (that is, booting into a graphical display manager).

Last edited by frankbell; 05-29-2012 at 09:27 PM.
 
Old 05-29-2012, 10:01 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,428

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
Welcome to LinuxQuestions.
As stated Fedora 16 uses upstart so changing inittab will not work. linux distributions are slightly different so here you go.

http://fedoraproject.org/wiki/System...he_runlevel.3F

FYI runlevel 3 is console mode and 5 is GUI

Last edited by michaelk; 05-29-2012 at 10:02 PM.
 
Old 05-30-2012, 01:06 AM   #6
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 52
Not too sure about Fedora as it's been a long time since I used this distro but, you could try uninstalling the Gnome Display Manager (gdm3) package and create a .xinitrc file in your home directory. The following should be inserted into the .xinitrc file,

Code:
exec ck-launch-session gnome-session
Restart machine and you hopefully will get a console login appear, login and do a startx.

I would try it on a test box or VM first so you don't hose your system.
 
  


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
Intermittent SSH login problem into Linux terminal debStudent Linux - Server 3 11-05-2011 09:45 PM
[SOLVED] Difference between a login terminal & non-login termiinal Soji Antony Linux - Newbie 6 06-26-2011 10:07 AM
How to configure Windows XP to login into Linux/Unix Samba Networking charlesedwin Linux - Enterprise 1 12-29-2009 06:38 AM
Debian Linux Graphical Login Terminal not responding after screen lock kzhou Linux - Newbie 1 04-25-2009 05:26 AM
Linux Terminal Server With Remote Login 2-tone-joe Linux - Newbie 1 09-08-2008 05:10 PM

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

All times are GMT -5. The time now is 10:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration