vnc-list-digest V1 #1083
Richard Harris
rich "at" synik.force9.co.uk
Mon, 09 Apr 2001 14:25:13 +0000
Andy,
> I am administrator of a domain over 1000 miles away, and until today
> was using PcAnywhere for remote access. Security policies dictated
> that pcA's ports be closed so now I only have port 80 and 25 to work
> through.
I'm not sure about getting VNC to work through a different port, but
I would have thought that you're going to need to tweak a value in
the registry and that'll be that.
> Last week while pcA was working, I installed VNC, or thought I had. It
> exists in "Program Files", but I cannot start the service as it isn't
> installed.
To install VNC on a remote machine you can do one of two things:
1) Copy the VNC program to the NT box and use the RCMD
service (NT reskit) to connect to it. Once you've done that, go into
the program directory and issue "winvnc -install" and "net start
winvnc" commands.
2). Use a script to copy the programs; SC (ntreskit) to create the
service and REGINI to push the password settings to the remote
machine.
> net start/stop, reboot, update the registry etc, upload and download
> any file with this, except control a gui program. Physical presence is
> not an option.
I've got a script that you can try. It's at www.synik.f9.co.uk/vnc/ and
there's a few notes on how it works.
There are actually two scripts now - one is the one documented
(and it works, honest). The second is for testing (if anyone is brave
enough).
Download them both and tell me how you get on.
> Any clues on how to get the service installed, running and listening
> on port 80?
(www.uk.research.att.com/vnc/winvnc.html) The VNC docs have
two settings that will be of interest to you:
> AutoPortSelect
> Causes WinVNC to select the first available display number
> automatically. Corresponds to the 'Auto' checkbox in the Properties
> dialog. Local or Global per-user setting
> PortNumber
> specifies the port number to be used for VNC. You will need to disable
> AutoPortSelect to use this. Local or Global per-user setting
As you want WinVNC to listen on port 80 (or 25) for all users - I'd
be tempted to try these keys in:
HKLM \ Software \ Orl \ WinVNC \ Default
AutoPortSelect (Dword) 0
PortNumber (Dword decimal) ??
I'm thinking that you'll want the port value to be be 5820 (for port
80) and 5875 (for port 25).
So - if you're using my script - you'll need to work out how to add
those values to the machine.ini file. Use REGDIR to find out the
format for this.
The reason for this is from the VNC faq.....
> You need to tell the viewer the right display number. Normally,
> display numbers come between 0 and 99. If you specify any number
> smaller than 99, the viewers add 5900 to get the port number. If you
> specify a larger number, the viewers take it as a port number
> directly. So how do you use port numbers lower than 99? You have to
> specify a negative display number! For example, to connect to a server
> running on port 80 on machine 'snoopy':
> vncviewer snoopy:-5820
> because -5820 + 5900 = 80. This may not work with all viewers, but
> Unix and Windows seem to be fine
Hope that helps!
Richard
email: rich "at" synik.f9.co.uk
web: http://www.synik.f9.co.uk/
"One day you'll wake up, and find you can't go back to sleep."
~ Jesus Jones.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------