source: trunk/packages/sipb-xen-vnc-server/sipb-xen-vnc-server @ 1385

Last change on this file since 1385 was 1385, checked in by broder, 15 years ago

Switch sipb-xen-vnc-server to use distutils

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