X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-server.git/blobdiff_plain/aed8d463bc137322f0807dc3cac41558c19685b2..38fc59e7dacf4da5c822d7dda78f57a4596e8eef:/code/vncproxy.py diff --git a/code/vncproxy.py b/code/vncproxy.py index 310b8b5..4440981 100755 --- a/code/vncproxy.py +++ b/code/vncproxy.py @@ -3,11 +3,10 @@ from twisted.internet import reactor, ssl import vncexternalauth sslContext = ssl.DefaultOpenSSLContextFactory( - 'vncproxykey.pem', - 'vncproxy.crt', + '/usr/share/sipb-xen-vnc-server/vncproxykey.pem', + '/usr/share/sipb-xen-vnc-server/vncproxy.crt', ) if '__main__' == __name__: - reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"), contextFactory=sslContext) - #reactor.listenTCP(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost")) + reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("localhost"), contextFactory=sslContext) reactor.run()