GNOME 3.2 hangs after login (openSUSE 12.1)

I’m having this problem for some time now. After login it just hangs. I uninstalled it and installed it again, same behavior…
KDE works fine btw. I suspect it’s some autostart app, but have no idea which. I know almost nothing about gnome which make things worse.

Any help will be appreciated,

  • pascal

So I do recall seeing such a behavior with GNOME 3 that was solved by just doing a complete update of openSUSE. You could log into KDE and running YaST, make sure all is up-to-date. I normally add in the Packman repository, but not required for Gnome 3 per say though multimedia operation can depend on having it as a repository. In KDE, go to …

YaST / Software / Software Management AND then … I select Options and make sure that Allow Vendor Change is selected (good for using Packman). Next, I select Package / All Packages and Select Update if newer version available … See if that helps.

Thank You,

Thanks! I’ll try it as soon as the repositories are up again.

  • pascal

I did what you suggested but it didn’t change anything. The problem persists. One thing that’s most likely irrelevant is that I was asked to resolve some conflicts during the update and I did so by selecting to not install the updates in a few occasions.

Is it possible that some auto start-up apps are causing the problem?

  • pascal

I just discovered that I can login to GMOME as root, so the problem must be specific to ordinary users. I created a new user and she also had the same problem. Any clues?

Something is messed up in you local ~/.gnome directory. I don’t run Gnome but I believe there are 2 of them in you home directory, renaming them while running KDE will bring you back to day one.

BTW logging in to a GUI as root can cause such problems never ever log into a GUI as root.

There’s no .gnome directory in my home dir, there are 3 directories: gconf, .gnome2 and .gnome2_private and I renamed all of them. They were all regenerated after I logged in to gnome but still I’m prompted to logout because of an unrecoverable error.

Thanks for the tip BTW about GUI and root. I only resorted to it after the idea of solving my problem this way came to me.

I logged in to gnome as user test (a new user I created for test purposes). Then I went back and checked /var/log/messages. Here is what I found

root@pascalinux:/var/log #cat m
Apr 30 21:27:13 pascalinux systemd-logind[940]: New session 21 of user test.
Apr 30 21:27:13 pascalinux systemd-logind[940]: Linked /tmp/.X11-unix/X0 to /run/user/test/X11-display.
Apr 30 21:27:14 pascalinux gnome-session[8872]: WARNING: Could not parse desktop file /home/test/.config/autostart/xfconf-migration-4.6.desktop: Key file does not have key 'Name'
Apr 30 21:27:14 pascalinux gnome-session[8872]: WARNING: could not read /home/test/.config/autostart/xfconf-migration-4.6.desktop
Apr 30 21:27:16 pascalinux dbus[1097]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Apr 30 21:27:16 pascalinux dbus-daemon[1097]: dbus[1097]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Apr 30 21:27:16 pascalinux dbus-daemon[1097]: (packagekitd:9016): PackageKit-Zypp-DEBUG: zypp_backend_initialize
Apr 30 21:27:16 pascalinux dbus-daemon[1097]: dbus[1097]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 30 21:27:16 pascalinux dbus[1097]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Apr 30 21:27:17 pascalinux test: Try 0/8 : /proc/fs/vmblock/dev not available. sleeping for 1 seconds
Apr 30 21:27:17 pascalinux gnome-session[8872]: WARNING: Unable to parse command from  'file:///etc/xdg/autostart/synaptiks_init_config.desktop': Key file contains key 'Terminal' which has value that cannot be interpreted.
Apr 30 21:27:17 pascalinux gnome-session[8872]: WARNING: Failed to start app: Unable to start application: Key file contains key 'Terminal' which has value that cannot be interpreted.
Apr 30 21:27:17 pascalinux pulseaudio[9068]: [pulseaudio] pid.c: Daemon already running.
Apr 30 21:27:18 pascalinux test: Try 1/8 : /proc/fs/vmblock/dev not available. sleeping for 2 seconds
Apr 30 21:27:19 pascalinux gnome-session[8872]: WARNING: App 'gnome-shell.desktop' respawning too quickly
Apr 30 21:27:20 pascalinux test: Try 2/8 : /proc/fs/vmblock/dev not available. sleeping for 4 seconds
Apr 30 21:27:22 pascalinux collectd[1250]: uc_update: Value too old: name = WebYaST/df/df-root; value time = 1335810442; last cache update = 1335810442;
Apr 30 21:27:22 pascalinux collectd[1250]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Apr 30 21:27:23 pascalinux systemd-logind[940]: Removed session 21.
Apr 30 21:27:24 pascalinux acpid: 1 client rule loaded
Apr 30 21:27:24 pascalinux test: Try 3/8 : /proc/fs/vmblock/dev not available. sleeping for 8 seconds
Apr 30 21:27:32 pascalinux collectd[1250]: uc_update: Value too old: name = WebYaST/df/df-root; value time = 1335810452; last cache update = 1335810452;
Apr 30 21:27:32 pascalinux collectd[1250]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
Apr 30 21:27:32 pascalinux test: Try 4/8 : /proc/fs/vmblock/dev not available. sleeping for 16 seconds
Apr 30 21:27:36 pascalinux dbus-daemon[1097]: (packagekitd:9016): PackageKit-Zypp-DEBUG: zypp_backend_destroy
Apr 30 21:27:42 pascalinux collectd[1250]: uc_update: Value too old: name = WebYaST/df/df-root; value time = 1335810462; last cache update = 1335810462;
Apr 30 21:27:42 pascalinux collectd[1250]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
root@pascalinux:/var/log #

