openbsd-ports/net/ssvnc/patches/patch-vnc_unixsrc_vncviewer_vncviewer_h
sthen 6a2a5681ae disable multiplexing in the default SSH command for -via mode
(which automatically sets up port-forwards for VNC connections);
if you connect to an existing multiplexed connection you can't
create the port-forward.
2011-04-27 22:07:08 +00:00

16 lines
672 B
Plaintext

$OpenBSD: patch-vnc_unixsrc_vncviewer_vncviewer_h,v 1.1 2011/04/27 22:07:09 sthen Exp $
--- vnc_unixsrc/vncviewer/vncviewer.h.orig Wed Apr 27 23:01:21 2011
+++ vnc_unixsrc/vncviewer/vncviewer.h Wed Apr 27 23:02:30 2011
@@ -67,9 +67,9 @@ extern int endianTest;
#define DEFAULT_SSH_CMD "/usr/bin/ssh"
#define DEFAULT_TUNNEL_CMD \
- (DEFAULT_SSH_CMD " -f -L %L:localhost:%R %H sleep 20")
+ (DEFAULT_SSH_CMD " -f -S none -L %L:localhost:%R %H sleep 20")
#define DEFAULT_VIA_CMD \
- (DEFAULT_SSH_CMD " -f -L %L:%H:%R %G sleep 20")
+ (DEFAULT_SSH_CMD " -f -S none -L %L:%H:%R %G sleep 20")
#define TVNC_SAMPOPT 4
enum {TVNC_1X=0, TVNC_4X, TVNC_2X, TVNC_GRAY};