|
|

楼主 |
发表于 2007-5-18 16:32:23
|
显示全部楼层
[root@local ~]# service vncserver start
启动 VNC 服务器:no displays configured [确定]
[root@local ~]#
这算成功启动么?
我的OS版本是Fedora Core6(FC6)。
我在安装盘里找到这两个安装文件vnc和vncserver,使用rpm安装:
[root@local ~]# rpm -q vnc vnc-server
vnc-4.1.2-3.fc6
vnc-server-4.1.2-3.fc6
说明装上了吧。
运行vncserver:
[root@local ~]# vncserver
New 'local:1 (root)' desktop is local:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/local:1.log
[root@local ~]#
然后从Windows的Viewer输入192.168.1.100:1回车,"failed to connect:Connection refused(10061)"连不上。
输入192.168.1.100:5901,同样的提示,连不上。
再运行vncserver,还是出现同一个编号1,即编号没增长:
[root@local ~]# vncserver
New 'local:1 (root)' desktop is local:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/local:1.log
[root@local ~]#
现在察看登陆文件root/.vnc/local:1.log内容如下:
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
Xvnc version 4.0 - built Jun 14 2004 12:01:28
Underlying X server release 40201000, The XFree86 Project, Inc
Fri May 18 16:29:05 2007
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
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/Speedo/, removing from list!
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/CID/, 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!
Fatal server error:
could not open default font 'fixed'
xrdb: Connection refused
xrdb: Can't open display 'local:1'
xmodmap: unable to open display 'local:1'
xhost: unable to open display "local:1"
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
Failed to launch SCIM.
Smart Common Input Method 1.4.4
问题到底出在哪里呢?是不是vncserver安装完后要修改什么东西? |
|