Node:Top, Next:, Previous:(dir), Up:(dir)

fbgetty

This file documents the fbgetty program. This edition documents version 0.1.5.


Node:Introduction, Next:, Previous:Top, Up:Top

1 Introduction

fbgetty is a new getty that fully support the linux console. It is more configurable, powerful, perhaps more funny. Its most important feature is the ability to display logo.

Mail suggestions and bug reports for fbgetty to yann.droneaud@iupmime.univ-lemans.fr.


Node:Options, Next:, Previous:Introduction, Up:Top

2 Options

fbgetty is generaly called by init. Usage: fbgetty [options] [tty] [framebuffer] see example for comprehensive examples

Options:

-t tty
--tty=tty
Use tty as terminal device
-f framebuffer
--fb=framebuffer
--framebuffer=framebuffer
Use framebuffer as framebuffer device
-i issue
--issue=issue
Set the file that will be display at login.
-l login-program
--login-program=login-program
Call login-program to login the user. (default: /bin/login)
-p prompt
--login-prompt=prompt
Display this prompt to invite.
-o timeout
--login-timeout=timeout
Set login timeout to timeout. This is for erasing login after a long time (security purpose).
--version
Display version (only use in interactive mode: do not use it in the inittab)
--help
Display the list of switch


Node:Set up, Next:, Previous:Options, Up:Top

3 Set up

In the future, there will be some configuration file for fbgetty.


Node:Examples, Next:, Previous:Set up, Up:Top

4 Examples

You can put this in /etc/inittab

1:2345:respawn:/sbin/fbgetty /dev/tty1                # basic example
2:2345:respawn:/sbin/fbgetty -t /dev/vc/2 -f /dev/fb0 # use of short options
3:23:respawn:/sbin/fbgetty --tty=/dev/tty3 --login-prompt="%l@%h login -> " # use a customized prompt
4:23:respawn:/sbin/fbgetty --issue=/etc/issue.tty4 /dev/tty4 /dev/fb1 # use a special issue

Example of /etc/issue

Issue:

\e[00m\e[01;34m  --[ Welcome to %s (kernel `uname -r`) ]--  \e[00m

 Date .......................: @date
 Time .......................: %t
 Hostname ...................: %n
 Host Architecture ..........: %m
 Console ....................: %l
 Number of user connected ...: %u
 Terminal type ..............: $TERM


Node:Index, Previous:Examples, Up:Top

Index

This is the global Index

Table of Contents