diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-17 12:39:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-17 12:39:16 +0200 |
commit | 98a77df5fe8591034c48e5d56d903ee268de37f9 (patch) | |
tree | f7e3bed02ed12414e71a0b250710d5b9ab7d080d /src/login/logind.h | |
parent | 4db17f291c627c885de668200ff8cce2e57c933f (diff) |
logind: make sure there's always a getty available on TTY6
Previously, if X allocated all 6 TTYs (for multi-session for example) no
getty would be available anymore to guarantee console-based logins.
With the new ReserveVT= switch in logind.conf we can now choose one VT
(6 by default) that will always be subject to autovt-style activation,
i.e. we'll always have a getty on TTY6, and X will never take possession
of it.
Diffstat (limited to 'src/login/logind.h')
-rw-r--r-- | src/login/logind.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/logind.h b/src/login/logind.h index 24d705b541..8aa28a322c 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -68,6 +68,9 @@ struct Manager { unsigned n_autovts; + unsigned reserve_vt; + int reserve_vt_fd; + Seat *vtconsole; char *cgroup_path; |