Can't connect if windows is locked.


http://www.s-code.com/forum/Topic1143.aspx
Print Topic | Close Window

By jonm - Monday, September 18, 2006
For some reason I cannot seem to connect if the server control if the PC running the server is locked.  I've only tested on Windows 2003 and Vista RC1 (5600).  My best guess at this point is that maybe it needs to be running as a system service.  When you run UltraVNC server it wants to run as a service by default and it works fine if the PC is locked.  Any ideas on this?
By jonm - Tuesday, September 26, 2006
Bump.
By Yury Averkiev (s-code) - Tuesday, September 26, 2006
Current implementation of ServerX runs in application mode only and doesn't install any services. I'm not sure if it would be a good idea for an ActiveX to install a service. Although we will review this, may be service mode will be added after all.
By jonm - Wednesday, September 27, 2006
Do you forsee any problems if I write a service that hosts the activeX control??
By jonm - Wednesday, September 27, 2006
Okay, I've built a simple Windows Service app in vb.net.  Basically the app just hosts the Server control.  When the service starts I can connect and am prompted for the password (using basic UltraVNC client).  However, the I am immediately disconnected without receiving an error message.  This is the exact same thing that happens if the control is hosted in a regular application when and I try to connect when the machine is locked.
By Yury Averkiev (s-code) - Wednesday, September 27, 2006
Hosting the ActiveX in a service won't help. In the service mode, VNC server works quite differently from the application mode. But why would you want to run in as a service? I'm just curious to know about your use-case.
By jonm - Wednesday, September 27, 2006
We want to build a tool that could be deployed on customer servers and desktops for remote maintenance.  I need to be able to get in whether they are at their desk or not (especially on servers).
By jonm - Monday, October 09, 2006
Any ideas on what I should do for this? Or is the ServerX control just not a good fit for this model??
By jonm - Saturday, October 14, 2006
Any response on this one?  If service-mode is not going to be supported, that is okay.  Although it would be nice to see in a future version.
By Yury Averkiev (s-code) - Sunday, October 15, 2006
Jonm,
we have decided not to include the service mode support in the v1.0. But we are not ruling out possibility of implementing it in future versions.