VNCSERVER : Linux Machine
VNCVIEWER : Windows XP
Do The Following Changes in SERVER SIDE ie) LINUX MACHINE :
Step 1 : check the RPM is available by rpm -q vnc
Step 2: chkconfig --level 345 vncserver on
Step 3 : Add a user(s) by opening /etc/sysconfig/vncservers as root and do the following:
Step 4:
VNCSERVERS="1:bobpeers,oracle"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"
-These Two Lines will be commented by default . So uncomment it. and add the user ex: root ,in the place of bobpeers.
Step 5 :` vncpasswd
Step 5 : cd /root/.vnc
Step 6 : vi xstartup
Step 7 : Uncomment this two lines :
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
Note if we want the graphical mode for oracle user the uncomment the following file in this file also as oracle user
vi /home/oracle/.vnc/xstartup
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
Step 8 : vncserver -kill :1 (If there is any running)
Step 9 : vncserver :1
Step 10 : Now from the client pc That is XP go to Programs ->Real VNC -> vncviewer
Step 11: sys46.doyen.in:1
Step 12: Give the password given in the server side.
Note : Make a entry in the hostfile in the XP about the server.
No comments:
Post a Comment