I'd like to ask for your help, as I have been struggling with this issue for a while. Maybe someone can help me:
I have a vncviewer.exe started locally, listening on port 5900 (vncviewer.exe -listen 5900)
I would like to set up a connection to this viewer by initiating the connection from the UltraVNC Server. However, I'd like to do that by starting the connection from a Windows Service.
I started the server with this command (this works perfectly fine from my Windows Service as well. uvnc_service gets started, I can see its systray and everything):
Code: Select all
winvnc.exe -startservice
Code: Select all
winvnc.exe -connect localhost::5900 -service
Could you tell me what could be the problem, maybe give me some hint where to look around? Or if my commands should work at all?
Many thanks,
kb00
Related .NET code:
Code: Select all
processServer = new Process();
processServer.StartInfo = new ProcessStartInfo
{
FileName = "C:\\Users\\myUser\\Documents\\UltraVNC\\winvnc.exe",
Arguments = "-autoreconnect - connect localhost::5900 - service"
};
processServer.Start();