|
Last change
on this file since 1053 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
|
| Rev | Line | |
|---|
| [115] | 1 | #! /usr/bin/python |
|---|
| [288] | 2 | from twisted.internet import reactor, ssl |
|---|
| [115] | 3 | import vncexternalauth |
|---|
| 4 | |
|---|
| [288] | 5 | sslContext = ssl.DefaultOpenSSLContextFactory( |
|---|
| 6 | 'vncproxykey.pem', |
|---|
| 7 | 'vncproxy.crt', |
|---|
| 8 | ) |
|---|
| 9 | |
|---|
| [115] | 10 | if '__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.