> -----Original Message----- > From: Wiggins, Chuck (LNG) [mailto:[EMAIL PROTECTED]] > I am interested in being able to connect a (Windows) client > to an NT4 VNC > Server (running as a service). I have no problems connecting > after I have > logged onto the server box. But I really want be able to > reboot the server > box and be able to use the VNC session for the initial login. The NT > documentation has the following when running as a service: > > WinVNC will attempt to correctly identify the user and locate their > preferred settings in the registry (unless AllowProperties > has been used to > disable this - see below). To do this requires that a helper > application be > run when a user logs in, which will pass appropriate > information to the main > service portion of WinVNC. If the helper fails to run for > some reason then > WinVNC will continue to operate but it won't know who is > logged in, so its > settings will be based on the local-machine and default-user > settings only. > > Does anyone know more about how "correctly identify the user" > works on a > server that has not had an initial login? Has anyone else > been successful at > logging in after a reboot? >
Correct me if I'm wrong, but password and registry messages on this issue give me the next idea: Winvnc stores settings in the registry at 2 locations: 1 for the default settings, these are in the 'local machine' area of the registry. The other in the 'current user' area in the registry. At the moment no-one is logged-in, there is no such thing as a 'current user' so the settings from the default are used. These include the vnc password. At the moment someone is logged-in, the 'current user' settings are used. NOTE: it is not at the moment someone loggs-in, it is at the moment vncserver looks at the registry. I expect this is done at the moment a vncviewer connects. Now the next happens: No-one is logged-in. A vncviewer takes a view. Since no-one is logged-in, the default settings are read from the registry. Then the user logs in (Windows level). Now the 'current user' settings in the registry change. Since vncserver does not re-read them at this moment, the settings of the current 'current user' in the registry take no effect. Now someone is logged in. If an other vncviewer takes a view, the vncserver reads the current 'current user' settings. So at this moment, the settings might change somehow. As above, correct me if I'm wrong but this is the idea I have on the vncserver settings in W'NT. CBee _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
