centos6.3远程桌面(tigervnc)
原创
©著作权归作者所有:来自51CTO博客作者vast2006的原创作品,请联系作者获取转载授权,否则将追究法律责任
之前的VNC是realvnc,但现在realvnc需要授权了,centos 6.3中使用tigervnc代替了realvnc,系统中没有自带的,自行手动安装;使用方法类似:
[root@oracle11g softpack]# yum -y install
tigervnc*
[root@oracle11g softpack]# rpm -qa |grep
tigervnc
tigervnc-server-1.1.0-5.el6.x86_64
tigervnc-1.1.0-5.el6.x86_64
tigervnc-server-module-1.1.0-5.el6.x86_64
tigervnc-server-applet-1.1.0-5.el6.noarch
[root@oracle11g softpack]# chkconfig --list
vncserver
vncserver 0:off
1:off 2:off 3:off
4:off 5:off 6:off
[root@oracle11g softpack]# chkconfig
vncserver on
[root@oracle11g softpack]# chkconfig --list
vncserver
vncserver 0:off
1:off 2:on 3:on
4:on 5:on 6:off
[root@oracle11g softpack]# vncserver
You will require a password to access your
desktops.
Password:
Verify:
xauth:
creating new authority file /root/.Xauthority
WARNING: The first attempt to start Xvnc
failed, possibly because the font
catalog is not properly configured. Attempting to determine an appropriate
font path for this system and restart Xvnc
using that font path ...
Could not start Xvnc.
/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
在安装过程中出现报错,网上说是因为字体安装不完全,我的解决方法是更新yum:
[root@oracle11g sysconfig]# yum -y upgrade
[root@oracle11g /]# vncserver
New 'oracle11g:1 (root)' desktop is
oracle11g:1
Creating default startup script
/root/.vnc/xstartup
Starting applications specified in
/root/.vnc/xstartup
Log file is /root/.vnc/oracle11g:1.log
[root@oracle11g /]# vncpasswd
Password:
Verify:
修改xstartup文件把最后的twm & 删除加上gnome-session &
[root@oracle11g .vnc]# tail -n 3 xstartup
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title
"$VNCDESKTOP Desktop" &
gnome-session &
[root@oracle11g .vnc]# vim
/etc/sysconfig/vncservers
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry
1024x768"
[root@oracle11g .vnc]# vim
/etc/sysconfig/vncservers
[root@oracle11g .vnc]# service vncserver
restart
Shutting down VNC server: 2:root [FAILED]
Starting VNC server: 2:root
New 'oracle11g:2 (root)' desktop is
oracle11g:2
Starting applications specified in
/root/.vnc/xstartup
Log file is /root/.vnc/oracle11g:2.log
[ OK ]
使用vnc客户端连接;
![](https://ucenter.51cto.com/images/noavatar_middle.gif)
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Xmanager连接Centos6.3的远程桌面
Xmanager连接Centos6.3的远程桌面
Linux Xmanager Centos6.3远程桌面 -
tigervnc远程桌面连接教程-linux
tigervnc教程
tigervnc