summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/vnc/__init__.py')
-rw-r--r--kvmd/apps/vnc/__init__.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/kvmd/apps/vnc/__init__.py b/kvmd/apps/vnc/__init__.py
index 8d863bcc..8bd9be63 100644
--- a/kvmd/apps/vnc/__init__.py
+++ b/kvmd/apps/vnc/__init__.py
@@ -42,10 +42,17 @@ def main(argv: Optional[List[str]]=None) -> None:
# pylint: disable=protected-access
VncServer(
+ host=config.server.host,
+ port=config.server.port,
+ max_clients=config.server.max_clients,
+
+ tls_ciphers=config.server.tls.ciphers,
+ tls_timeout=config.server.tls.timeout,
+
+ desired_fps=config.desired_fps,
+ symmap=build_symmap(config.keymap),
+
kvmd=KvmdClient(**config.kvmd._unpack()),
streamer=StreamerClient(**config.streamer._unpack()),
vnc_auth_manager=VncAuthManager(**config.auth.vncauth._unpack()),
- desired_fps=config.desired_fps,
- symmap=build_symmap(config.keymap),
- **config.server._unpack(),
).run()