Revision 7183f55d
b/vapclient.py | ||
---|---|---|
1 | 1 |
#!/usr/bin/env python |
2 | 2 |
# |
3 |
|
|
4 |
# Copyright (c) 2010 GRNET SA |
|
3 |
# Copyright (c) 2010-2011 Greek Research and Technology Network S.A. |
|
5 | 4 |
# |
6 | 5 |
# This program is free software; you can redistribute it and/or modify |
7 | 6 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
26 | 25 |
except ImportError: |
27 | 26 |
import json |
28 | 27 |
|
29 |
CTRL_SOCKET = "/tmp/vncproxy.sock"
|
|
28 |
CTRL_SOCKET = "/var/run/vncauthproxy/ctrl.sock"
|
|
30 | 29 |
|
31 | 30 |
def request_forwarding(sport, daddr, dport, password): |
32 | 31 |
assert(len(password) > 0) |
b/vncauthproxy.py | ||
---|---|---|
1 | 1 |
#!/usr/bin/env python |
2 | 2 |
# |
3 |
|
|
4 |
# Copyright (c) 2010 GRNET SA |
|
3 |
# Copyright (c) 2010-2011 Greek Research and Technology Network S.A. |
|
5 | 4 |
# |
6 | 5 |
# This program is free software; you can redistribute it and/or modify |
7 | 6 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
18 | 17 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
19 | 18 |
# 02110-1301, USA. |
20 | 19 |
|
21 |
DEFAULT_CTRL_SOCKET = "/tmp/vncproxy.sock"
|
|
20 |
DEFAULT_CTRL_SOCKET = "/var/run/vncauthproxy/ctrl.sock"
|
|
22 | 21 |
DEFAULT_LOG_FILE = "/var/log/vncauthproxy/vncauthproxy.log" |
23 | 22 |
DEFAULT_PID_FILE = "/var/run/vncauthproxy/vncauthproxy.pid" |
24 | 23 |
DEFAULT_CONNECT_TIMEOUT = 30 |
Also available in: Unified diff