Mac Server Settings

John Tangney jtangney "at" sybase.com
Sat, 10 Oct 1998 01:11:02 +0000


tech "at" structurex.net wrote:

> I am unable to set the settings on my iMac. The html page just sit's there.
> Can I use regedit and place the password in there somehow?

I had the same problem. This is what Charlie McLachlan wrote:

> A few people have been having trouble with the http bit. Hence the next
> revsion will include a control panel that does the settings.
>
> > I noticed that the prefs file for the server is a text file, so I opened
> >
> > it and tried entering a password there. Unfortunately the password I
> > entered in the prefs file is not recognized when I try to connect from
> >
> > client. My guess is that the password is encrypted in the prefs file.
>
> Hit the nail on the head there.
>
> > Since the client won't let me connect without setting up a server
> > password, I'm stuck.
>
> You can do all the settings via AppleScript:
>
> tell application "vncserver"
> set password to "whatever"
> set display numver to 34
> end tell
>
> In fact the control panel will be nothing but a front end to a bit of
> AppleScript.
>

Good luck!
--johnt



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