Created by: eng.Abd el Rahman Samy
Log in as root then:
•Set your VNC password by the command:
vncpasswd
•Edit /etc/sysconfig/vncservers so that it contains the line:
VNCSERVERS="1:root"
•Enable vncserver as a system service.
chkconfig --level 345 vncserver on
•Start vncserver so it creates the user's xstartup file.
service vncserver start
•Stop vncserver.
service vncserver stop
•Edit /root/.vnc/xstartup and uncomment the first two lines started with ( unset & exec ) to be run.
•Start vncserver.
service vncserver start
Test the connection by running VNC viewer on the windows machine
•Enter server name then session number in the vncviewer as:
:1
Log in as root then:
•Set your VNC password by the command:
vncpasswd
•Edit /etc/sysconfig/vncservers so that it contains the line:
VNCSERVERS="1:root"
•Enable vncserver as a system service.
chkconfig --level 345 vncserver on
•Start vncserver so it creates the user's xstartup file.
service vncserver start
•Stop vncserver.
service vncserver stop
•Edit /root/.vnc/xstartup and uncomment the first two lines started with ( unset & exec ) to be run.
•Start vncserver.
service vncserver start
Test the connection by running VNC viewer on the windows machine
•Enter server name then session number in the vncviewer as:
No comments:
Post a Comment