Link to home
Start Free TrialLog in
Avatar of mraeryceos
mraeryceos

asked on

realvnc and multiple monitors

When I connect an external monitor to my laptop, I want it to be the monitor connected in a realvnc session.
When the external monitor is not connected, I want the laptop's display to be the monitor connected in a realvnc session.

I can change the setting in RealVNC to display the external monitor, but if I have the laptop running without the external monitor, the connection fails (only have tried it from my phone).

Is there a way to make RealVNC smart enough to display monitor 2 (the external) when it is connected, yet otherwise display monitor 1 (the laptop display) if the external is not connected?
Avatar of mraeryceos
mraeryceos

ASKER

I've tried workng with user-mode:

"C:\Program Files\RealVNC\VNC4\winvnc4.exe" -noconsole -start displaydevice=\\.\display1 portnumber=5901 disabletrayicon=1
and also
"C:\Program Files\RealVNC\VNC4\winvnc4.exe" -noconsole -start -displaydevice=\\.\display1 -portnumber=5901 -disabletrayicon=1

but the first thing I notice is that the port number is ignored, and set at default 5800/5900, instead of 5801/5901
My goal is to start two user mode servers.  Seems like it would be easier to be able to specify the display desired from the client side.  Or better yet, as I originally asked.
Why can't VNC know what the Windows default display is, regardless if it is the laptop or external displays, regardless of what the display number is.
The freeware RealVNC app doesn't record the windows location, so everytime you launch the viewer session, it start in the middle of the primary screen, don't think there is a fix for it.  You can however drag the window over to the second screen, before you login, and it will remain there until you close/disconnect.
ASKER CERTIFIED SOLUTION
Avatar of mraeryceos
mraeryceos

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial