aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/sleeping-getty.8
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/sleeping-getty.8')
-rw-r--r--doc/man/sleeping-getty.825
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/man/sleeping-getty.8 b/doc/man/sleeping-getty.8
index a40772c..f20ed92 100644
--- a/doc/man/sleeping-getty.8
+++ b/doc/man/sleeping-getty.8
@@ -24,10 +24,29 @@ works on VT:s, not TTY:s. It cannot wait for a serial console to
become, active, only virtual terminals.
.SH EXAMPLE
.nf
-/sbin/\fBsleeping-getty\fP \fI15\fP /sbin/got tty\fI15\fP TERM=linux
-/sbin/\fBsleeping-getty\fP \fI16\fP /sbin/got tty\fI16\fP TERM=linux
-/sbin/\fBsleeping-getty\fP \fI20\fP /sbin/agetty -8 -s 38400 tty\fI20\fP linux
+/sbin/\fBsleeping\-getty\fP \fI15\fP /sbin/got tty\fI15\fP TERM=linux
+/sbin/\fBsleeping\-getty\fP \fI16\fP /sbin/got tty\fI16\fP TERM=linux
+/sbin/\fBsleeping\-getty\fP \fI20\fP /sbin/agetty -8 -s 38400 tty\fI20\fP linux
.fi
+.SH NOTES
+.B sleeping\-getty
+does not acquire the TTY. That would be a waste of CPU cycles.
+This means, if naïvely used, that if you start your computer,
+log in on
+.BR tty1 ,
+and start
+.BR X ,
+and have
+.B startx
+configured to start
+.B X
+on the next available VT.
+.B X
+will start on VT\ 2. This is probably not want you want.
+Instead you should edit
+.B startx
+to ensure that a VT lower than a preferred number
+(customarily 7) will not be used.
.SH RATIONALE
It is nice to have a score or two of TTY:s available. However,
starting them, can require some unnecessary CPU time and will