Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!noc.near.net!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!cs.utexas.edu!news.unt.edu!replicant.csci.unt.edu!jackson From: jackson@replicant.csci.unt.edu (Bruce Jackson) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: multiple vt's increase to 8 Date: 11 Aug 1995 19:12:32 GMT Organization: University of North Texas, Denton Lines: 46 Distribution: inet Message-ID: <40ga30$50g@hermes.acs.unt.edu> References: <40dt73$416@trauma.rn.com> <DD5Atn.Fn5@ritz.mordor.com> <40fbs7$134@trauma.rn.com> NNTP-Posting-Host: replicant.csci.unt.edu LS=Larry Snyder <larry@rn.com> CM=Chris Mauritz <ritz@ritz.mordor.com> LS> How do I increase the number of virtual terminals on LS> the console from the default of 3 to 8? CM> Isn't this configurable in /usr/src/sys/i386/conf/yourkernel? CM> I believe the option in your case would be: CM> options "MAXCONS=8" CM> Of course, then you need to config...make depend...make all...etc. LS> I'm running with the MAXCONS=10 as the default - but I don't have LS> the 10 VT's available -- only 3.. I remember reading somewhere that you are supposed to set MAXCONS to a power of 2 like 2, 4, or 8. I'm not sure if this only relates to older versions or if it is still necessary. In any event, to use more virtual consoles there are a few more steps (assumes 8 virtual consoles): As root go into /dev and enter the command "sh MAKEDEV vty8". Now edit the file /etc/ttys, change: ttyv3 "/usr/libexec/getty Pc" cons25 off secure to: ttyv3 "/usr/libexec/getty Pc" cons25 on secure ttyv4 "/usr/libexec/getty Pc" cons25 on secure ttyv4 "/usr/libexec/getty Pc" cons25 on secure ttyv5 "/usr/libexec/getty Pc" cons25 on secure ttyv6 "/usr/libexec/getty Pc" cons25 on secure ttyv7 "/usr/libexec/getty Pc" cons25 off secure If you want to run X you need to not run a getty on the last ttyv7 Since the vty's didn't exist on bootup you will probably have to reboot but if they already did the command "kill -HUP 1" should start the gettys on the additional vty's. -- Bruce Jackson | P. O. Box 13886-NT | GAB 550E UNIX Systems Admin. | Denton TX 76203-3886 | (817)565-2279 Computer Sciences | jackson@cs.unt.edu | FAX (817)565-2799 Univ. of North Texas | http://replicant.csci.unt.edu/~jackson/