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

Last change on this file since 1309 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
RevLine 
[115]1#! /usr/bin/python
[288]2from twisted.internet import reactor, ssl
[115]3import vncexternalauth
4
[288]5sslContext = ssl.DefaultOpenSSLContextFactory(
6        'vncproxykey.pem',
7        'vncproxy.crt',
8)
9
[115]10if '__main__' == __name__:
[289]11    reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("localhost"), contextFactory=sslContext)
[115]12    reactor.run()
Note: See TracBrowser for help on using the repository browser.