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

Brian Potkin claremont102 at gmail.com
Tue Sep 9 11:51:59 BST 2014


On Tue 09 Sep 2014 at 09:43:28 +0200, Samuel Thibault wrote:

> Steps to reproduce (yes, the beginning is the same as my previous bug
> report):
> 
> 1. have a system with no xdm & such, i.e. boots in text mode only
> 2. boot it, on thus gets to a login banner on VT1
> 3. log into VT1
> 4. run startx from there
> 
> The result is that Xorg is running on VT2, which it should have been
> running on VT7 since I have set ReserveVT to 6 (which is actually

Basically, (but please see later), X starts on the first free console
under both syvinit and systemd. With sysvinit consoles 1 to 6 have
gettys running on them, so the first free VT is 7. For systemd only
VT1 is activated, so the first free VT is 2.

I wonder whether you quite understand the purpose of VT6.

> apparently the default already). This makes it a pain for knowing where
> Xorg is running, since that now depends whether you have logged into
> VT2, VT3, etc. or not...

xinit (1.3.3-1) has been patched to start X on the VT startx is used
from.

You can override this with

   startx -- vt7

Regards,

Brian.




More information about the Pkg-systemd-maintainers mailing list