LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-13-2004, 05:47 AM   #1
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Rep: Reputation: 16
Only one virtual terminal?


I have Slack 10 and I configured it boot into runlevel 4 (X), but now I only have one virtual terminal on CTRL+ALT+F6. Ho can I make other terminals to work.
 
Old 07-13-2004, 05:59 AM   #2
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 30
You can define them as root in the /etc/inittab, look for tty1 to tty6.
 
Old 07-13-2004, 06:03 AM   #3
djbanaan
Member
 
Registered: Aug 2003
Location: Haarlem, The Netherlands
Distribution: Slackware, FreeBSD
Posts: 178

Rep: Reputation: 30
To be a bit more precise:

Change the following lines in /etc/inittab

Code:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
To

Code:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
 
Old 07-13-2004, 09:55 AM   #4
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 16
Thx, everything every terminal works now.
 
Old 07-13-2004, 03:57 PM   #5
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 16
Question

The problem is solved, but what do those 12345 represent; why is the terminal working when there is 12345 and not when 1235.
 
Old 07-13-2004, 04:18 PM   #6
netmask
Member
 
Registered: Jul 2004
Location: Sherbrooke, Quebec, Canada, North America, World, Milky Way
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
They are the init levels.

If you look at your old config, tty6 has the number 4 in it and you start in level 4. That's why he added the other 4's.
 
Old 07-13-2004, 11:28 PM   #7
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
Quote:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c1 = console 1
12345 = the runlevels to start this process in (they didn't have 4 in them which is why they didn't start)
respawn = restart this process whenever it is terminated
/sbin/agetty 38400 tty1 linux = the full path and any options of the process to run
 
Old 07-14-2004, 05:06 PM   #8
kule
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 87

Original Poster
Rep: Reputation: 16
Thanks guys, for the answer. I like to learn about linux, but not if I don't undestand what I'm doing.
 
  


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
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
Login to a virtual terminal from another one Johnsernickle Linux - Software 1 07-17-2004 12:46 AM
mouse in virtual terminal tjpick Linux - Hardware 2 07-21-2003 03:27 AM


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