Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451956 - x11-apps/xinit xserverrc should launch X on the same tty to preserve systemd login session
Summary: x11-apps/xinit xserverrc should launch X on the same tty to preserve systemd ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 521278 (view as bug list)
Depends on:
Blocks: 485334
  Show dependency tree
 
Reported: 2013-01-14 02:28 UTC by Mike Gilbert
Modified: 2014-08-28 13:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***