You are not logged in.

#1 2009-04-15 12:24:45

hypnotic_meat
Member
Registered: 2009-04-15
Posts: 32

Limiting the Number of Virtual Consoloes [SOLVED]

This seems like it would be an easy thing to fix, but I'm essentially new to Linux entirely (at least from a configuration standpoint).  Is there some way that I can limit the number of virtual consoles to 1?

Thanks in advance for any help.

Last edited by hypnotic_meat (2009-04-15 12:42:30)

Offline

#2 2009-04-15 12:29:51

djnm
Member
From: USA
Registered: 2008-12-21
Posts: 78

Re: Limiting the Number of Virtual Consoloes [SOLVED]

Yes. Edit your /etc/inittab and look for this section

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

and comment out whichever ones you dont want.


br0tat0chip in #archlinux and on freenode

Offline

#3 2009-04-15 12:30:11

fumbles
Member
Registered: 2006-12-22
Posts: 246

Re: Limiting the Number of Virtual Consoloes [SOLVED]

[EDIT] Alas, beaten!!!!

Last edited by fumbles (2009-04-15 12:30:50)

Offline

#4 2009-04-15 12:31:02

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: Limiting the Number of Virtual Consoloes [SOLVED]

[Edit]
Me too wink

Last edited by FrozenFox (2009-04-15 12:31:18)

Offline

#5 2009-04-15 12:37:47

plurt
Member
Registered: 2008-10-16
Posts: 88

Re: Limiting the Number of Virtual Consoloes [SOLVED]

archwiki is your friend
http://wiki.archlinux.org/index.php/The … ot_process

The solution to your problem is found at the section "Init: Starting a user interface "
wich states: "Once the basic configuration is done, init should launch a user interface (otherwise, what's the point). This is typically either a command line login prompt (also known as a virtual console or a tty) or the X server. Your options here are also specified in the /etc/inittab file."

upon examening your /etc/inittab you'll find a section

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

this creates 6 tty's for you to login to.


When everything's coming your way, you're in the wrong lane I say.
FAQ / Beginners Guide / The Arch Way

Offline

#6 2009-04-15 12:42:12

hypnotic_meat
Member
Registered: 2009-04-15
Posts: 32

Re: Limiting the Number of Virtual Consoloes [SOLVED]

Thanks for the quick responses everyone, I appreciate it!

Offline

Board footer

Powered by FluxBB