chiark / gitweb /
logind: require VTs on seat0 and forbid elsewhere
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 28 Nov 2013 16:25:25 +0000 (17:25 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 28 Nov 2013 16:41:38 +0000 (17:41 +0100)
commitc506027af881a9e4210845a7a8a6ec5910aa0f3b
tree841c0aa91d455bc7e81f601a7532dcded97e65bf
parent92bd5ff3a062c3f9475b9d9d39b9335bfeb7705e
logind: require VTs on seat0 and forbid elsewhere

Sessions on seat0 must pass us a vtnr, otherwise, you shouldn't try
attaching it to seat0. For seats without VTs, we do the exact opposite: we
forbid VTs.

There can be odd situations if the session-files contain invalid
combinations. However, we try to keep sessions alive and restore state as
good as possible.
src/login/logind-dbus.c
src/login/logind-seat.c
src/login/logind-session.c