|
Last change
on this file since 1385 was
1385,
checked in by broder, 17 years ago
|
|
Switch sipb-xen-vnc-server to use distutils
|
-
Property svn:executable set to
*
|
|
File size:
367 bytes
|
| Rev | Line | |
|---|
| [115] | 1 | #! /usr/bin/python |
|---|
| [288] | 2 | from twisted.internet import reactor, ssl |
|---|
| [1385] | 3 | from invirt import vnc |
|---|
| [115] | 4 | |
|---|
| [288] | 5 | sslContext = ssl.DefaultOpenSSLContextFactory( |
|---|
| [1384] | 6 | '/usr/share/sipb-xen-vnc-server/vncproxykey.pem', |
|---|
| 7 | '/usr/share/sipb-xen-vnc-server/vncproxy.crt', |
|---|
| [288] | 8 | ) |
|---|
| 9 | |
|---|
| [115] | 10 | if '__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.