View Single Post
Old April 21st, 2007   #5
rajitsrinivas
First Cup of Ubuntu
 
rajitsrinivas's Avatar
 
Join Date: Mar 2007
Beans: 11
Ubuntu 7.04 Feisty Fawn
Re: How to disable extra TTYs in upstart

You have to edit /etc/default/console-setup file. This file defines how many ttys should you get. Change ACTIVE_CONSOLES="/dev/tty[1-6]" to the number of consoles you want. Lets say, 2 ttys, then change it to "/dev/tty[1-2]".

And then goto /etc/event.d/ and change the ttyx files that you DONOT want. Edit them and comment lines starting with "start on runlevel". So, in this case, you'll comment the start line in tty3..tty6 files.

Rebooting shud minimize the number of consoles for you. Worked for me!!

Good luck,

NOTE: Even though you've reduced the tty number, X is still on Alt-F7.
rajitsrinivas is offline   Reply With Quote