Le Wed, Apr 25, 2001 at 03:17:41PM +0200, [EMAIL PROTECTED] icrivait :
> Hello,
> I use vnc in a classroom (~20 students) to make demonstrations. I have
found
> "some vnc hack" which implements a display only viewer :
> http://minnie.cs.adfa.edu.au/VNC_bits/

Thanks to Mark which point to this answer :
http://www.uk.research.att.com/vnc/archives/2001-03/0576.html

I have successfully launch a view only server. I use 2 scripts. The first one
is needed to launch 2 server. The first one is the master and is controlled
by the "master" viewer. The second one run only a vncviewer -viewonly,
without any window manager.

#!/bin/csh
setenv GEOM 900x700
vncserver -geometry $GEOM -alwaysshared -name master -rfbauth
${HOME}/.vnc/prive
vncserver -geometry $GEOM -alwaysshared -name slave -rfbauth
${HOME}/.vnc/public
vncviewer :1


The second one is my xstartup :

#!/bin/csh
switch ($VNCDESKTOP)
case "slave":
    echo "Slave mode"
    vncviewer -viewonly -share
    breaksw
case "master":
default:
    echo "Master mode"
    xrdb $HOME/.Xresources
    fvwm2&
    breaksw
endsw

Of course, I give to my students only the .vnc/public passwd.

Thanks

--
% [EMAIL PROTECTED] PRiSM, Universiti de Versailles
% Tel: 01 39 25 43 44        45, Av. des Itats Unis 78000 Versailles
% Il reste -41619000 secondes jusqu'au 01/01/2000
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to