>why is that? i cant write a simple sub to put in the beginning of the
>vcnserver script .. something like
Do you wish to stop your technically savvy users, or just the average
person who will just run vncserver and accept whatever it gives?
Savvy users can go around your limit by running Xvnc directly, and stopping
that would require patching Xvnc, which is unpleasant.
Average users can be limited, as you say, by modifying the vncserver
script. Open the vncserver script and search for "sub GetDisplayNumber"
(without the quotes). You should see a line that says:
foreach $n (1..99) {
If you change that to:
foreach $n (1..25) {
then your average users will be limited to no more than 25 servers total
(this is a system limit, not a user limit). Advanced users can still
directly specify a higher display number to vncserver (which you might be
able to filter in "sub CheckDisplayNumber") or directly to Xvnc (which
requires a source patch and rebuild)
Hope that helps,
Mac
_____________________________ /"\
Mac Reiter \ / ASCII Ribbon Campaign
Nomadics, Inc. X Against HTML Mail
[EMAIL PROTECTED] / \
---------------------------------------------------------------------
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
---------------------------------------------------------------------