Can anyone interpre the test: Try n/8 : /proc/fs/vmblock/dev not available message?

The relevant config file for Gnome3 is ~/.config/dconf/user. It’s a binary file. You can not edit or view it with a text editor.

I renamed it, still no luck. I also renamed three other ~/.config/gnome-xxx directories without success.

Try to rename the whole ~/.config. (I said “rename” !). Can you start another desktop as this user (such as icewm, which should be installed by default)? Did you try to log in as a new user? Once gnome has failed to start as user - and before trying to start another desktop - look at ~/.xsession-errors ( = /home/you/.xsession-errors) and post the content of this file (should not be too long).

TankIs for the tip. I created a new user (gtest) and looked at /home/gtest/.xsession-errors and here it is

root@pascalinux:/var/log #tail -20  /home/gtest/.xsession-errors
gnome-session[4895]: WARNING: App 'gnome-shell.desktop' respawning too quickly
** (process:5038): DEBUG: Exiting gsd-printer

(gnome-settings-daemon:5016): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
[1335866091,000,xklavier.c:xkl_engine_start_listen/]    The backend does not require manual layout management - but it is provided by the application
** (process:5073): DEBUG: zeitgeist-datahub.vala:58: Zeitgeist-daemon disappeared from the bus, exitting...

** (process:5073): WARNING **: zeitgeist-datahub.vala:218: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

(nm-applet:5102): GConf-WARNING **: Got Disconnected from DBus.

g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Received signal:15->'Terminated'parcellite: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

OK

root@pascalinux:/var/log #

I will unistall parcellite and post the results.

After uninstalling parcellite I tried again and thie time I will post the whole file so someone more skilled than me may help

root@pascalinux:/var/log #cat /home/gtest/.xsession-errors
/etc/X11/xim: Checking whether an input method should be started.
sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale el_GR ...
There is no default input method for the current locale.
Dummy input method "none" (do not use any fancy input method by default)
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service
gnome-session[7022]: WARNING: Could not parse desktop file /home/gtest/.config/autostart/xfconf-migration-4.6.desktop: Key file does not have key 'Name'
gnome-session[7022]: WARNING: could not read /home/gtest/.config/autostart/xfconf-migration-4.6.desktop
gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
GNOME_KEYRING_CONTROL=/tmp/keyring-0PRvgb
GNOME_KEYRING_PID=7145
GNOME_KEYRING_CONTROL=/tmp/keyring-0PRvgb
SSH_AUTH_SOCK=/tmp/keyring-0PRvgb/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-0PRvgb
SSH_AUTH_SOCK=/tmp/keyring-0PRvgb/ssh
GPG_AGENT_INFO=/tmp/keyring-0PRvgb/gpg:0:1
GNOME_KEYRING_CONTROL=/tmp/keyring-0PRvgb
SSH_AUTH_SOCK=/tmp/keyring-0PRvgb/ssh
GPG_AGENT_INFO=/tmp/keyring-0PRvgb/gpg:0:1

(gnome-settings-daemon:7138): color-plugin-WARNING **: failed to create device: GDBus.Error:org.freedesktop.ColorManager.Failed: failed to obtain org.freedesktop.color-manager.create-device auth

