Multiple clients

DAVID SWEET dsweet "at" Corp.Sun.COM
Thu, 24 Sep 1998 09:02:11 +0000


Muddassar Farooq wrote:
> 
> Hi,
> 
> I am trying to run a vncserver on a sun machine and after that I connect
> through winvnc to that and that diplays my desktop.
> 
> But incase if multiple people try to login to same server then all of
> them see same deskptop i.e. mine one. What changes need to be made so
> that multiple people see their own desktop while connecting to same
> server.

Each instance of a vncserver has a different display associated to it:
  :1
  :2
  :3
Each server started by the same user has the same passwd unless
vnspasswd is
  run.
So your best solution is to have each of your users start their own
vncserver
  and then each vncserver has its own passwd.
The user will only have to note which display they started:
  % vncserver
  xauth:  creating new authority file /home/dsweet/.Xauthority
 
  New 'X' desktop is march:2
 
  Starting applications specified in /home/dsweet/.vnc/xstartup
  Log file is /home/dsweet/.vnc/march:2.log
 
  % vncserver
 
  New 'X' desktop is march:3
 
  Starting applications specified in /home/dsweet/.vnc/xstartup
  Log file is /home/dsweet/.vnc/march:3.log
 
  % vncserver -kill :2
  Killing Xvnc process ID 9923
  % vncserver -kill :3
  Killing Xvnc process ID 9942
  % 

--
That is all.

---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------