diff options
author | Devaev Maxim <[email protected]> | 2020-04-23 11:17:22 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-04-23 11:17:31 +0300 |
commit | 75669466cf6b68fbe209a6d2232aec6d49a51044 (patch) | |
tree | 74bdd3064eb76e0d5b6cabd2c6df07bc425e8ea5 /kvmd/apps/vnc/__init__.py | |
parent | 820ef178710d8442e30c5b23d0ac0cb90be5150c (diff) |
vnc: anon tls encryption
Diffstat (limited to 'kvmd/apps/vnc/__init__.py')
-rw-r--r-- | kvmd/apps/vnc/__init__.py | 13 |
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() |