(gnome-settings-daemon:7138): Gdk-CRITICAL **: gdk_x11_keymap_get_entries_for_keyval: assertion `keyval != 0' failed
gnome-session[7022]: WARNING: Unable to parse command from  'file:///etc/xdg/autostart/synaptiks_init_config.desktop': Key file contains key 'Terminal' which has value that cannot be interpreted.
gnome-session[7022]: WARNING: Failed to start app: Unable to start application: Key file contains key 'Terminal' which has value that cannot be interpreted.
Initializing tracker-store...
Tracker-Message: Setting up monitor for changes to config file:'/home/gtest/.config/tracker/tracker-store.cfg'
Tracker-Message: Setting up monitor for changes to config file:'/home/gtest/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/gtest/.local/share/tracker/tracker-store.log'

MCS->Xfconf settings migration complete

Failed to play sound: File or data not found
** Message: applet now removed from the notification area
    JS ERROR: !!!   Exception was: Error: Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input
    JS ERROR: !!!     lineNumber = '0'
    JS ERROR: !!!     fileName = '"gjs_throw"'
    JS ERROR: !!!     stack = '"("Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input")@gjs_throw:0
("%a %R")@/usr/share/gnome-shell/js/ui/environment.js:75
()@/usr/share/gnome-shell/js/ui/dateMenu.js:208
([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:167
DateMenuButton([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:44
()@/usr/share/gnome-shell/js/ui/panel.js:948
Panel()@/usr/share/gnome-shell/js/ui/panel.js:887
start()@/usr/share/gnome-shell/js/ui/main.js:213
@<main>:1
"'
    JS ERROR: !!!     message = '"Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input"'
Window manager warning: Log level 32: Execution of main.js threw exception: Error: Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input

(nm-applet:7203): libnotify-WARNING **: Failed to connect to proxy
    JS ERROR: !!!   Exception was: Error: Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input
    JS ERROR: !!!     lineNumber = '0'
    JS ERROR: !!!     fileName = '"gjs_throw"'
    JS ERROR: !!!     stack = '"("Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input")@gjs_throw:0
("%a %R")@/usr/share/gnome-shell/js/ui/environment.js:75
()@/usr/share/gnome-shell/js/ui/dateMenu.js:208
([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:167
DateMenuButton([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:44
()@/usr/share/gnome-shell/js/ui/panel.js:948
Panel()@/usr/share/gnome-shell/js/ui/panel.js:887
start()@/usr/share/gnome-shell/js/ui/main.js:213
@<main>:1
"'
    JS ERROR: !!!     message = '"Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input"'
Window manager warning: Log level 32: Execution of main.js threw exception: Error: Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input
gnome-session[7022]: WARNING: App 'gnome-shell.desktop' respawning too quickly
** (process:7161): DEBUG: Exiting gsd-printer

(gnome-settings-daemon:7138): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
[1335867773,000,xklavier.c:xkl_engine_start_listen/]    The backend does not require manual layout management - but it is provided by the application
** (process:7190): DEBUG: zeitgeist-datahub.vala:58: Zeitgeist-daemon disappeared from the bus, exitting...

** (process:7190): WARNING **: zeitgeist-datahub.vala:218: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Received signal:15->'Terminated'g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
** Message: Got disconnected from the session message bus; retrying to reconnect every 10 seconds

(nm-applet:7203): GConf-WARNING **: Got Disconnected from DBus.


(gnome-screensaver:7191): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

OK

root@pascalinux:/var/log #

Can you start another desktop as user? (it’s important to know).
How do you start gnome? (xdm, gdm, kdm, startx …something else?)

What is in your /tmp ?
Do users have read/write access to /tmp?


# stat /tmp
  File: `/tmp'
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 804h/2052d      Inode: 917505      Links: 11
Access: (**1777**/drwxrwxrwt)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2012-04-30 04:00:06.850608349 -0700
Modify: 2012-05-01 03:45:01.334976040 -0700
Change: 2012-05-01 03:45:01.334976040 -0700
 Birth: -

Access should be 1777.

If users can not write to /tmp, they wont be able to connect to dbus and use Gnome.

$ dbus-launch --sh-syntax --exit-with-session
DBUS_SESSION_BUS_ADDRESS='unix:abstract=**/tmp/**dbus-DqxU48wRqZ,guid=19458c758405c89b1949448600000444';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=6530;
DBUS_SESSION_BUS_WINDOWID=77594625;

It might not be the problem you’re having, but it’s worth to check.

I can login to KDE, xfce, twm, IceWM etc…

It might not be the problem you’re having, but it’s worth to check.
I agree.

