LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-27-2003, 12:00 AM   #1
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
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!!!
 
Old 06-27-2003, 09:44 AM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Hi,

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

x:5nce:/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 ...
 
Old 06-27-2003, 10:00 AM   #3
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Edit /etc/inittab and change the line to read:

id:3:initdefault:

I.E. change the 5 to 3.
 
Old 06-27-2003, 07:39 PM   #4
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Original Poster
Rep: Reputation: 30
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?
 
Old 06-27-2003, 07:42 PM   #5
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Original Poster
Rep: Reputation: 30
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......
 
Old 06-30-2003, 07:06 AM   #6
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

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

or remove the links ...
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual terminal deity46 Fedora 2 06-07-2005 08:39 PM
Virtual terminal Nawas111 Linux - Hardware 4 11-27-2004 05:02 PM
Virtual terminal blackzone Linux - General 4 07-22-2004 06:13 AM
Only one virtual terminal? kule Slackware 7 07-14-2004 05:06 PM
Virtual terminal switching? adamjaskie Linux - General 4 02-07-2004 09:30 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration