Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

VNC Server quits at login.

Post Reply
JLOB
Posts: 5
Joined: 2006-09-09 13:08
Location: Stonington, CT USA

VNC Server quits at login.

Post by JLOB »

I’ve been using Ultra VNC for several years now, usually with no problems whatsoever. I’ve recently upgraded seven associated computers to Windows 10 Professional. During these upgrades, I’d install VNC in the particular system and then remotely complete the applications installations and various tweaks to the OS. In all cases VNC is version 1.2.1.0.

I have one machine where apparently, I went one tweak too far! VNC no longer runs correctly. I connect, I get the password request, enter the password, but see no remote desktop, and the blue server icon in the system tray changes to yellow.

I’ve tried Version 1.2.1.1 with no better luck.

I’d appreciate any advice anyone might offer. I have five or six hours in this machines’ setup. I wasn’t able to do in-place upgrades on these systems since they had all been running enterprise versions of Windows 7. Each machine was a from-scratch install, OS, Apps, and tweaks. I REALLY don’t want to completely re-do this machine given that it was probably my goofy error in the first place.

Thanks for your time.

JLOB
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: VNC Server quits at login.

Post by Rudi De Vos »

Howto upgrade
-------------------
If you have winvnc already installed, you just can replace the winvnc.exe and vncviewer.exe with the new version
For the viewer that isn't a problem, but if the server is in use you can't simple rename it.

Copy new winvnc.exe als winvnc1211.exe to to same folder as the old
start service/ rename old/copy new as winvnc.exe with a bad
If you use a bat file, you actual can start it from a "runas admin cmd" from a old vnc connection.
The connection break, but after the service restart you should be able to connect again.
---------------
upgrade.bat

Code: Select all

net stop uvnc_service
rem just give time to start winvnc.exe
sleep 30
rem rename old
rename "c:\program files\uvnc bvba\ultravnc\winvnc.exe" "c:\program files\uvnc bvba\ultravnc\winvnc1210.exe"
rem copy new as winvnc.exe
copy "c:\program files\uvnc bvba\ultravnc\winvnc1211.exe" "c:\program files\uvnc bvba\ultravnc\winvnc.exe"
rem restart service
net start uvnc_service
----------------
In this case i stop the service and run the new version, if something fail i always can press the remote powercycle
button and restart the server. On restart, the vnc service restart and the old winvnc is back used. If you have remote
access to the "computer managment" you also can use this functionality to restart the server
test.bat

Code: Select all

net stop uvnc_service
rem just give time to start winvnc.exe
sleep 30
"c:\program files\uvnc bvba\ultravnc\winvnc1211.exe"
Another trick is to
create a winvnc.exe with ultravnc.ini on a local pc , and make sure it use another port ( 5901)
and copy it in another folder on the remote pc. Then start that "winvnc.exe -multi" so you can run old
and new simultanious. Connect your viewer to 5901 to test. Just make sure you open the firewall for port 5901
else you can't reach it.




If you have trouble on win8 win10 it could be that the video driver is not wdm1.2 or doesn't support the " desktop duplication engine"
in that case you need to use the XP binarys.

The bin zip has all exe in a single zip ( w2k/xp/win8)
JLOB
Posts: 5
Joined: 2006-09-09 13:08
Location: Stonington, CT USA

Re: VNC Server quits at login.

Post by JLOB »

Rudi,

I wasn’t clear. The problem system was working just with 1.2.1.0 and Windows 10. Whatever I did killed it. I have that computer here in my office. I tried uninstalling 1.2.1.0 and the installing 1.2.1.1. It didn’t help. I thought it was a bad viewer, but the viewer has no problem connecting to the other systems. Since I can watch the server icon change from blue to yellow (in BOTH versions of the server) when I try to connect, I’m guessing there’s something wrong with the Windows installation. I just don’t know how to prove it or where to start.

Thanks.

JLOB
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: VNC Server quits at login.

Post by Rudi De Vos »

vnc settings are all in a file ultravnc.ini
When you remove this file and restart winvnc you have back the factory defaults
Post Reply