Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Possible to view secondary monitor only? Automatically?
Possible to view secondary monitor only? Automatically?
I recently started working with UVNC and have been requested to do some reasearch.
What I am looking to do (if possible) is save a profile/configuration settings that will automatically launch/ login AND automatically ONLY display the secondary monitor of a dual monitor setup that it is connecting too... I've been playing around with the "VNCviewer Config File" but it wont save the particular setting where the second monitor is the only one showing..
Any ideas or help on this topic would be greatly appreciated. Thanks!
What I am looking to do (if possible) is save a profile/configuration settings that will automatically launch/ login AND automatically ONLY display the secondary monitor of a dual monitor setup that it is connecting too... I've been playing around with the "VNCviewer Config File" but it wont save the particular setting where the second monitor is the only one showing..
Any ideas or help on this topic would be greatly appreciated. Thanks!
Re: Possible to view secondary monitor only? Automatically?
I think you need to review Rudi's instructions at https://forum.ultravnc.net/viewtopic.php?f=54&t=28078
Re: Possible to view secondary monitor only? Automatically?
Thanks B,
Yes I do understand the instructions on how to switch. I am just curious if there is a way to store that information (that it is showing only monitor 2) in the config file so that when launched, it will instantly show the second monitor instead of having to switch too it.
Yes I do understand the instructions on how to switch. I am just curious if there is a way to store that information (that it is showing only monitor 2) in the config file so that when launched, it will instantly show the second monitor instead of having to switch too it.
Re: Possible to view secondary monitor only? Automatically?
I may be wrong, but it seems that's exactly what Rudi described in the link I gave you, namely:
Some people use non ultravnc viewers, no button to switch desktop.
In that case, they need to set the default via ultravnc.ini
ultravnc.ini
primary=1
secondary=0
p=1 s=0 -> show primary display
p=1 s=1 -> show both
p=0 s=1 -> show secondary
I guess the issue is how to set the default behaviour of the server...
Re: Possible to view secondary monitor only? Automatically?
Thanks for your patience with me B.
I have modified the settings accordingly in the INI file. However, when connecting it still will display both monitors... Below i have included my INI file which should be correct.
Please note i am currently running 10961 as it is the latest version avaliable on UVNC's downloads page. I notced that everyone was talking in the other post about 10962. this may be my problem entirly. Please advise. thanks
[Permissions]
[admin]
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=0
BlankInputsOnly=1
CaptureAlphaBlending=0
BlackAlphaBlending=0
DefaultScale=1
UseDSMPlugin=0
DSMPlugin=
DSMPluginConfig=
primary=0
secondary=1
SocketConnect=1
HTTPConnect=1
XDMCPConnect=0
AutoPortSelect=1
InputsEnabled=0
LocalInputsDisabled=0
IdleTimeout=0
EnableJapInput=0
QuerySetting=2
QueryTimeout=10
QueryAccept=0
LockSetting=0
RemoveWallpaper=0
RemoveEffects=0
RemoveFontSmoothing=0
RemoveAero=0
DebugMode=0
Avilog=0
path=C:\Program Files\UltraVNCupdated
DebugLevel=8
AllowLoopback=0
LoopbackOnly=0
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferTimeout=30
KeepAliveInterval=5
SocketKeepAliveTimeout=10000
DisableTrayIcon=0
MSLogonRequired=0
NewMSLogon=0
ConnectPriority=1
dummy=0
UseRegistry=0
kickrdp=0
service_commandline=
SC_PROMPT=0
SC_AUTORECON=0
AuthRequired=1
AuthHosts=
PortNumber=0
HTTPPortNumber=0
QueryIfNoLogon=0
secundary=1
[ultravnc]
passwd=A593B5E5007527A614
passwd2=A593B5E5007527A614
[poll]
TurboMode=0
PollUnderCursor=0
PollForeground=1
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=1
MaxCpu=40
EnableDriver=1
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
[presets]
preset1=
preset1D=
preset1ID=
preset2=
preset2D=
preset2ID=
preset3=
preset3D=
preset3ID=
I have modified the settings accordingly in the INI file. However, when connecting it still will display both monitors... Below i have included my INI file which should be correct.
Please note i am currently running 10961 as it is the latest version avaliable on UVNC's downloads page. I notced that everyone was talking in the other post about 10962. this may be my problem entirly. Please advise. thanks
[Permissions]
[admin]
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=0
BlankInputsOnly=1
CaptureAlphaBlending=0
BlackAlphaBlending=0
DefaultScale=1
UseDSMPlugin=0
DSMPlugin=
DSMPluginConfig=
primary=0
secondary=1
SocketConnect=1
HTTPConnect=1
XDMCPConnect=0
AutoPortSelect=1
InputsEnabled=0
LocalInputsDisabled=0
IdleTimeout=0
EnableJapInput=0
QuerySetting=2
QueryTimeout=10
QueryAccept=0
LockSetting=0
RemoveWallpaper=0
RemoveEffects=0
RemoveFontSmoothing=0
RemoveAero=0
DebugMode=0
Avilog=0
path=C:\Program Files\UltraVNCupdated
DebugLevel=8
AllowLoopback=0
LoopbackOnly=0
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferTimeout=30
KeepAliveInterval=5
SocketKeepAliveTimeout=10000
DisableTrayIcon=0
MSLogonRequired=0
NewMSLogon=0
ConnectPriority=1
dummy=0
UseRegistry=0
kickrdp=0
service_commandline=
SC_PROMPT=0
SC_AUTORECON=0
AuthRequired=1
AuthHosts=
PortNumber=0
HTTPPortNumber=0
QueryIfNoLogon=0
secundary=1
[ultravnc]
passwd=A593B5E5007527A614
passwd2=A593B5E5007527A614
[poll]
TurboMode=0
PollUnderCursor=0
PollForeground=1
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=1
MaxCpu=40
EnableDriver=1
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
[presets]
preset1=
preset1D=
preset1ID=
preset2=
preset2D=
preset2ID=
preset3=
preset3D=
preset3ID=
Re: Possible to view secondary monitor only? Automatically?
I also noticed in the ini that there is a "Primary" and a "secondary"... then lower in the list there is another "Secundary"... not sure if this is causing an issue or what the differences are? if any
Re: Possible to view secondary monitor only? Automatically?
I don't know what else to suggest -- this .INI file is on your VIEWER machine, right?
Re: Possible to view secondary monitor only? Automatically?
The .ini file is on my viewer machine. But still. With "Primary=0" and "secondary=1" I can not get it to connect by default to the second monitor...
No idea what is goin on here.
No idea what is goin on here.
Re: Possible to view secondary monitor only? Automatically?
There isn't an ini for the viewer, the suggestion by rudi is to modify the default server behavior.
Remember to restart the server process in order for the ini changes to take effect.
Remember to restart the server process in order for the ini changes to take effect.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Re: Possible to view secondary monitor only? Automatically?
I have same problem. I have 2 PC with Windows 7 ultimate 32 bit OS.
I created on first Pc a second screen in Windows display settings and installed Ultra VNC.
I set primary=0 and secondary=1
When I connect from client I see or only primary or primary and secondary.
I would like to see only secondary
Do you find result?
Thanks It's very important for me because I will install this system on sunday in factory.
I created on first Pc a second screen in Windows display settings and installed Ultra VNC.
I set primary=0 and secondary=1
When I connect from client I see or only primary or primary and secondary.
I would like to see only secondary
Do you find result?
Thanks It's very important for me because I will install this system on sunday in factory.
danjeh wrote:The .ini file is on my viewer machine. But still. With "Primary=0" and "secondary=1" I can not get it to connect by default to the second monitor...
No idea what is goin on here.
Re: Possible to view secondary monitor only? Automatically?
Hi There,
I have to same problem. Trying to set up output for only my secondary screen. It works when I write: primary=1
secondary=0
this let's me output only the primary screen. But when I want to output only the secondary screen I put
primary=0
secondary=1
it doesn’t work…
Note that I’m using the newest version 10962 for 64bit Windows 7 Enterprise. For the convenience I will also post my .ini file here(yes I did restart the service after saving my .ini file ):
[ultravnc]
passwd=removed
passwd2=removed
[admin]
UseRegistry=0
MSLogonRequired=0
NewMSLogon=0
DebugMode=0
Avilog=0
path=C:\Program Files\UltraVNC
DebugLevel=0
DisableTrayIcon=0
LoopbackOnly=0
UseDSMPlugin=0
AllowLoopback=0
AuthRequired=1
ConnectPriority=1
DSMPlugin=
AuthHosts=
DSMPluginConfig=
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=0
BlankInputsOnly=0
DefaultScale=1
CaptureAlphaBlending=1
BlackAlphaBlending=0
primary=0
secondary=1
SocketConnect=1
HTTPConnect=1
XDMCPConnect=0
AutoPortSelect=0
PortNumber=5902
HTTPPortNumber=5800
IdleTimeout=0
RemoveWallpaper=1
RemoveAero=1
QuerySetting=2
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=1
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
kickrdp=0
clearconsole=0
[admin_auth]
group1=
group2=
group3=
locdom1=0
locdom2=0
locdom3=0
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
MaxCpu=100
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
[Permissions]
I have to same problem. Trying to set up output for only my secondary screen. It works when I write: primary=1
secondary=0
this let's me output only the primary screen. But when I want to output only the secondary screen I put
primary=0
secondary=1
it doesn’t work…
Note that I’m using the newest version 10962 for 64bit Windows 7 Enterprise. For the convenience I will also post my .ini file here(yes I did restart the service after saving my .ini file ):
[ultravnc]
passwd=removed
passwd2=removed
[admin]
UseRegistry=0
MSLogonRequired=0
NewMSLogon=0
DebugMode=0
Avilog=0
path=C:\Program Files\UltraVNC
DebugLevel=0
DisableTrayIcon=0
LoopbackOnly=0
UseDSMPlugin=0
AllowLoopback=0
AuthRequired=1
ConnectPriority=1
DSMPlugin=
AuthHosts=
DSMPluginConfig=
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=0
BlankInputsOnly=0
DefaultScale=1
CaptureAlphaBlending=1
BlackAlphaBlending=0
primary=0
secondary=1
SocketConnect=1
HTTPConnect=1
XDMCPConnect=0
AutoPortSelect=0
PortNumber=5902
HTTPPortNumber=5800
IdleTimeout=0
RemoveWallpaper=1
RemoveAero=1
QuerySetting=2
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=1
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
kickrdp=0
clearconsole=0
[admin_auth]
group1=
group2=
group3=
locdom1=0
locdom2=0
locdom3=0
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
MaxCpu=100
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
[Permissions]
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: Possible to view secondary monitor only? Automatically?
If you use the "mirror driver" you have
prim
sec
both
if you don't use the driver you have
prim both
Without the driver
primary=0 secondary=1
act the same as
primary=1 secondary=1
prim
sec
both
if you don't use the driver you have
prim both
Without the driver
primary=0 secondary=1
act the same as
primary=1 secondary=1
Re: Possible to view secondary monitor only? Automatically?
I have Windows7 64-bit and this did not work after multiple installs and multipe reboots.
Is it required that "real" physical 2nd monitor attached when I want to serve up secondary only?
Is it required that "real" physical 2nd monitor attached when I want to serve up secondary only?
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: Possible to view secondary monitor only? Automatically?
Check if your video card driver allow to overwrite the monitor detection, else the etended desktop is removed when you don't have a monitor attached.