[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X and tty7



On Sun, Apr 12, 2009 at 05:08:16PM +0930, Miguel Obliviemo wrote:
> How can the association between X11 and tty7 changed?  E.g. to tty24?
> #
> # Note that on most Debian systems tty7 is used by the X Window System,
> # so if you want to add more getty's go ahead but skip tty7 if you run X.
> 
> Why?  How can I get it out of the way?

First let me say I use openvt and only have 2 vts opened in /etc/inittab.
I run with several vts open at a time like you and start X with startx.
I boot into the commandline, login then open as many vts opened as I 
please using Alt+uparrow which are tied in /etc/inittab with this line:
    # Action on special keypress (ALT-UpArrow).
    kb::kbrequest:/usr/bin/openvt -su
The advantage of 'openvt -su' is that I only have to login once.
Using startx X starts on the next unused vt. If you really want to
use tty24, you can open the first 23 vts in /etc/inittab.
HTH,
Mike


Reply to: