Remote Desktoping or VNC'ing to an application

Posted on 2006-04-06
Last Modified: 2012-08-13

Is it possible to have/build a RDP or VNC server that will accept connections from users but only show them the window given by a specified handle? It would need to support multiple connections on one server, independant of each other.

So I could launch an instance of my own app which has a windows form and let them connect to that and they coould only see and interact with that form? No desktop behind etc.

If that's not possible, I think I could build a .net app that would create a regularly updating image of the app, so does anyone know of a way of streaming the changes in this image to the client, and then I guess i'd need a way to send up mouse position and keyboard input...

If i do it that way - is it possible to emulate the cursor over a window? Because there will be multiple instances of this app running on the same server so I'd need to take the positions of the cursor on the client and emulate the presence of a cursor over the app on the server side...

Kinda feels like I'm rebuilding VNC here :)
Question by:salted
    LVL 9

    Accepted Solution

    What you are talking about is supported by X11 windowing environment on unix: Windows does not have that built into its architecture. In windows it is the 'desktop session' that is remoted rather than the 'application session'.

    You could build a proxy application that talks to the back-end server and, using some custom protocol, updates the proxy application: It depends on how 'thin' the client must be.

    I suspect that it would be so much simpler to just build a client application talking to a server over tcp/ip perhaps using http posts.

    Unless you are talking about a general approach to solving the problem.

    Why not look at X11 and its approach ...
    LVL 15

    Expert Comment


    Just to prevent geek talk ... I'd suggest reading the following article:

    It'll leave up to you how to handle "Remote Desktoping or VNC'ing to an application" ...

    Best regards,
    LVL 3

    Expert Comment

    please check

    it is upgraded version of VNC in which you can send the specific application handle.

    this also have the source code
    but it is in VC++.


    Author Comment

    Hi Raj,

    I can't seem to find any documentation on tightVNC'ing to an application handle?

    Also, do you know if VNC server can handle multile, independant connections if it's using this handle method?


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
    In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now