总结- VNC 服务器日志有错误“软件加速检查失败”
我刚刚vncserver
在 Ubuntu 14.04 (Trusty) 上安装
这是我的xstartup
配置文件
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
gnome-session --session=gnome-classic &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
我还仔细检查了该文件是否可执行
jeeves@HAL:~/.vnc $ ls -hlt
total 16K
-rw-rw-r-- 1 jeeves jeeves 1.1K May 24 23:03 HAL:9.log
-rwxrwxr-x 1 jeeves jeeves 406 May 24 23:02 xstartup
-rw------- 1 jeeves jeeves 8 May 24 22:37 passwd
我启动了服务器
vncserver -geometry 1680x1050 -nevershared :9
我使用 VNC 客户端 Chicken 连接我的 Mac
我注意到我的屏幕变灰了
查看 vnc 服务器日志,似乎软件加速检查失败,我不确定该错误是什么 -
Xvnc Free Edition 4.1.1 - built Jul 31 2015 19:10:31
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc
Tue May 24 23:05:25 2016
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5909
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!
Unable to create /home/jeeves/.dbus/session-bus
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session[6416]: WARNING: software acceleration check failed: Child process exited with code 1
gnome-session[6416]: CRITICAL: We failed, but the fail whale is dead. Sorry....
谢谢!