RE: How do I make window appear on the vnc-server?
Brought to you by:
anton19286,
const_k
From: Jan C. N. <jc...@fo...> - 2012-09-10 10:16:22
|
Hi, First I started the child process with Process, this didn't work when vnc was started as a service. Then I tried CurrentConsoleProcess, this works when vnc is a service on Windows 7, but on Windows XP the window doesn't appear even though the child process is started. I assume, but I am not sure, that the problem is that the child process is started as belonging to the system user and not the logged on user. Vnc starts a process as the logged on user. How do you do that? -- Jan Nielsen -----Original Message----- From: Constantin Kaplinsky [mailto:co...@ti...] Sent: 16. august 2012 07:24 To: Jan Christian Nielsen Cc: vnc...@li...; Akimov Konstantin Subject: Re: How do I make window appear on the vnc-server? Hello Jan, >>>>> Jan Christian Nielsen wrote: > This work fine when vnc-server is started as an ordinary application, > but when it is started as a service the window doesn't appear even though the code is executed. > > Does anybody know what's wrong? The service is separated from the GUI. Unfortunately, you cannot access user's desktop from the service directly. The only way to go is to do the work in a child process. For an example, see how we implement querying local used on incoming connection. By the way, our company could customize TightVNC for you. Please write to bus...@gl... if you are interested. Thank you. -- Best Regards, Constantin Kaplinsky GlavSoft LLC ----------------------------------------------------------------- Visit TightVNC Web site: http://www.tightvnc.com/ Follow TightVNC on Twitter: http://www.twitter.com/tightvnc ----------------------------------------------------------------- |