summaryrefslogtreecommitdiffstats
path: root/modules-available/remoteaccess
diff options
context:
space:
mode:
authorSimon Rettberg2021-05-05 17:35:35 +0200
committerSimon Rettberg2021-05-05 17:36:08 +0200
commit830ca47d33aa9bce82d8237406d3345bded2fd6f (patch)
treefff2a0549946d52556aa5a00b0bbee757a342199 /modules-available/remoteaccess
parent[vmstore] Fix displaying mount task output (diff)
downloadslx-admin-830ca47d33aa9bce82d8237406d3345bded2fd6f.tar.gz
slx-admin-830ca47d33aa9bce82d8237406d3345bded2fd6f.tar.xz
slx-admin-830ca47d33aa9bce82d8237406d3345bded2fd6f.zip
[remoteaccess] Add VNC port to client config
Diffstat (limited to 'modules-available/remoteaccess')
-rw-r--r--modules-available/remoteaccess/baseconfig/getconfig.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/remoteaccess/baseconfig/getconfig.inc.php b/modules-available/remoteaccess/baseconfig/getconfig.inc.php
index 6a051737..23e623d0 100644
--- a/modules-available/remoteaccess/baseconfig/getconfig.inc.php
+++ b/modules-available/remoteaccess/baseconfig/getconfig.inc.php
@@ -23,6 +23,7 @@
ConfigHolder::add("SLX_REMOTE_VNC", 'x11vnc');
}
ConfigHolder::add("SLX_REMOTE_HOST_ACCESS", Property::get(RemoteAccess::PROP_ALLOWED_VNC_NET));
+ ConfigHolder::add('SLX_REMOTE_VNC_PORT', Property::get(RemoteAccess::PROP_VNC_PORT, 5900));
ConfigHolder::add('SLX_RUNMODE_MODULE', 'remoteaccess');
// No saver
$saverTimeout = ConfigHolder::get('SLX_SCREEN_SAVER_TIMEOUT');
@@ -32,4 +33,4 @@
ConfigHolder::add('SLX_SCREEN_SAVER_GRACE_TIME', '86400', 1000);
}
}
-})($uuid); \ No newline at end of file
+})($uuid);