VNC on LAN by name?

  • Thread starter Thread starter Dirk Bruere at NeoPax
  • Start date Start date
In news:7v2h84FsfgU1@mid.individual.net,

Dirk Bruere at NeoPax typed:



> 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.
 
On 01/03/2010 19:18, Greg Russell wrote:

> In news:7v2h84FsfgU1@mid.individual.net,

> Dirk Bruere at NeoPax typed:

>

>> 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.




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



--

Dirk



http://www.transcendence.me.uk/ - Transcendence UK

http://www.theconsensus.org/ - A UK political party

http://www.blogtalkradio.com/onetribe - Occult Talk Show
 
In news:7v2lohFocsU1@mid.individual.net,

Dirk Bruere at NeoPax typed:



>>> 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.


>

> 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.
 
On 01/03/2010 21:11, Greg Russell wrote:

> In news:7v2lohFocsU1@mid.individual.net,

> Dirk Bruere at NeoPax typed:

>

>>>> 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.


>>

>> 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.




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
 
In news:7v2rjkFph7U1@mid.individual.net,

Dirk Bruere at NeoPax typed:

> On 01/03/2010 21:11, Greg Russell wrote:

>> In news:7v2lohFocsU1@mid.individual.net,

>> Dirk Bruere at NeoPax typed:

>>

>>>>> 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.

>>>

>>> 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.


>

> 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.
 
-------- 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
 
On 01/03/2010 22:31, Bernd wrote:

>

>

>

> -------- 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

>




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
 
Back
Top