Summary: | gnome-extra/cinnamon-1.1.13 not starting - "TypeError: root is null" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | René Marten <r_marten> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
René Marten
2012-01-25 00:35:23 UTC
(In reply to comment #0) Cinnamon should be launchable from gdm-3.2 or any other modern *dm (but probably not xdm, which does not work well with modern desktop environments). Simply select the "Cinnamon" session instead of "Gnome". If you want to use an .xinitrc, you cannot just run the cinnamon executable from it; several environment variables must be set and several daemons must be launched first. (This is why using a *dm is recommended: it will normally take care of all that automatically.) Perhaps the following .xinitrc might work: DESKTOP_SESSION="cinnamon" for f in /etc/X11/xinit/xinitrc.d/* ; do [ -x "$f" ] && . "$f" done exec ck-launch-session gnome-session --session=cinnamon oh ok this could be the reason, I used lxdm and that doesn't work. Then I tried the --replace option from a running gnome3 session .. no good idea? I'll try to start cinnemon from gdm and though .xinitrc with the modified content. starting cinnemon from gdm is also not possible, I always return to the login prompt (same with lxdm). from the modified .xinitrc it works but after e fiew second I get a message that an arror has occured and I'm getting logged out. Then I see that there are lots of failed string conversions like this one: JS ERROR: !!! message = '"Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input"' Fensterverwalter-Warnung: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:30885): libnotify-WARNING **: Failed to connect to proxy ** (nm-applet:30885): WARNING **: get_all_cb: couldn't retrieve system settings properties: (25) Launch helper exited with unknown return code 1. ** (nm-applet:30885): WARNING **: fetch_connections_done: error fetching connections: (25) Launch helper exited with unknown return code 1. ** (nm-applet:30885): WARNING **: Failed to register as an agent: (25) Launch helper exited with unknown return code 1 JS ERROR: !!! WARNING: 'anonymous function does not always return a value' JS ERROR: !!! WARNING: file '/usr/share/cinnamon/js/ui/panelLaunchers.js' line 224 exception 0 number 157 (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'CinnamonGenericContainer' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'StScrollView' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'CinnamonGenericContainer' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'StScrollView' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'CinnamonGenericContainer' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'StScrollView' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'CinnamonGenericContainer' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'StScrollView' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'CinnamonGenericContainer' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:30915): Clutter-WARNING **: Attempting to add actor of type 'StScrollView' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. 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 ()@/usr/share/cinnamon/js/ui/status/volume.js:779 ()@/usr/share/cinnamon/js/ui/status/volume.js:690 Indicator()@/usr/share/cinnamon/js/ui/status/volume.js:648 ()@/usr/share/cinnamon/js/ui/panel.js:1097 start()@/usr/share/cinnamon/js/ui/main.js:231 @<main>:1 "' JS ERROR: !!! message = '"Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input"' Fensterverwalter-Warnung: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[30844]: WARNING: App 'cinnamon.desktop' respawning too quickly ** (process:30872): DEBUG: Exiting gsd-printer (process:30872): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `stack != NULL' failed (gnome-settings-daemon:30856): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (In reply to comment #3) > starting cinnemon from gdm is also not possible, I always return to the login > prompt (same with lxdm). Please attach the .xsession-errors file that results after such a failed login attempt. Note: if you log into another session from gdm after failing to log into cinnamon, you will need to attach ~/.xsession-errors.old instead. > from the modified .xinitrc it works but after e fiew second I get a message > that an arror has occured and I'm getting logged out. > > Then I see that there are lots of failed string conversions like this one: > > > JS ERROR: !!! message = '"Failed to convert UTF-8 string to JS string: > Invalid byte sequence in conversion input"' > Fensterverwalter-Warnung: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 Interesting. Perhaps .xinitrc is for some reason not using a unicode locale? Try adding "export LANG=de_DE.UTF-8" (or en_US.UTF-8) to the beginning of your .xinitrc; alternatively, try to set a unicode locale systemwide using eselect locale. that doesn't help. It seems that some importand things couldn't be started. Starting a second x session completly freezed my system so it's difficult to find out what things or services. No problems with gnome3 another try .... 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 ()@/usr/share/cinnamon/js/ui/status/volume.js:779 ()@/usr/share/cinnamon/js/ui/status/volume.js:690 Indicator()@/usr/share/cinnamon/js/ui/status/volume.js:648 ()@/usr/share/cinnamon/js/ui/panel.js:1097 start()@/usr/share/cinnamon/js/ui/main.js:231 @<main>:1 "' JS ERROR: !!! message = '"Failed to convert UTF-8 string to JS string: Invalid byte sequence in conversion input"' Fensterverwalter-Warnung: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:9534): libnotify-WARNING **: Failed to connect to proxy ** (nm-applet:9534): WARNING **: get_all_cb: couldn't retrieve system settings properties: (25) Launch helper exited with unknown return code 1. ** (nm-applet:9534): WARNING **: fetch_connections_done: error fetching connections: (25) Launch helper exited with unknown return code 1. ** (nm-applet:9534): WARNING **: Failed to register as an agent: (25) Launch helper exited with unknown return code 1 JS ERROR: !!! WARNING: 'anonymous function does not always return a value' JS ERROR: !!! WARNING: file '/usr/share/cinnamon/js/ui/panelLaunchers.js' line 224 exception 0 number 157 (cinnamon:9563): Clutter-WARNING **: Attempting to add actor of type 'CinnamonGenericContainer' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:9563): Clutter-WARNING **: Attempting to add actor of type 'StScrollView' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:9563): Clutter-WARNING **: Attempting to add actor of type 'CinnamonGenericContainer' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:9563): Clutter-WARNING **: Attempting to add actor of type 'StScrollView' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:9563): Clutter-WARNING **: Attempting to add actor of type 'CinnamonGenericContainer' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. (cinnamon:9563): Clutter-WARNING **: Attempting to add actor of type 'StScrollView' to a container of type 'StBoxLayout', but the actor has already a parent of type 'StBoxLayout'. ... The only thing I see before the log out button appears is a blank desktop. I clared up my gnome session but this doesn't help. starting another x session with a different user solves the problem. But I don't know atm which file let's cinnamon die. (In reply to comment #7) > starting another x session with a different user solves the problem. > But I don't know atm which file let's cinnamon die. In that case, the problem is probably that there is non-UTF-8 encoding used in one of the files in your ~/.local/share/applications or ~/.config/menus directories. Also, you may want to try cinnamon-1.2 (added to portage a few minutes ago). (In reply to comment #9) > Also, you may want to try cinnamon-1.2 (added to portage a few minutes ago). |