> Hi *, > on unix/linux, > is there a way to hook a Xvnc server to an existing X > application. What I > mean is: if an X application "xapp_A" is running, I would > like to start a > Xvnc server. Have Xvnc talk to the application and then > connect to it with a > vncviewer to share "xapp_A" only.
The route with Xvnc would be: Start Xvnc, run xapp_a with display to Xvnc and run vncviewer everywher xapp_a is needed. The easy way to configure this is: - Create a dedicated user for xapp_A (call it xapp_A) - Login as xapp_A and start vncserver on a dedicated display (say :24). - check with remote vncviewer if vncserver for xapp_A is running - stop vncserver - edit ~/.vnc/xserver: add a line to start xapp_A (like the line "xterm &", optionally remove this line) - optionally remove the line to start a windowmanager ("twm &") and other lines which are not needed. - start vncserver to the dedicated display. - OPtionally create something to automatically restart the vncserver once it is stopped. a (rude) way is to create a crontab entry to start the vncserver every hour (or even every 5 minutes). > > I don't mind getting "dirty" and implementing the feature if > necessary, but > I would need some pointers ... Your request is considdered "dirty". IF an app runs on a display, it should stay there. If the app is to be taken over, then it should be configured that way. > > Thanks in advance, > --Yacc > --------------------------------------------------------------------- > 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 ---------------------------------------------------------------------