From 98a77df5fe8591034c48e5d56d903ee268de37f9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 17 Sep 2012 12:39:16 +0200 Subject: 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. --- src/login/logind.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/login/logind.h') 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; -- cgit v1.2.3-54-g00ecf