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 800x600 -nolisten tcp -localhost"
VNCSERVERARGS[3]="-geometry 800x600"
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
本文详细介绍了如何在Linux系统上安装及配置VNC服务,包括VNC服务器和客户端的安装步骤、配置方法以及连接测试过程。此外还解决了在安装过程中可能遇到的问题,如symbol lookup error和字体加载错误。
1万+

被折叠的 条评论
为什么被折叠?



