Bug 10916 - cinnamon doesn't start
Summary: cinnamon doesn't start
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Joseph Wang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-04 12:25 CEST by Ojangu
Modified: 2013-08-04 17:34 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Ojangu 2013-08-04 12:25:09 CEST
fresh instrall of cauldron from boot.iso (27.07.2013). KDE desktop
After that I install task-cinneamon .


After new login I can see cinnamone desktop  omly halv of second, after that appears fullscreen graphic message:
"Oh no! Something gone wrong.
A problem has occured and the system can't recover.
Please log out and try again."

Cinnamon2D returned back to login screen without any messaages





Reproducible: 

Steps to Reproduce:
Sander Lepik 2013-08-04 12:28:37 CEST

CC: (none) => mageia
Assignee: bugsquad => joequant
Source RPM: task-cinnamone => task-cinnamon

Sander Lepik 2013-08-04 12:30:12 CEST

Summary: cinnamone cant start correctly => cinnamon doesn't start

Comment 1 Joseph Wang 2013-08-04 12:35:36 CEST
Can you attach

 ~/.xsession-errors

and 

dump out "rpm -qa" can attach that?

It appears that there is some "requires" that is missing but I've been unable to track down which one.
Comment 2 Ojangu 2013-08-04 15:11:33 CEST
In ~/.xsession-errors is omly:"localhost being added to acess control list"

But on Cinnamon desktop screen appears next error message:"Do you want to restart Cinnamon?
Cinnamon just crashed. You are currently runningin Falback Mode" Just for millisecond.
Comment 3 Joseph Wang 2013-08-04 15:15:15 CEST
Can you do

rpm -qa > rpm.log

and then attach the output.

There was a recent fix to mageina cinnamon to fix a crash, but there may be a problem with mismatched libraries.
Comment 4 Sander Lepik 2013-08-04 15:36:34 CEST
At least two packages are required: gnome-themes-standard and gjs. With those packages installed the desktop is at least starting. Not sure which package should require them. task-cinnamon is not the right one for the "job".

Source RPM: task-cinnamon => (none)

Comment 5 Joseph Wang 2013-08-04 15:44:10 CEST
I'm pushing a new cinnamon which requires gjs and gnome-themes-standard

I'm pretty sure that I know why it works for me.  I have gnome installed so its picking up all of the packages, whereas I think that if you install cinnamon from a KDE machine, you may be missing packages.
Comment 6 Sander Lepik 2013-08-04 15:47:10 CEST
There might be something else missing as 2 instances of applet.py are running @ 100% CPU.
Comment 7 Joseph Wang 2013-08-04 15:48:46 CEST
Can you do a....

strace -p <process id>

To see what it might be doing?
Comment 8 Sander Lepik 2013-08-04 16:20:21 CEST
applet.py is probably not related with cinnamon. Something wrong in printing packages.

But there is still problem with 2D cinnamon. Some icons are missing (from system tray and 3 icons from menu (log out and others session related ones)) and I can't log out. Nothing happens. Only some lines are added to .xsession-errors:

(cinnamon:10770): Gjs-WARNING **: JS ERROR: TypeError: this.selectedAppTitle is undefined
MyApplet._refreshFavs/<@/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js:1585


(cinnamon:10770): Gjs-WARNING **: JS ERROR: Exception in callback for signal: open-state-changed: TypeError: this.selectedAppTitle is undefined
MyApplet._onOpenStateChanged@/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js:954
_emit@/usr/share/gjs-1.0/signals.js:124
PopupMenu.close@/usr/share/cinnamon/js/ui/popupMenu.js:1262
MyApplet._refreshFavs/<@/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js:1593

Gjs-Message: JS LOG: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(cinnamon:10770): Gjs-WARNING **: JS ERROR: TypeError: this.selectedAppTitle is undefined
MyApplet._refreshFavs/<@/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js:1589

It's working with normal mode.
Comment 9 Joseph Wang 2013-08-04 16:32:01 CEST
try this

change the file

/etc/X11/wmsession.d/11cinnamon2d

and replace

/usr/bin/cinamon2d

with

/usr/bin/gnome-session-cinnamon2d

and let me know if that helps things.
Comment 10 Sander Lepik 2013-08-04 16:38:39 CEST
Yes, that change (changed both lines containing it) fixed it.
Comment 11 Joseph Wang 2013-08-04 16:43:35 CEST
Great.  I'll push out a change shortly.
Comment 12 Joseph Wang 2013-08-04 17:33:32 CEST
Marking as fixed.
Comment 13 Sander Lepik 2013-08-04 17:34:20 CEST
.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.