I installed the latest Vine Server on a Mac laptop (10.4) with an external monitor. Whenever I connect using a VNC client, the display is always the laptop’s built-in monitor. How do I get the server to connect me to the external monitor instead?
The external monitor contains the Desktop and the menu bar (as set up in System Preferences).
The system startup file (/Library/StartupItems/OSXvnc/OSXvnc) has these server options
VNCARGS="-rfbport 5900 -desktop me_(mymac.local) -dontdisconnect -restartonuserswitch N -keyboardLoading N -pressModsForKeys N -swapButtons -rendezvous Y -rfbauth /Library/StartupItems/OSXvnc/.osxvncauth"
The client is Linux vncviewer (TightVNC), and I tried a bunch of different display numbers on the client side without success.
I tunnel in through SSH, if that matters
$ vncviewer -via mymac -passwd $HOME/.vnc/passwd-mymac mymac
Thank you very much.