I tested a few minutes ago.
Stop service before any changes made to ultravnc.ini (and some full reboot for added test reliability)
Primary=1 // Secondary=0 => Works as expected
Primary=1 // Secondary=1 => Works as expected
Primary=0 // Secondary=1 => Doesn't work (same behaviour as p=1/s=1)
Also android viewer fails to connect (really disconnect just after showing desktop) but only if try to connect after logon.
(Android viewer problem isn't a big deal right now; only FYI)
Testing conditions:
Server machine:
XP Home (windows updates to date)
Nvidia Geforce 4MX dual monitor setup
1680x1050 + 800x600
Mirror hook driver fully uninstalled, re-downloaded and installed again previously
Viewer:
2x Android viewer (800x480 and 480x320 screens)
The same xp machine (loopback view only 50% scale for testing)
If do you need more data or further testing, don't hesitate to contact me.
Ultravnc.ini extract:
[******]
[Permissions]
[admin]
UseRegistry=0
path=C:\Archivos de programa\UltraVNC
DebugLevel=8
UseDSMPlugin=0
AuthRequired=1
ConnectPriority=0
BlankMonitorEnabled=1
BlankInputsOnly=0
DefaultScale=1
CaptureAlphaBlending=1
BlackAlphaBlending=0
RemoveWallpaper=0
RemoveAero=0
service_commandline=
Primary=0
Secondary=1
[poll]
TurboMode=0
PollUnderCursor=0
PollForeground=0
PollFullScreen=0
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=1
EnableHook=0
EnableVirtual=0
SingleWindow=0
[******]
Regards
Juan Belmonte