Local vncviewer vs changing Unix display number

Joel E. Lieberman, Ph.D. joel.lieberman@verizon.net
Tue Apr 15 13:40:01 2003


Hi folks -

I have a question concerning best practices for sharing a VNC server session
with Linux/Unix.

Assume that I have a Xvnc server process set up for X1 display (server:1), I
am at the physical console and a user is somewhere remote.

I can effectively "share" the desktop (X1) with the other user by having
them start a vncviewer directed to the server:1 while I connect by starting
a local vncviewer in shared mode at my console.  This works correctly as
expected.

My question is this:  Is it also possible for me (at the console) to attach
to the VNC Server's X1 display environment directly by setting my local Unix
display to that X server, and if it is possible, would this be better or
worse than starting my own local vncviewer as a means of "sharing" the
vncserver session on X1?

I have not been able to set my 'nix display to the local X1 session (but I
am not a Unix guru), which is why I asked if it is even possible.  If it is,
would I be better off just using shared simultaneous vncviewers or would a
native Unix display connection (for the local console login) be better?

Thanks for any thoughts the group may have -

Joel Lieberman