VNC on LAN by name?

  • Thread starter Dirk Bruere at NeoPax
  • Start date
G

Greg Russell

In
Dirk Bruere at NeoPax said:
I need to do a VNC connection to a computer on the LAN.
It seems that VNC progs need an IP address.
Is there any way to do the connection using the name of the computer?

Your DNS will resolve a name to the needed IP address if you have those
relationships stated in

C:\windows\system32\drivers\etc\hosts

e.g.:

....
192.168.1.14 machine1.example.com machine1
192.168.1.20 machine7.example.com machine7
....

This works if the machines have staticly-assigned IP addresses ... if
they're using DHCP then the problem has a different solution, albeit a more
complicated one.
 
G

Greg Russell

In
Dirk Bruere at NeoPax said:
DHCP - if the addresses were static there would still be a problem in
using the IP number.
I need something that the user can just type a name into eg "The
Cooker" (to give a domestic embedded example). Having a domestic user
typing in "192.168.3.34" is a no-no

I gave you the solution above ... e.g. "ping machine1" will resolve that
name to the necessary IP address and complete the command. It's no different
with VNC, telnet, or any other command ... your DNS needs to resolve the
name to an address, and for a LAN, the "hosts" file is how it's done.

If you won't follow simple directions then don't ask for help.
 
D

Dirk Bruere at NeoPax

In

I gave you the solution above ... e.g. "ping machine1" will resolve that
name to the necessary IP address and complete the command. It's no different
with VNC, telnet, or any other command ... your DNS needs to resolve the
name to an address, and for a LAN, the "hosts" file is how it's done.

If you won't follow simple directions then don't ask for help.

Maybe you don't understand what I am asking.
I want a prog that will remotely view the desktop of a machine on the
LAN. The sole action of the user is to be the entry of the name of the
machine into the program. No pulling up run command and doing ping and
then copying etc. Single action.

--
Dirk

http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
 
G

Greg Russell

In
Dirk Bruere at NeoPax said:
Maybe you don't understand what I am asking.
I want a prog that will remotely view the desktop of a machine on the
LAN. The sole action of the user is to be the entry of the name of the
machine into the program. No pulling up run command and doing ping and
then copying etc. Single action.

I understand perfectly what you're asking. You want a VNC connection without
entering an IP address, only a machine name, e.g. "vncviewer machine1".

I've provided the simplest instructions for doing so that even a moron could
understand. You won't be able to achive what you want without following the
directions.

Good luck, and good-bye ... you sound completely hopeless.
 
B

Bernd

-------- Original-Nachricht --------
I need to do a VNC connection to a computer on the LAN.
It seems that VNC progs need an IP address.
Is there any way to do the connection using the name of the computer?

I think you mean using the host name/machine name with VNC Viewer !?

Why do you ask ?

Do you get something like that :

VNC Viewer : Error
---------------------------
unable to resolve host by name: No such host is known. (11001) ?

Then it's likely that the Windows Firewall stands in the way.

As the realVNC server installs itself as a service, XP never asks the
user if it should punch a hole in the firewall for it. Therefore, you
must do it manually.

1. Click Start
2. Click Control Panel
3. In the classic view, select Windows Firewall
4. Under the exceptions tab, click Add Port button
5. Name it RealVNC
6. Port Number is 5900 (or 5800 if you use a browser)
7. Select TCP
8. If you only use VNC over your local network, you should press
the Change Scope button and select the My Network (subnet) only
9. Press OK until you are out of the firewall panel

Bernd
 
D

Dirk Bruere at NeoPax

-------- Original-Nachricht --------


I think you mean using the host name/machine name with VNC Viewer !?

Why do you ask ?

Do you get something like that :

VNC Viewer : Error
---------------------------
unable to resolve host by name: No such host is known. (11001) ?

Then it's likely that the Windows Firewall stands in the way.

As the realVNC server installs itself as a service, XP never asks the
user if it should punch a hole in the firewall for it. Therefore, you
must do it manually.

1. Click Start
2. Click Control Panel
3. In the classic view, select Windows Firewall
4. Under the exceptions tab, click Add Port button
5. Name it RealVNC
6. Port Number is 5900 (or 5800 if you use a browser)
7. Select TCP
8. If you only use VNC over your local network, you should press the
Change Scope button and select the My Network (subnet) only
9. Press OK until you are out of the firewall panel

Bernd

Firewall!
Problem solved.

--
Dirk

http://www.transcendence.me.uk/ - Transcendence UK
http://www.theconsensus.org/ - A UK political party
http://www.blogtalkradio.com/onetribe - Occult Talk Show
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

price? 3
Enhanced Write Filter 3
Autostart 5
XP on flash 1
Audio config 7
Audio applet command line? 1
Keyboard input without keyboard 4
Old XP on new system 19

Top