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?
LVL 1
mraeryceosAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mraeryceosAuthor Commented:
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
0
mraeryceosAuthor Commented:
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.
0
Iain MacMillanIT Regional Manager - UKCommented:
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.
0
mraeryceosAuthor Commented:
Contacted RealVNC, and they confirmed no solution, but seemed interested in coming out with a solution in the next version.
I leave my laptop on, and may or may not need to make a vnc connection... just depends.  I won't remember ahead of time.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Remote Access

From novice to tech pro — start learning today.