LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   log in to virtual terminal when startup (https://www.linuxquestions.org/questions/linux-general-1/log-in-to-virtual-terminal-when-startup-68374/)

yenonn 06-27-2003 12:00 AM

log in to virtual terminal when startup
 
if i want to tweak my rh8, such that it will boot into my virtual terminal after startup. then, what should i do? thanks!!!

vladkrack 06-27-2003 09:44 AM

Hi,

There's many ways of doing that, one of then is edit the /etc/inittab and insert a line like:

x:5:once:/bin/su -l user -c /usr/bin/X11/startx

You can change 5 for another runlevel, once to respawn or use other command beside startx ...

It can be done with kdm too if you prefer, it has a configuration tool in Kcontrol to facilitate this kind of work, and you will not need to modify your inittab ...

fancypiper 06-27-2003 10:00 AM

Edit /etc/inittab and change the line to read:

id:3:initdefault:

I.E. change the 5 to 3.

yenonn 06-27-2003 07:39 PM

i can see in runlevel 3 i have bunch of services are queueing to start during the booting. how do i unactivate these services. i have noticed that in the directory /etc/rc3.d/, there are bunch of link files associated to /etc/rc.d/init.d/. and these link files will initiate the services. how to i turn off these services?

yenonn 06-27-2003 07:42 PM

anyway, in gnome, i have a GUI interface controlling the on/off of the services. may i know what is the file that controlling this operation? and how am i going to switch the services on and off manually? thanks again......

vladkrack 06-30-2003 07:06 AM

You can use:
chkconfig --list [name]
chkconfig --add <name>
chkconfig --del <name>
chkconfig [--level <levels>] <name> <on|off|reset>)

or remove the links ...


All times are GMT -5. The time now is 11:35 AM.