File: README.init

package info (click to toggle)
kbd 2.0.4-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 14,136 kB
  • sloc: sh: 12,838; ansic: 12,531; pascal: 472; lex: 466; makefile: 394; yacc: 356; perl: 126; sed: 16
file content (17 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
You don't have to log into a getty on every virtual console anymore:
just run a single getty on tty1, put this line in your /etc/inittab:

	kb::kbrequest:/usr/bin/openvt -us

and put this in your rc.local (or equivalent):

	echo "alt keycode 103 = Spawn_Console" | loadkeys

Then, once you login, you can press alt-up-arrow to spawn another
virtual console. This behavior requires a recent sysvinit package.
I used 2.64, but as early as 2.60 might support it. You also must
be using the proc filesystem.

WARNING: this may circumvent vlock.

Joshua Spoerri