No, you cannot do it. It's just the way X works as a socketed display server.

However, there is no reason you cannot use vncviewer from your :0.0 X session
to run the :1 session as suggested in the FAQ you quoted. I do it all the time
and there is really no performance penalty.  Connecting directly to the root
display should be possible with the V4 beta, I have not tried it, still using
3.3.7 production version.  Oh, BTW, forget x0rfbserver, it cannot be compiled
under Sparc Solaris.

Regards,

Glenn Lovitz

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Behalf Of Theodore F Wollnik Jr
>Sent: Thursday, October 23, 2003 4:00 PM
>To: [EMAIL PROTECTED]
>Subject: Changing the "display" of an active x-application].
>
>
>   Help.
>   I've got a question for any "X" experts out there.
>Particularly those
>   familar with Solaris.
>   Here is what I'm trying to do.  I've got a Sun Blade machine.  I've
>   got a VNC session running.   I know I can start up applications
>   within the vnc session.  That's all wel and good.
>   With some experimenting I found I can start up other x-applications
>   from my Unix environment and simply export the display to the
>   VNC sessions.  For example:
>       $ xclock -display w-tfw:1
>   The above will start up and xlock within the VNC session
>(pretty cool
>   I know).
>   However what I want to do.  Is to change the display for a currently
>   running  program.   Lets  say  I  have  an  xterm  running
>in my unix
>   environment,
>   and  its  display  is  the  standard root display of
>w-tfw:0.0.   What
>   command
>   can I use to change this display from "w-tfw:0.0" to "w-tfw:1".
>   The  affect  of course wil be to 'move' an already running
>application
>   from
>   within my unix environment, into the VNC session.
>   Can anyone help me out with this?
>   I've searching through the FAQ and the knowledge base.. but I'm not
>   finding  an  answer  to this yet.  The closest I've found
>is this from
>   the
>   FAQ:
>   Can I remote the normal X:0 display of my Unix workstation?
>   Not  with  the  current  standard  VNC  distribution.  Xvnc
> starts  a
>   completely  new  X desktop (:n) which is independent of the
>standard X
>   display  of the workstation (:0). You can often get the
>effect you are
>   looking for by starting an Xvnc session and then running a
>full screen
>   viewer for it displayed on :0.
>
>   We plan to add full support for this in the standard VNC
>distribution.
>   In  the meantime, we've been told that Jens Wagner has a
>version which
>   polls the screen - see x0rfbserver.
>--
>Ted Wollnik Jr.
>Lucent Technologies
>[EMAIL PROTECTED]
>_______________________________________________
>VNC-List mailing list
>[EMAIL PROTECTED]
>To remove yourself from the list visit:
>http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to