source: trunk/packages/sipb-xen-vnc-server/code/vncproxy.py @ 642

Last change on this file since 642 was 289, checked in by broder, 17 years ago

Changed VNC proxy to spew to stdout instead of an arbitrary logfile so that it will go to the right syslog

  • Property svn:executable set to *
File size: 317 bytes
Line 
1#! /usr/bin/python
2from twisted.internet import reactor, ssl
3import vncexternalauth
4
5sslContext = ssl.DefaultOpenSSLContextFactory(
6        'vncproxykey.pem',
7        'vncproxy.crt',
8)
9
10if '__main__' == __name__:
11    reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("localhost"), contextFactory=sslContext)
12    reactor.run()
Note: See TracBrowser for help on using the repository browser.