summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston-init/weston.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/wayland/weston-init/weston.conf.in')
-rw-r--r--recipes-graphics/wayland/weston-init/weston.conf.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston-init/weston.conf.in b/recipes-graphics/wayland/weston-init/weston.conf.in
new file mode 100644
index 00000000..9c3df052
--- /dev/null
+++ b/recipes-graphics/wayland/weston-init/weston.conf.in
@@ -0,0 +1,12 @@
+[Service]
+Type=notify
+Environment="XDG_RUNTIME_DIR=@XDG_RUNTIME_DIR@"
+# Note that clearing PAMName (thus not having PAMName=login) disables
+# logind support for the session, which allows setting XDG_RUNTIME_DIR
+# to something other than /run/user/% (as is done above).
+# Without systemd-logind support, weston needs to be patched to allow
+# its direct launcher to work for non-root users in this scenario.
+PAMName=
+ExecStart=
+ExecStart=@WESTONSTART@
+SmackProcessLabel=System::Weston