| 
                Last change
                  on this file since 2685 was
                  289,
                  checked in by broder, 18 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 | 
|---|
| 2 | from twisted.internet import reactor, ssl | 
|---|
| 3 | import vncexternalauth | 
|---|
| 4 |  | 
|---|
| 5 | sslContext = ssl.DefaultOpenSSLContextFactory( | 
|---|
| 6 |         'vncproxykey.pem', | 
|---|
| 7 |         'vncproxy.crt', | 
|---|
| 8 | ) | 
|---|
| 9 |  | 
|---|
| 10 | if '__main__' == __name__: | 
|---|
| 11 |     reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("localhost"), contextFactory=sslContext) | 
|---|
| 12 |     reactor.run() | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.