Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] syslog-ng not outputting to tty12
Date: Mon, 08 Apr 2019 22:12:39
Message-Id: 20190408221207.GA31315@waltdnes.org
In Reply to: Re: [gentoo-user] syslog-ng not outputting to tty12 by Mick
1 On Sat, Apr 06, 2019 at 10:40:22AM +0100, Mick wrote
2
3 > Right, as Joost points out if there is no tty12 specified you won't have one
4 > to display syslog-ng. Check your /etc/rc.conf for this entry:
5 >
6 > # on Linux and Hurd, this is the number of ttys allocated for logins
7 > # It is used in the consolefont, keymaps, numlock and termencoding
8 > # service scripts.
9 > rc_tty_number=12
10
11 I have that. I do have one non-standard item in /etc/inittab that
12 I've been using for years without trouble...
13
14 # TERMINALS
15 #x1:12345:respawn:/sbin/agetty 38400 console linux
16 c1:12345:respawn:/sbin/agetty 38400 tty1 linux
17 c2:2345:respawn:/sbin/agetty 38400 tty2 linux
18 c3:2345:respawn:/sbin/agetty 38400 tty3 linux
19 c4:2345:respawn:/sbin/agetty 38400 tty4 linux
20 c5:2345:respawn:/sbin/agetty 38400 tty5 linux
21 c6:2345:respawn:/sbin/agetty 38400 tty6 linux
22 c7:2345:respawn:/sbin/agetty 38400 tty7 linux
23 c8:2345:respawn:/sbin/agetty 38400 tty8 linux
24 c9:2345:respawn:/sbin/agetty 38400 tty9 linux
25
26 This puts X on tty10. Back before xrandr was up to its current
27 feature set, I'd bring up a second X at a different reolution on tty11,
28 to get something resembling "fullscreen" on video streams that were
29 640x480 or 512x384. Logging to tty12 has always worked fine.
30
31 --
32 Walter Dnes <waltdnes@××××××××.org>
33 I don't run "desktop environments"; I run useful applications