"Disable New Clients" by default
Thu Jul 10 02:44:00 2003
Gareth Ayres said:
>> Gareth Ayres said:
>> > Umm thanks William, I want to set a default which can be changed
>> > from the server taskbar icon if required. I want the "Disable New
>> > Clients" option load when a machine is booted.
>> > I want to restrict the changing of the properties from the icon which
>> > can do from the docs. Gareth
>>William Hooper said:
>> What are you trying to accomplish? You don't want VNC to accept
>> connections? Then you can use the "Accept Socket Connections" (or in
>> registry "SocketConnect"). You say you want to change it from the
>> properties, but then say you want to restrict changing them?
>> If you explain your goal we might be able to help you with a better way
>> do it.
> 1.) To disable the accepting connection by default, It to be viewable
> to the server end user that this is set.
> 2.) The server end user to be able to enable connection (allow
> access) in a simple way.
> 3.) The server end user to be unable to set other VNC properties.
Sounds like you need to hack some code and recompile. The current method
of disabling the properties disables all properties.
It would probably be simpler to just not run VNC at boot, have the user
launch it when needed, then close it when finished. "AllowProperties" and
"AllowShutdown" are two different settings.