How to Configure a VNC server In linux?
#VNC Server configuration#
#yum -y install vnc*
For using this we need to setup a password for the server. We can set it by the linux command vncpasswd.
#Set the password#
#vncpasswd
#Restart the service#
#service vncserver start
To make VNC server we need to run the following command. While executing it. it will create some files.
#Run the server command#
#vncserver
or
#vncserver :13 The display number. Default will be one. If available.
This file will be generated when executing the above command. We need to do a small change in that in order to make it was server.
# vi .vnc/xstartup
uncomment the following lines.
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
#service vncserver restart
0 comments:
Post a Comment