~]# yum -y pixman pixman-devel libXfont This command will update everything. Issue the below command to install pixman,pixman-devel and libXfont packages. usr/bin/Xvnc: symbol lookup error: /usr/bin/Xvnc: undefined symbol: pixman_composite_trapezoids /usr/bin/Xvnc: symbol lookup error: /usr/bin/Xvnc: undefined symbol: pixman_composite_trapezoids » you might receive the below error while starting the vnc service. Issue the below command to stop iptables service. » Check the iptables in the server, if you are not able to connect the sessions. ~]# chkconfig -levels 235 vncsever on Step 7 » Now in remote machine, start vncviewer type the IP and session as below to view their respective sessions. Step 6 » Start vnc service ~]# service vncserver start and issue this command to start vnc service automatically during startup. VNCSERVERS="1:user1 2:user2" VNCSERVERARGS="-geometry 640x480" VNCSERVERARGS="-geometry 800圆00" Here we have configured session 1 with 640×480 resolution for the user “user1” and session 2 with 800×600 resolution for the user “user2”. ~]# su - user1 ~]$ vncpasswd Password: Verify: ~]$ logout ~]# su - user2 ~]$ vncpasswd Password: Verify: ~]$ logout Step 5 » Now open /etc/sysconfig/vncservers file and add the following lines at the end of the file( Edit as per your usernames ). ~]# adduser user1 ~]# adduser user2 ~]# passwd user1 ~]# passwd user2 Step 4 » Create VNC passwords for the Users created. ~]# yum -y install tigervnc-server pixman pixman-devel libXfont Step 3 » Create user name and password. Issue the below command to install VNC package along with dependencies. ~]# yum groupinstall Desktop Step 2 » After installing gnome packages. Step 1 » Issue the below command to install gnome desktop environment. Install VNC on Centos 6īefore installing VNC server, make sure you have installed any Desktop environment. Desktop environment is required in order to enable VNC server on centos. VNC is used to display X windows sessions on remote computers.In this tutorial, we can learn how to setup VNC server on centos 6.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |