diff --git a/novnc.py b/novnc.py index 610b2aa..a6e7089 100644 --- a/novnc.py +++ b/novnc.py @@ -24,21 +24,3 @@ def spawn(target, options): print('spawn!') -def spawn2(options): - """ spawn novnc daemon """ - print('daemon spawned') - novncd = threading.Thread(name='novncd', target=start_websockify, args=(options,)) - novncd.setDaemon(True) #daemonic ]:> - novncd.start() - print('stauts', novncd.isAlive()) - - -def start_websockify(options): - """ spawn websockify process """ - print(options) - server = websockify.WebSocketProxy(**options) - server.start_server() - print('daemon exited') - #while True: - # print('daemon') -