muz*_*amo 12 vnc gnome gnome-session
我正在尝试gnome-fallback.desktop在 VncServer 下运行。
升级到 13.10 后,我的 VNC 不再工作 - 它只显示一个空的终端窗口,没有会话。
这些是我安装的会话:
$ ls /usr/share/xsessions/
gnome.desktop gnome-fallback.desktop xfce.desktop
gnome-fallback-compiz.desktop ubuntu.desktop
Run Code Online (Sandbox Code Playgroud)
这是我的~/.vnc/xstartup文件的内容,gnome-fallback.desktop据我所知,它指向的是:
$ ls /usr/share/xsessions/
gnome.desktop gnome-fallback.desktop xfce.desktop
gnome-fallback-compiz.desktop ubuntu.desktop
Run Code Online (Sandbox Code Playgroud)
这是日志文件的输出~/.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....
Run Code Online (Sandbox Code Playgroud)
似乎gnome-fallback.desktop现在需要加速图形?这样对吗?
如果我手动启动 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 &
Run Code Online (Sandbox Code Playgroud)
小智 2
升级后我遇到了完全相同的问题,我尝试寻找可能的解决方案,但找不到与软件加速问题相关的任何内容。
最后我实在忍不住再去挖掘了,所以我就选择了 xfce4,现在它又可以正常工作了。
这是我的 Xstartup:
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &
Run Code Online (Sandbox Code Playgroud)
我的猜测是 gnome-fallback 可能会被破坏,并且以某种方式默认为 gnome3,这实际上需要加速才能工作。
希望这对您有帮助。
| 归档时间: |
|
| 查看次数: |
40050 次 |
| 最近记录: |