VNCViewer -- Reads the graphics update from the server and paint it on the local screen and send the keyboard and mouse event to server. VNServer: Stores all the state of the display. It is stored whether you do connect to the server or not
Lets create 1024x768 memory buffer and whenever application want to draw I will update the memory. So at anypoint in time If i deliver the memory buffer to the vncviewer the viewer will see the full desktop in the current state. Now you connect to the server at some point in time and do something with it. The memory buffer is updated and you see the update on your viewer. You disconnect from the server. The vncserver will merely stop you sending the update but the applications are running and they may be updating the buffer. You connect at some other point to the vncserver, vncserver will send you the full copy of the memory buffer again and you again see the desktop. Coming to your question, vncserver stores all the graphic state in the memory buffer which is always available to the application (x client) no matter whether one is conencted of not. THERE IS NO VIEWER STATE. Nothing is happening on the viewer, which gets the update from the server and send the event. Hope that clears your doubt. -shashi -----Original Message----- From: Cham Mama [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 11:32 AM To: [EMAIL PROTECTED] Subject: How viewer state is saved for later restoration Hi May be my question yesterday was confusing to many. Here I am putting in a different way. 1. I connect to a VNC Server from my office Desktop 2. Then I start some application and start editing a mail... Then I leave in the middle of the mail editing. (I am assuming that whatever application I am running is being stored in the VNC server) 3. Now I connect from Home Desktop to the same VNC Server. 4. As per VNC's document, I should be able to see the mail editing application being started so that I can complete the editing. So my question is, where is the VNC code which remembers the viewers' state, so that when I connect from Home, gives the same desktop (i.e restore the same desktop to that of the Office Viewer, with all the opened applications at that time) to the new viewer ? Hope the question is clear this time. Chandra __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html --------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------