pascalinux:/var/log:# stat /tmp
  File: `/tmp'
  Size: 36864           Blocks: 80         IO Block: 4096   directory
Device: 806h/2054d      Inode: 919313      Links: 671
Access: (1777/drwxrwxrwt)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2012-05-01 15:55:03.149264632 +0300
Modify: 2012-05-01 15:55:16.936866125 +0300
Change: 2012-05-01 15:55:16.936866125 +0300
 Birth: -
pascalinux:/var/log:# dbus-launch --sh-syntax --exit-with-session
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-YjVCpL3pMo,guid=5b96130b749da7ad078b4d0900002fa4';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=18911;
pascalinux:/var/log:#

It’s specific to GNOME for all non-root users.

Most warnings in your ~/.xsession-errors are non fatal bugs (I see them too). You could log in into Gnome as root, save /root/.xsession-errors, then log in as user, save this users’s ~/.xsession-errors and compare the two logs.

The comparisson of root’s and gtest’s .xsession-errors reveals that the latter contained several extra lines :

Failed to play sound: File or data not found
** Message: applet now removed from the notification area
    JS ERROR: !!!   Exception was: Error: Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input
    JS ERROR: !!!     lineNumber = '0'
    JS ERROR: !!!     fileName = '"gjs_throw"'
    JS ERROR: !!!     stack = '"("Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input")@gjs_throw:0
("%a %R")@/usr/share/gnome-shell/js/ui/environment.js:75
()@/usr/share/gnome-shell/js/ui/dateMenu.js:208
([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:167
DateMenuButton([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:44
()@/usr/share/gnome-shell/js/ui/panel.js:948
Panel()@/usr/share/gnome-shell/js/ui/panel.js:887
start()@/usr/share/gnome-shell/js/ui/main.js:213
@<main>:1
"'
    JS ERROR: !!!     message = '"Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input"'
Window manager warning: Log level 32: Execution of main.js threw exception: Error: Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input

(nm-applet:7203): libnotify-WARNING **: Failed to connect to proxy
    JS ERROR: !!!   Exception was: Error: Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input
    JS ERROR: !!!     lineNumber = '0'
    JS ERROR: !!!     fileName = '"gjs_throw"'
    JS ERROR: !!!     stack = '"("Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input")@gjs_throw:0
("%a %R")@/usr/share/gnome-shell/js/ui/environment.js:75
()@/usr/share/gnome-shell/js/ui/dateMenu.js:208
([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:167
DateMenuButton([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:44
()@/usr/share/gnome-shell/js/ui/panel.js:948
Panel()@/usr/share/gnome-shell/js/ui/panel.js:887
start()@/usr/share/gnome-shell/js/ui/main.js:213
@<main>:1
"'
    JS ERROR: !!!     message = '"Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input"'
Window manager warning: Log level 32: Execution of main.js threw exception: Error: Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input
gnome-session[7022]: WARNING: App 'gnome-shell.desktop' respawning too quickly
** (process:7161): DEBUG: Exiting gsd-printer

(gnome-settings-daemon:7138): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
[1335867773,000,xklavier.c:xkl_engine_start_listen/]    The backend does not require manual layout management - but it is provided by the application
** (process:7190): DEBUG: zeitgeist-datahub.vala:58: Zeitgeist-daemon disappeared from the bus, exitting...

** (process:7190): WARNING **: zeitgeist-datahub.vala:218: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Received signal:15-&gt;'Terminated'g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
** Message: Got disconnected from the session message bus; retrying to reconnect every 10 seconds

(nm-applet:7203): GConf-WARNING **: Got Disconnected from DBus.


(gnome-screensaver:7191): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

OK

Any ideas how to deal with it?

Can users log in in fallback mode (I bet they can) ? See here on how to create a .desktop session file for fallback mode: http://forums.opensuse.org/english/get-technical-help-here/applications/474712-black-windows-gnome-3-2-a.html#post2458117

I created the file /usr/share/xsessions/gnome-fallback.desktop with the following content

[Desktop Entry]
Name=GNOME Classic (No effects)
Comment=This session logs you into GNOME with the traditional panel without any graphical effect.
Exec=gnome-session --session=gnome-fallback
TryExec=gnome-session
Icon=
Type=Application

and logged in to gnome again without any change.

Now?

That’s not what I meant. You should not log in in gnome-shell. You should start a fallback session, meaning in the login manager, you should select “Gnome Classic (No effects)”. The file you just created adds a new choice. Hence my question, how do you start Gnome?