Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 451956

Summary: x11-apps/xinit xserverrc should launch X on the same tty to preserve systemd login session
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: e, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=521392
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 485334    

Description Mike Gilbert gentoo-dev 2013-01-14 02:28:16 UTC
The xserverrc we currently ship launches the X server on an un-allocated virtual terminal. This causes systemd-logind to lose track of it.

Arch Linux has an xserverrc which launches the X server on the current tty if the XDG_VTNR environment variable has been set by systemd.

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/xserverrc?h=packages/xorg-xinit

Could we steal this for Gentoo?
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-03-14 12:34:03 UTC
Fixed in 1.3.3-r1
Comment 2 Mike Gilbert gentoo-dev 2014-08-28 13:31:37 UTC
*** Bug 521278 has been marked as a duplicate of this bug. ***