diff options
Diffstat (limited to 'apps.c')
-rw-r--r-- | apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -248,7 +248,7 @@ int open_vnc_session(char *host, int tcpport) char javaurl[64]; char vncurl[64]; - snprintf(display, sizeof(display), "%s:%d", host, tcpport - 5900); + snprintf(display, sizeof(display), "%s::%d", host, tcpport); snprintf(javaurl, sizeof(javaurl), "http://%s:%d/", host, tcpport - 100); snprintf(vncurl, sizeof(vncurl), "vnc://%s:%d/", host, tcpport); |