in Linux

VNC install and use in rhel6

Installed the VNCserver and VNCclient and tested.

1, install

yum install vnc vnc-server

2, configure

vim /etc/sysconfig/vncservers

 VNCSERVERS=”2:root”
#VNCSERVERARGS[2]=”-geometry 800×600 -nolisten tcp -localhost”
VNCSERVERARGS[3]=”-geometry 800×600″

3, start vncserver and test the connection from other pc.

service vncserver status

chkconfig vncserver on

connect from other computer by using TigerVNC Viewer, needs to input “IPaddress:2”, will access the desktop xwindows.

4, two problems encountered and solved.

a,

/usr/bin/Xvnc: symbol lookup error: /usr/bin/Xvnc: undefined symbol: pixman_composite_trapezoids

needs to install pixman

# yum install pixman pixman-devel

b,

Fatal server error:
could not open default font ‘fixed’

needs to install libXfont

yum install libXfont

 

Write a Comment

Comment

one × five =