mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
push xorg information to the systemd --user instance
This commit is contained in:
parent
fa607802f3
commit
1401ec2d34
@ -84,6 +84,7 @@ sysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
|
||||
varlogdir=$(localstatedir)/log
|
||||
systemdstatedir=$(localstatedir)/lib/systemd
|
||||
catalogstatedir=$(systemdstatedir)/catalog
|
||||
xinitrcdir=$(sysconfdir)/X11/xinit/xinitrc.d
|
||||
|
||||
# Our own, non-special dirs
|
||||
pkgsysconfdir=$(sysconfdir)/systemd
|
||||
@ -2474,6 +2475,9 @@ dbus1-generator-install-hook:
|
||||
dbus1-generator-uninstall-hook:
|
||||
rm -f $(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
|
||||
|
||||
dist_xinitrc_SCRIPTS = \
|
||||
xorg/50-systemd-user.sh
|
||||
|
||||
INSTALL_EXEC_HOOKS += dbus1-generator-install-hook
|
||||
UNINSTALL_EXEC_HOOKS += dbus1-generator-uninstall-hook
|
||||
endif
|
||||
|
3
xorg/50-systemd-user.sh
Executable file
3
xorg/50-systemd-user.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
systemctl --user import-environment DISPLAY XAUTHORITY
|
Loading…
Reference in New Issue
Block a user