diff options
author | Eric Koegel <eric.koegel@gmail.com> | 2015-08-24 09:56:17 +0300 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2016-01-23 04:04:17 +0300 |
commit | 93d957b7dbe9841dd50bacb18cd36f5e737d81fb (patch) | |
tree | 824871ca835dde65b1f44388fd3c5b8bdb1e8e64 /data/ConsoleKit.conf | |
parent | e0362195ecb5e584ab35d15c63b9fdcb2a48ee9d (diff) | |
download | ConsoleKit2-93d957b7dbe9841dd50bacb18cd36f5e737d81fb.tar.gz |
Implement XDG_RUNTIME_DIR
This adds support for implementing the runtime dir spec. ConsoleKit2
will create $RUNDIR/users on the first session creation and then
$RUNDIR/users/$uid for each user logging in that keeps an active
session. CK2 will clean up the $uid folder once all sessions of that
user have been closed. CK2 will also attempt to mount the user's
rundir as a tmpfs mount owned by the user. This way if CK2 crashes
the directory will get cleaned up on next system restart. CK2 will
not create a runtime dir for root.
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
https://github.com/ConsoleKit2/ConsoleKit2/issues/41
Diffstat (limited to 'data/ConsoleKit.conf')
-rw-r--r-- | data/ConsoleKit.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/ConsoleKit.conf b/data/ConsoleKit.conf index 789da65..45b0917 100644 --- a/data/ConsoleKit.conf +++ b/data/ConsoleKit.conf @@ -145,6 +145,9 @@ send_member="GetUnixUser"/> <allow send_destination="org.freedesktop.ConsoleKit" send_interface="org.freedesktop.ConsoleKit.Session" + send_member="GetXDGRuntimeDir"/> + <allow send_destination="org.freedesktop.ConsoleKit" + send_interface="org.freedesktop.ConsoleKit.Session" send_member="GetX11Display"/> <allow send_destination="org.freedesktop.ConsoleKit" send_interface="org.freedesktop.ConsoleKit.Session" |