Ubuntu – Does gnome-fallback.desktop require accelerated graphics in 13.10

gnomegnome-sessionvnc

I am trying to run gnome-fallback.desktop under VncServer.

After upgrading to 13.10, my VNC no longer works – it just shows an empty terminal window, with no session.

These are the sessions that I have installed:

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

And this is the contents of my ~/.vnc/xstartup file , which is pointing to gnome-fallback.desktop as far as I can tell:

#!/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 &

This is the output of the log file in ~/.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....

It seems that gnome-fallback.desktop now requires accelerated graphics? Is this correct?

Best Answer

It kind of works if I start things manually that gnome-session used to start. Fonts don't seem to be set though.

~/.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 &
Related Question