Instead of relying on --switchvt, we should always activate fake-VTs
during startup. Otherwise, we might end up with dead seats as there is no
way to wake up kmscon later.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
option makes kmscon activate this VT during startup. The same
way, during shutdown kmscon will reactivate the VT that was
previously active. (default: on)</para>
-
- <para>Note that this option is required on seats without virtual
- terminals, as there is no way to notify kmscon to activate
- later.
- So disable this option only during debugging or on seats with
- virtual terminals.</para>
</listitem>
</varlistentry>
log_error("cannot register kmscon compositor: %d", ret);
}
- if (seat->conf->switchvt)
+ if (seat->conf->switchvt ||
+ uterm_vt_get_type(seat->vt) == UTERM_VT_FAKE)
uterm_vt_activate(seat->vt);
}