Reverse VNC connection to :0.1 on port 6900
I have a RHEL5 box with dual-heads (X displays :0.0 and :0.1). I have the X11 vnc module loaded properly in xorg.conf and it's serving both displays out on port 5900 and 6900 respectively. I want to be able to "send" either screen to another machine running vncviewer -listen, but I can only manage to send the primary display.
I'm using, for example: vncconfig -connect remoteviewer:5500 to initiate the reverse connection, which (understandably) makes the primary display appear on the remote listening display. However, I would expect that vncconfig -display :0.1 -connect remoteviewer:5500 would send the secondary display, but that doesn't happen, I get the primary display again.
I don't see a way to manually specify the local port to tell the remote viewer to connect to, am I missing something? How do I tell the remote listening viewer to connect to port 6900 instead of 5900?
Last edited by S'pht'Kr; 07-14-2010 at 02:00 PM.
Reason: made code snippets inline