+ -
当前位置:首页 → 问答吧 → vncserver启动问题

vncserver启动问题

时间:2011-10-10

来源:互联网

系统:ubuntu11.04
$vncserver
使用上面的命令启动一个vnc后,查看日志文件如下:


Xvnc Free Edition 4.1.1 - built Apr 9 2010 18:47:36
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc


Mon Oct 10 17:23:18 2011
 vncext: VNC extension running!
 vncext: Listening for VNC connections on port 5999
 vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!


安装vncserver的方式:sudo apt-get install vnc4server
系统下没有/xserver/SecurityPolicy这个文件
请问这么回事?

作者: l_o_ng   发布时间: 2011-10-10


可能是那个文件在Ubuntu当中位置不正确导致。
find / -name SecurityPolicy
手动找到该文件。
然后
sudo mkdir /usr/X11/xserver/SecurityPolicy

手动拷贝过去,看看如何。
sudo cp $path_to_securitypolicy_file /usr/X11/xserver/SecurityPolicy

作者: linwhwylb   发布时间: 2011-10-10

引用楼主 l_o_ng 的回复:
系统:ubuntu11.04
$vncserver
使用上面的命令启动一个vnc后,查看日志文件如下:


Xvnc Free Edition 4.1.1 - built Apr 9 2010 18:47:36
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC……

查找过,没有找到

作者: l_o_ng   发布时间: 2011-10-10

热门下载

更多