Bug#760917: logind: ReserveVT does not work for Xorg

Ansgar Burchardt ansgar at debian.org
Tue Sep 9 12:19:04 BST 2014


On 09/09/2014 12:57, Samuel Thibault wrote:
> Brian Potkin, le Tue 09 Sep 2014 11:51:59 +0100, a écrit :
>> Basically, (but please see later), X starts on the first free console
>> under both syvinit and systemd.
> 
> I know. But isn't ReserveVT supposed to make X avoid VTs from 1 to 6?
> 
>> I wonder whether you quite understand the purpose of VT6.
> 
> I don't know what you mean by "VT6" here, but what I can read is:
> 
> ReserveVT=
>            Takes a positive integer. Configures the number of one virtual
                                                                ^^^
>            terminal that shall unconditionally be reserved for autovt at .service
>            activation (see above). The VT selected with this option will be
>            marked busy unconditionally, so that no other subsystem will
>            allocate it. This functionality is useful to ensure that regardless
>            of how many VTs are allocated by other subsystems, one login
>            "getty" is always available. Defaults to 6 (in other words, there
>            will always be a "getty" available on Alt-F6.). When set to 0, VT
>            reservation is disabled.
> 
> Xorg is "another subsystem" allocating VTs to me. the above
> documentation explicitly says that the VTs should be marked busy, and
> thus Xorg wouldn't use them. But apparently this isn't working.

It reserves *one* VT for a getty (i.e. only vt6), not the range 1-6.

Ansgar




More information about the Pkg-systemd-maintainers mailing list