I installed the vncserver on my linux machine (lin_srv2).
I've tested this by typing
Now a window come up with a desktop. But this is on the same machine.
Now I tried to connect from a other machine (lin_srv1) to lin_srv2 by typing
vncviewer 192.168.0.94:2 (I used the IP adress of lin_srv2 to be sure that are no errors in there I also tested it with the machine name but that gives the same result)
Now I get the following error
[cpri@lin_srv1 ~]vncviewer 192.168.0.94:2
VNC Viewer Free Edition 4.1.1 for X - built Mar 1 2006 08:20:51
Copyright (C) 2002-2005 RealVNC Ltd.
for information on VNC.
Fri Jan 12 08:23:29 2007
main: unable to connect to host: Connection refused (111)
Does any of you now what went wrong ??