commit 149dfe098751652e65884dcebeb465c017bc1e1f
parent a9216eff178f968f9fe9d6b53bb1866d9669b08b
Author: ccx <ccx@te2000.cz>
Date: Thu, 21 Mar 2024 15:59:10 +0000
Set same hostname as the xorg container in xsession
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/service_scripts/xsession/run b/service_scripts/xsession/run
@@ -6,7 +6,6 @@ multisubstitute {
importas -i -u CONTAINER_NAME CONTAINER_NAME
importas -i -u CONTAINER_USER CONTAINER_USER
}
-export HOST ${CONTAINER_NAME}
backtick -in CONTAINER_USER_HOME { homeof $CONTAINER_USER }
multisubstitute {
importas -i -u CONTAINER_USER_HOME CONTAINER_USER_HOME
@@ -16,6 +15,7 @@ multisubstitute {
define -s tmpfs_dirs "home run tmp inbox run/inbox tmp/.X11-unix"
importas -D ns -s -C -u CONTAINER_MNT_DIRS CONTAINER_MNT_DIRS
}
+export HOST X${vtN}
getpid NS_PID
foreground {