PDA

View Full Version : [xubuntu] Failed to start session "Gnome"... after 12.10 upgrade



robothebobo
October 26th, 2012, 05:51 PM
This is happening on an xubuntu computer that I don't access physically - I access it using ssh and very occasionally use the GUI via VNC (Xtightvnc).

Since upgrading from 12.04 to 12.10 (via ssh using 'do-release-upgrade'), I'm unable to use the GUI through VNC anymore. When I connect (first using the 'vncserver' command to launch an X server), I'm met with a grey screen and a single dialog box that says 'Failed to start session "Gnome"'. I can dismiss it, and then stare at a blank grey screen. Not much else.

I'm further puzzled because I thought Xfce was an alternative to Gnome, so I don't understand the message I'm getting... Any help appreciated.

Toz
October 26th, 2012, 06:10 PM
Hello and welcome to the forums.

Sounds like you might have vnc setup to start a gnome session. Can you post back the host system's vnc startup file?

robothebobo
October 26th, 2012, 06:16 PM
Hello and welcome to the forums.

Sounds like you might have vnc setup to start a gnome session. Can you post back the host system's vnc startup file?

Hi Toz,

This is what I have in my ~/.vnc/xstartup file:


#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession


I don't know if it's relevant, but I don't have a ~/.Xresources file.

Toz
October 26th, 2012, 07:09 PM
Do you have a ~/.xsession, ~/.xsessionrc or ~/.Xsession file? If so, what are the contents?

You could try changing the last line to read:

startxfce4 &
...this should start Xfce directly.

robothebobo
October 26th, 2012, 09:20 PM
Do you have a ~/.xsession, ~/.xsessionrc or ~/.Xsession file? If so, what are the contents?

You could try changing the last line to read:

startxfce4 &
...this should start Xfce directly.

Thank you! startxfce4 & got it working, although there are now errors given after I run 'vncserver': .Xauthority was owned by root:root with permissions 600, and vncserver gave an error message:

xauth: /home/robo/.Xauthority not writable, changes will be ignored

After I changed ownership to robo:robo, I get this error, repeated twice:

xauth: timeout in locking authority file /home/robo/.Xauthority

There are clearly a lot of things I need to learn about using this :)