LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Logging into text mode defaulty (https://www.linuxquestions.org/questions/fedora-35/logging-into-text-mode-defaulty-358358/)

abhis_mail2002 08-30-2005 01:07 AM

Logging into text mode defaulty
 
hi

i am using FC3 and now i want to log into text mode defaulty instead of graphical mode.i want to know which file i have to edit so that i can set my text mode.i dont want to use graphical mode and what changes i have to make in that file.

one more yest i installed redhat on my system it is getting stopped at configuring kernel parameters do any one have idea about this


regards
abhijit

Nylex 08-30-2005 01:11 AM

You need to change your default runlevel, which is done by editing the /etc/inittab file (as root). Look for the line

id:5:initdefault:

and change the 5 to a 3 and save the file.

abhis_mail2002 08-30-2005 01:36 AM

hi nylex

i did it but it is not effecting it,again i am going to graphical mode only

tomj88 08-30-2005 01:56 AM

If you never want to start in a display manager again, then why not completly uninstall it? Would either solve the problem, or solve the problem and kick up a horrible error saying something about gdm/xdm/kdm has not been found

abhis_mail2002 08-30-2005 03:45 AM

hi tom
if suppose in future i need it,then what shall i do it.
i just want the terminal as my default login , and whenever i require i can go into graphical using Startx

Nylex 08-30-2005 03:47 AM

That's strange :/. What does your /etc/inittab file look like?

abhis_mail2002 08-30-2005 04:12 AM

inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault: /////////////////////////////////////////////////////

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:3:respawn:/etc/X11/prefdm -nodaemon //////////////////////////////
SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service < /dev/null > /dev/console 2> /dev/console



////////////////////This places i made the changes from 5 to 3

Nylex 08-30-2005 04:16 AM

Quote:

Originally posted by abhis_mail2002
x:3:respawn:/etc/X11/prefdm -nodaemon //////////////////////////////
Did you change this line as well? You shouldn't have, it was only the runlevel that you needed to change, so change it back.

abhis_mail2002 08-30-2005 04:25 AM

thankx nylex i got it

do u have any idea about why the system is stopping at


///////////configuring the kernel parameters [ok]

tomj88 08-30-2005 04:41 AM

Quote:

Originally posted by abhis_mail2002
hi tom
if suppose in future i need it,then what shall i do it.
i just want the terminal as my default login , and whenever i require i can go into graphical using Startx

I meant remove the display manager, not x. the display manager is the screen for logging in (graphical screen). You could use startx, kded or the other various programs for loading up your favourite desktop enviroment/window manager


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