commit abd7303c49b833f7e489606b6eba3c3247a898c3
parent 016dd001bf6b330ea956a81b271449a55940c436
Author: ccx <ccx@te2000.cz>
Date: Mon, 18 Mar 2024 00:38:41 +0000
Create the directory for Xauthority
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/service_scripts/xorg/run b/service_scripts/xorg/run
@@ -32,6 +32,7 @@ if { chmod 1770 ${CONTAINER_TMPFS}/${tmpfs_dirs} }
if { chown root:${CONTAINER_USER} ${CONTAINER_TMPFS}/${tmpfs_dirs} }
# Xauthority
+if { mkdir -p ${CONTAINER_TMPFS}${XDG_RUNTIME_DIR} }
if { truncate -s 0 ${CONTAINER_TMPFS}${XDG_RUNTIME_DIR}/Xauthority }
if { chmod 600 ${CONTAINER_TMPFS}${XDG_RUNTIME_DIR}/Xauthority }
if { chown ${CONTAINER_USER}:${CONTAINER_USER} ${CONTAINER_TMPFS}${XDG_RUNTIME_DIR}/Xauthority }