1 |
On Thu, Sep 21, 2006 at 05:24:44PM -0400, Philip Webb wrote |
2 |
|
3 |
> I've never quite understood why it's Ctl-Alt-F7 which returns, |
4 |
> when the TTY's involved seem to be 1 & 2 . In fact, |
5 |
> I've suppressed higher-numbered TTY 3-6 in /etc/inittab . |
6 |
> Another test reveals that Ctl-Alt-F3 returns to the X session, |
7 |
> so perhaps the command to return uses the next free F key. |
8 |
> Can anyone confirm that ? Anyway the problem is solved. |
9 |
|
10 |
My own setup is somewhat non-standard. I have... |
11 |
|
12 |
# TERMINALS |
13 |
c1:12345:respawn:/sbin/agetty 38400 tty1 linux |
14 |
c2:2345:respawn:/sbin/agetty 38400 tty2 linux |
15 |
c3:2345:respawn:/sbin/agetty 38400 tty3 linux |
16 |
c4:2345:respawn:/sbin/agetty 38400 tty4 linux |
17 |
c5:2345:respawn:/sbin/agetty 38400 tty5 linux |
18 |
c6:2345:respawn:/sbin/agetty 38400 tty6 linux |
19 |
c7:2345:respawn:/sbin/agetty 38400 tty7 linux |
20 |
c8:2345:respawn:/sbin/agetty 38400 tty8 linux |
21 |
c9:2345:respawn:/sbin/agetty 38400 tty9 linux |
22 |
|
23 |
I have a regular user account. I launch X, which takes tty10. I have |
24 |
a second "scratch" account for certain tasks, and viewing Google and |
25 |
other video sites in 400x300 mode or lower. I tell it to use display :1, |
26 |
which is tty11. tty12 is used by kernel log messages. |
27 |
|
28 |
A hint for tweaking xorg.conf files. I have several files in /etc/X11 |
29 |
i.e. /etc/X11/1024xorg.conf /etc/X11/2048xorg.conf /etc/X11/320xorg.conf |
30 |
/etc/X11/360xorg.conf /etc/X11/400xorg.conf /etc/X11/800xorg.conf and |
31 |
/etc/X11/xorg.conf. My regular account has a script ~/bin/x |
32 |
|
33 |
#! /bin/bash |
34 |
startx -- -nolisten tcp -nosilk -config ${1}xorg.conf & |
35 |
|
36 |
and the scratch account has ~/bin/x1 |
37 |
|
38 |
#! /bin/bash |
39 |
startx -- :1 -nolisten tcp -nosilk -config ${1}xorg.conf & |
40 |
|
41 |
The regular account launches X with the command "x" to give me a |
42 |
1280x1024 screen. When I'm editing large digital photos, I use the |
43 |
command "x 2048". This launches X with the file 2048xorg.conf, which |
44 |
I've set to give me 2048x1536. When I want to run at 400x300 for |
45 |
viewing videos, I launch with "x1 400", which invokes X with the config |
46 |
file 400xorg.conf. I generally run with the following textmode ttys... |
47 |
tty1 regular user, mutt (email) |
48 |
tty2 regular user, slrn (usenet) |
49 |
tty3 regular user, general purpose console |
50 |
tty4 scratch account |
51 |
tty5 scratch account |
52 |
tty7 console when ssh'ing into the other machine (I have a 1999 Dell |
53 |
450 mhz PIII that is my emergency backup machine). |
54 |
tty8 root (occasional use only) when doing admin stuff that requires |
55 |
root (emerge sync, etc). |
56 |
tty9 regular user, used for launching X. I find that X spits out a lot |
57 |
of logging garbage to the tty that launched it. |
58 |
|
59 |
tty10 used by X session :0 |
60 |
tty11 used by X session :1 |
61 |
tty12 used by kernel logger for message output |
62 |
|
63 |
I run textmode at 80x48 (YES, forty-eight rows with 10-pixel-high |
64 |
font, which is much easier on the eyes than 8x8 font). |
65 |
|
66 |
-- |
67 |
Walter Dnes <waltdnes@××××××××.org> In linux /sbin/init is Job #1 |
68 |
My musings on technology and security at http://tech_sec.blog.ca |
69 |
-- |
70 |
gentoo-user@g.o mailing list |