summaryrefslogtreecommitdiffstats
path: root/core/modules/remote-access
diff options
context:
space:
mode:
authorSimon Rettberg2022-09-08 16:21:44 +0200
committerSimon Rettberg2022-09-08 16:21:44 +0200
commitabdd5e12248217aa151ea01c76db480d44b51f66 (patch)
treebe401d36e9642c8a38947481c6f4268b38455576 /core/modules/remote-access
parent[remote-access] Run Xsetup script in bash (diff)
downloadmltk-abdd5e12248217aa151ea01c76db480d44b51f66.tar.gz
mltk-abdd5e12248217aa151ea01c76db480d44b51f66.tar.xz
mltk-abdd5e12248217aa151ea01c76db480d44b51f66.zip
[remote-access] Source config again in bash subshell
Diffstat (limited to 'core/modules/remote-access')
-rwxr-xr-xcore/modules/remote-access/data/etc/X11/Xsetup.d/50-launch-vncserver1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/remote-access/data/etc/X11/Xsetup.d/50-launch-vncserver b/core/modules/remote-access/data/etc/X11/Xsetup.d/50-launch-vncserver
index 0f7434bd..b6c9d395 100755
--- a/core/modules/remote-access/data/etc/X11/Xsetup.d/50-launch-vncserver
+++ b/core/modules/remote-access/data/etc/X11/Xsetup.d/50-launch-vncserver
@@ -3,6 +3,7 @@
[ -z "$SLX_KCL_SERVERS" ] && . /opt/openslx/config
[ "$DISPLAY" = :0 ] && [ -n "$SLX_REMOTE_VNC" ] && bash <<"BLUBB" &
+ . /opt/openslx/config
# TODO If we support multiple parallel sessions in the future, we need dedicated
# ports for each session for both, the VNC and the RPC port.
vnc_port="${SLX_REMOTE_VNC_PORT:-5900}"