Ignore:
Timestamp:
Mar 28, 2008, 8:29:04 PM (16 years ago)
Author:
broder
Message:

Fixed the init scripts and control file. Also, imported quentin's UNCOMMITTED CODE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-vnc-server/code/vncproxy.py

    • Property svn:executable set to *
    r115 r288  
    11#! /usr/bin/python
    2 from twisted.internet import reactor
     2from twisted.internet import reactor, ssl
    33import vncexternalauth
    44
     5sslContext = ssl.DefaultOpenSSLContextFactory(
     6        'vncproxykey.pem',
     7        'vncproxy.crt',
     8)
     9
    510if '__main__' == __name__:
    6     reactor.listenTCP(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"))
     11    reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"), contextFactory=sslContext)
     12    #reactor.listenTCP(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"))
    713    reactor.run()
Note: See TracChangeset for help on using the changeset viewer.