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.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
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

Connection lost when user logs off or switching users

Post Reply
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Connection lost when user logs off or switching users

Post by B »

So I wonder how the commercials apps (GoToMyPC, LogMeIn, etc.) deal with this; I don't recall them dropping during logoffs...
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6957
Joined: 2004-04-23 10:21
Contact:

Re: Connection lost when user logs off or switching users

Post by Rudi De Vos »

You need to move the network part in the service, then connection stay alive while you restart the desktop part.
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/
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Connection lost when user logs off or switching users

Post by B »

Okay, cool. Is anything like that on your roadmap?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6957
Joined: 2004-04-23 10:21
Contact:

Re: Connection lost when user logs off or switching users

Post by Rudi De Vos »

A lot of work...
network is in encoders/encryption/connection
2012 ?
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/
Snafu
Posts: 2
Joined: 2011-03-15 15:04

Re: Connection lost when user logs off or switching users

Post by Snafu »

I've got the same problem here.
The PC I'm remotely working on is behind a router I cannot configure. I therefore use a reverse connection to my PC and voila, I'm in.
The problem is that the other machine has XP Pro running and sometimes I have to log in as Administrator (no, run as Administrator won't always do, sadly).
Thats where the log off kicks me in the nuts. I can't reconnect because I can't get past the router.

I do hope it gets implemented some time in the future. I really like uvnc.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6957
Joined: 2004-04-23 10:21
Contact:

Re: Connection lost when user logs off or switching users

Post by Rudi De Vos »

The service_commandline allow you to setup a autoreconnect invers connection.
In case the server loose the viewer connection, it just try to make it again.
This also allow you to reboot and still get connected again.
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/
Snafu
Posts: 2
Joined: 2011-03-15 15:04

Re: Connection lost when user logs off or switching users

Post by Snafu »

Thanks Rudi De Vos!
It works and I personally can live with that functionality but I first tried solely adding -autoreconnect to service_commandline and it didn't work. Only with the additional -connect host::port it worked but only to that single host of course.
I was hoping that by setting -autoreconnect only the last issued connection would be retried but it didnt work. The reason I wanted it like that is so that when the user has a problem on that PC he / she just has to right click on the icon and go on "Add new client", fill in whatever host should be able to connect and if that host gets disconnected because of log off winvnc would try to connect to that specific host again.
Didn't work for me but for now the single host solution is good enough.

Edit: From the fix you posted in Post #3, which one is for XP (32bit)? The normal winvnc.exe or winvnc_w2k.exe? I'm not sure which since I read somewhere on the site (can't find it now) that Win 2k is not working with the newer versions because of VS2010 not supporting it or something.
Last edited by Snafu on 2011-03-16 00:41, edited 2 times in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Connection lost when user logs off or switching users

Post by redge »

The normal winvnc.exe or winvnc_w2k.exe?
winvnc (folder x64) for xp/w2k3/vista/w2k8/w2k8r2/7 64bit (VS2010)
winvnc (root folder) xp/w2k3/vista/w2k8/7 32bit (VS2010)
winvnc (folder w2k) only for w2k0 = windows 2000 (VS2008)
Last edited by redge on 2011-03-16 00:59, edited 3 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
ninefofo
Posts: 6
Joined: 2011-10-14 15:10

Re: Connection lost when user logs off or switching users

Post by ninefofo »

Hello,

Wondering if this topic is still being moderated or followed? :shock: Has there been any fixes to this? I use v1.0.9.6.1, which loses the connection on logoff or switching users. 32 bit Windows XP SP3 is our platform of choice, yeah I know. Were working on it. :surprise:

Thanks

Brad
Post Reply