abhishek@sl1:~$ vncserver
New 'X' desktop is sl1:1
Starting applications specified in /home/students/abhishek/.vnc/xstartup
Log file is /home/students/abhishek/.vnc/sl1:1.log
now when i try to login from other machine i get this
abhishek@abhi:~$ vncviewer sl1:1
VNC Viewer Free Edition 4.1.1 for X - built Sep 10 2007 17:17:04
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Wed Oct 24 12:09:11 2007
main: unable to connect to host: Connection refused (111)
abhishek@abhi:~$