How to prevent recursive windows when connecting to vncserver on localhost

Posted by blog.adaptivesoftware.biz on Server Fault See other posts from Server Fault or by blog.adaptivesoftware.biz
Published on 2010-03-29T09:39:26Z Indexed on 2010/03/29 9:43 UTC
Read the original article Hit count: 470

Filed under:
|

I have a VNCServer (vino) configured on my Ubuntu 8.10 box. I would like to connect to this server from a vncclient running on this same machine (the reason for doing this strange thing is mentioned below).

Understandably, when I connect to a vncserver on the same box, my vncclient shows recursive windows.

Is there a way I can connect to the vncserver on the same machine and not have the recursive windows problem? Perhaps if I could start the vncserver on one display and the client on another display then will it work? How can I do something like this?

Note - Reason for running vnc client and server on the same machine: When I start our Java Swing unit test suite, a bunch of swing UI's are created and destroyed as the tests run. These windows fly in the foreground making it impossible to work while the test suite is running. I am hoping to start the test suite within a vncclient so that I can continue working while the tests run.

© Server Fault or respective owner

Related posts about vnc

Related posts about loopback