Dear all,
First of all, thanks to all of you for your work.
We are implementing the latest version of UltraVNC (1.3.2 64bits) on Windows 10 20H2 machines with encryption plugins (secureVNCPlugin64.dsm)
UltraVNC is running as a service.
Everything is working fine, except when we try to log off or try to switch user remotely.
At this time the UltraVNC Viewer is loosing connection.
Obviously, we can reconnect and process login again normally, but it would be nice to be able to remain connected!
I found a similar thread, and tried to set QueryAccept=2 and QueryIfNoLogon=0
https://community.spiceworks.com/topic/ ... ch-log-off
I also tried to set my port to auto as mentioned.
But it's a vert old thread (2013), and didn't manage to maintain my connection.
I just wanted to know if some other persons had experienced something similar?
And if you have any advice on how to solve it!
I attach below my ini file, if you want to reproduce (I return to my default settings)
Thanks for your help
Best
Damien
[ultravnc]
passwd=<SECRET>
passwd2=<SECRET>
[admin]
DSMPluginConfig=SecureVNC;0;0x00104001;<SECRET>
UseRegistry=0
SendExtraMouse=1
Secure=1
MSLogonRequired=0
NewMSLogon=0
DebugMode=0
Avilog=0
path=C:\Program Files\uvnc bvba\UltraVNC
accept_reject_mesg=
DebugLevel=0
DisableTrayIcon=1
rdpmode=0
noscreensaver=0
LoopbackOnly=0
UseDSMPlugin=1
AllowLoopback=0
AuthRequired=1
ConnectPriority=0
DSMPlugin=SecureVNCPlugin64.dsm
AuthHosts=+<My IP>
AllowShutdown=0
AllowProperties=0
AllowInjection=0
AllowEditClients=0
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=1
BlankInputsOnly=0
DefaultScale=1
primary=1
secondary=0
SocketConnect=1
HTTPConnect=0
AutoPortSelect=0
PortNumber=5900
HTTPPortNumber=5801
IdleTimeout=0
IdleInputTimeout=0
RemoveWallpaper=0
RemoveAero=0
QuerySetting=2
QueryTimeout=10
QueryDisableTime=0
QueryAccept=0
QueryIfNoLogon=1
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
EnableUnicodeInput=0
EnableWin8Helper=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
MaxCpu2=100
MaxFPS=25
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome
Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.2.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38083
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome
Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.2.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38083
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
UltraVNC viewer disconnect when logging off or user switchin
- Rudi De Vos
- Admin & Developer
- Posts: 6950
- Joined: 2004-04-23 10:21
- Contact:
Re: UltraVNC viewer disconnect when logging off or user swit
It's a design issue.
Each user tun in his own session
service = session0
user1= sessio1
user2= sessionx
The desktop part of vnc, that also contain the network connection need to be running in the active session.
When you have only one user the logon en user have the same session but when you have multiple users the logon can be in another session.
Each time the active session switch the vnc service restart the desktop part in the new active session, this cause a disconnect.
The viewer has the option reconnect and reconnecttime ( sample: 3x 10 sec). If this is set, the viewer reconnect in background without the need to reenter a password. The viewer try 3 times with a 10s interval.
Each user tun in his own session
service = session0
user1= sessio1
user2= sessionx
The desktop part of vnc, that also contain the network connection need to be running in the active session.
When you have only one user the logon en user have the same session but when you have multiple users the logon can be in another session.
Each time the active session switch the vnc service restart the desktop part in the new active session, this cause a disconnect.
The viewer has the option reconnect and reconnecttime ( sample: 3x 10 sec). If this is set, the viewer reconnect in background without the need to reenter a password. The viewer try 3 times with a 10s interval.
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
Re: UltraVNC viewer disconnect when logging off or user swit
Hi Rudi,
Thanks for your quick reply!
We will play with session timeout, in order to succeed automatic re-connection!
Best
Thanks for your quick reply!
We will play with session timeout, in order to succeed automatic re-connection!
Best