Gentoo Archives: gentoo-user

From: Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Console Terminal Gentoo
Date: Thu, 24 Aug 2006 19:04:11
Message-Id: 44EDF5C9.9060203@buanzo.com.ar
In Reply to: [gentoo-user] Console Terminal Gentoo by "Rafael Fernández López"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Rafael Fernández López wrote:
5 > Hi,
6
7 hiya
8
9 > I've installed Gentoo in another computer, but this time is just for
10 > programming, emacs (maravellous !!), gcc, gdb, valgrind... you know.
11
12 cool :D
13
14 > I've no X.org and no graphical support.
15
16 I found it really useful to use konqueror, public-key auth for ssh, and sftp:// urls for editing
17 remotely hosted files (e.g. php scripts).
18
19 > For that reason I'd like to know how to make *ALL* terminals console
20 > terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl +
21 > Alt + F7 has no login petition.
22 > I've googled and had no results. I know that something important should be
23 > find in runlevels (my system starts number 3).
24
25 edit /etc/inittab, search for section TERMINALS
26
27 may attention ;)
28
29 mine is:
30
31 # TERMINALS
32 c1:12345:respawn:/sbin/agetty 38400 tty1 linux
33 c2:2345:respawn:/sbin/agetty 38400 tty2 linux
34 c3:2345:respawn:/sbin/agetty 38400 tty3 linux
35 c4:2345:respawn:/sbin/agetty 38400 tty4 linux
36 c5:2345:respawn:/sbin/agetty 38400 tty5 linux
37 c6:2345:respawn:/sbin/agetty 38400 tty6 linux
38 c7:12345:respawn:/sbin/agetty 38400 tty7 linux
39 c8:12345:respawn:/sbin/agetty 38400 tty8 linux
40 c9:12345:respawn:/root/mingetty --mprl tty9
41
42 The last one is a mprl-patched mingetty. mprl is available at http://www.buanzo.com.ar/eng/ (middle
43 of the page) or at http://www.freshmeat.net/projects/mprl/
44
45 I wrote it because I didn't use X and I used to switch to another console, login locally, then ssh
46 to a remote host. With this, you can avoid the local login, and just supply something like:
47
48 ssh:username@somehost at the Login: prompt of the text console.
49
50 If anyone is more interested in the mprl-enhanced mingetty, just let me know and I'll release it.
51
52 - --
53 Arturo "Buanzo" Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
54 Consultor en Seguridad Informatica - http://www.buanzo.com.ar
55 http://www.vivamoslavida.com.ar - Portal no-comercial del buen vivir!
56 for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar ; done
57 -----BEGIN PGP SIGNATURE-----
58 Version: GnuPG v1.4.5 (GNU/Linux)
59 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
60
61 iD8DBQFE7fXJAlpOsGhXcE0RAuoYAJ90Q+0myaKtCdwiJJQFUq0nCG7xBwCfcF6k
62 bEe/U8oG2sCy/EW3LenbghA=
63 =UznD
64 -----END PGP SIGNATURE-----
65 --
66 gentoo-user@g.o mailing list