source: trunk/packages/invirt-vnc-server/invirt-vnc-server @ 1417

Last change on this file since 1417 was 1386, checked in by broder, 16 years ago

sipb-xen-vnc-server -> invirt-vnc-server

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