FS#44685 - [systemd] Add the X11 session scriptlet to import $DISPLAY and $XAUTHORITY in the user daemon

Attached to Project: Arch Linux
Opened by Florian Jacob (fjacob) - Tuesday, 21 April 2015, 21:32 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 22 April 2015, 01:20 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

To quote the systemd 219 release notes:

* An X11 session scriptlet is now shipped that uploads
$DISPLAY and $XAUTHORITY into the environment of the systemd
--user daemon if a session begins. This should improve
compatibility with X11 enabled applications run as systemd
user services.

The relevant change can be studied here:
https://github.com/systemd/systemd/commit/1401ec2d34bcde406ced531a72dc46ebaf332594
The archlinux systemd package doesn't seem to integrate and ship the scriptlet, though, the variables are not set and the file listing for the package doesn't list it.

I found out about this systemd change as it's referenced in the Wiki: https://wiki.archlinux.org/index.php/Systemd/User#DISPLAY but without the scriptlet actually being shipped, it obviously doesn't work.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Dave Reisner (falconindy)
Wednesday, 22 April 2015, 01:20 GMT
Reason for closing:  Won't implement
Additional comments about closing:  I won't override upstream's decision to ship this without --enable-kdbus
Comment by Dave Reisner (falconindy) - Wednesday, 22 April 2015, 01:20 GMT
Installation of this is blocked on ENABLE_KDBUS, which has no chance of being enabled until the module is mainline and the systemd side is stable. If you want to dispute this and have the xinit.d script shipped without kdbus enabled, then file a feature request with upstream.

Loading...