Last change
on this file since 1528 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
|
Line | |
---|
1 | #! /usr/bin/python |
---|
2 | from twisted.internet import reactor, ssl |
---|
3 | from invirt import vnc |
---|
4 | |
---|
5 | sslContext = ssl.DefaultOpenSSLContextFactory( |
---|
6 | '/usr/share/invirt-vnc-server/vncproxykey.pem', |
---|
7 | '/usr/share/invirt-vnc-server/vncproxy.crt', |
---|
8 | ) |
---|
9 | |
---|
10 | if '__main__' == __name__: |
---|
11 | reactor.listenSSL(10003,vnc.VNCAuthFactory("localhost"), contextFactory=sslContext) |
---|
12 | reactor.run() |
---|
Note: See
TracBrowser
for help on using the repository browser.