gnome-fallback.desktop 在 13.10 中是否需要加速图形?

gnome-fallback.desktop 在 13.10 中是否需要加速图形?

我正在尝试gnome-fallback.desktop在 VncServer 下运行。

升级到 13.10 后,我的 VNC 不再工作 - 它只显示一个空的终端窗口,没有会话。

这些是我已经安装的会话:

$ ls /usr/share/xsessions/
gnome.desktop                  gnome-fallback.desktop  xfce.desktop
gnome-fallback-compiz.desktop  ubuntu.desktop

这是我的文件的内容,据我所知,~/.vnc/xstartup它指向:gnome-fallback.desktop

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
# exec /etc/X11/xinit/xinitrc
gnome-session --session=gnome-fallback.desktop &
#gnome-session --session=gdm-session &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

这是日志文件的输出~/.vnc/

Xvnc Free Edition 4.1.1 - built Jan 14 2013 22:28:40
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc


Sat Oct 19 17:37:51 2013
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 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!
Option "--login" is no longer supported in this version of gnome-terminal; you might want to create a profile with the desired setting, and use the new '--profile' option
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
Window manager warning: Log level 32: could not find XKB extension.
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256

** (process:1602): WARNING **: software acceleration check failed: Child process exited with code 1

** (gnome-session:1602): CRITICAL **: We failed, but the fail whale is dead. Sorry....

看起来gnome-fallback.desktop现在需要加速图形?这是正确的吗?

答案1

如果我手动启动 gnome-session 以前启动的东西,它就会起作用。不过字体似乎没有设置。

〜/ .vnc / xstartup

#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &

答案2

升级后我遇到了完全相同的问题,我尝试寻找可能的解决方案,但没有找到与软件加速问题相关的任何内容。

最后我懒得再去挖掘,所以我只好用 xfce4,现在它又可以正常工作了。

这是我的Xstartup:

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

我猜测 gnome-fallback 可能坏了,并且以某种方式默认为 gnome3,这实际上需要加速才能工作。

希望这对你有帮助。

答案3

这是(非常令人失望的) Gnome 问题。该问题已存在一年多,在 14.04 LTS 中仍然存在。

使用该线程中的--disable-acceleration-check解决方案对我来说不起作用。

https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281

是的,作为一种解决方法,xfce4 或 fluxbox(运行 startfluxbox)将会起作用。

相关内容