Bug 206633 - x11/cinnamon-session -- Failed to load session "cinnamon"
Summary: x11/cinnamon-session -- Failed to load session "cinnamon"
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
Reported: 2016-01-26 05:24 UTC by Chris Hutchinson
Modified: 2016-01-28 21:13 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hutchinson 2016-01-26 05:24:38 UTC
The title pretty much says it all. It used to run without issue. I recently updated the system, and all attempts to start it, return a dialog with the following: Failed to load session "cinnamon".
There are no clues in either /var/log/Xorg.0.log, or /var/log/messages that anything is wrong.

SYSTEM:
FreeBSD dev-box 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r294112:
Mon Jan 18 14:25:01 PST 2016 root@dev-box:/usr/obj/usr/src/sys/DEVBOX amd64

PORTS
URL: svn://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 406193
Node Kind: directory
Schedule: normal
Last Changed Author: madpilot
Last Changed Rev: 406193
Last Changed Date: 2016-01-15 14:38:36 -0800 (Fri, 15 Jan 2016)

Thanks!

--Chris
Comment 1 Chris Hutchinson 2016-01-26 05:38:16 UTC
Something I forgot to mention;
cinnamon-session is started from ~/.xinitrc -- eg; via startx(1).

Sorry for not having mentioned it in the initial pr(1).

--Chris
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2016-01-26 15:00:41 UTC
CC last two committers
Comment 3 Chris Hutchinson 2016-01-28 17:19:07 UTC
(In reply to Kubilay Kocak from comment #2)
> CC last two committers

Thanks koobs@!

While I'm here; is there any way I can dredge some information as to *why* cinnamon-session won't start? Xorg.0.log reveals nadda, nor does tty(1).
I even changed my .xinitrc entry from:

exec cinnamon-session
to
exec cinnamon-session >.xsession-errors 2>&1

but there isn't anything in it. Gnome3, OTOH leaves some messages.

Thanks!

--Chris
Comment 4 Chris Hutchinson 2016-01-28 19:08:00 UTC
(In reply to Chris Hutchinson from comment #3)
> (In reply to Kubilay Kocak from comment #2)
> > CC last two committers
> 
> Thanks koobs@!
> 
> While I'm here; is there any way I can dredge some information as to *why*
> cinnamon-session won't start? Xorg.0.log reveals nadda, nor does tty(1).
> I even changed my .xinitrc entry from:
> 
> exec cinnamon-session
> to
> exec cinnamon-session >.xsession-errors 2>&1
> 
> but there isn't anything in it. Gnome3, OTOH leaves some messages.
> 
> Thanks!
> 
> --Chris

OK. Got a little further -- helps to read the man pages, once in awhile. :P

Anyway, I'm now using the following in my .xinitrc file

exec cinnamon-session --debug

For some reason, I'm unable to redirect the output, so I had to
search /var/messages for it. Here's the (relevant) ERROR output:

DEBUG(+): Enabling debugging
DEBUG(+): Using ConsoleKit for session tracking
DEBUG(+): CsmXsmpServer: SESSION_MANAGER=local/dev-box:/tmp/.ICE-unix/16887 
DEBUG(+): CsmManager: setting client store 0x80e49ea20
DEBUG(+): fill: *** Getting session 'cinnamon'
DEBUG(+): fill: *** Looking if /devbox/.config/cinnamon-session/sessions/cinnamon.session is a valid session file
DEBUG(+): Cannot use session '/devbox/.config/cinnamon-session/sessions/cinnamon.session': non-existing or invalid file.
DEBUG(+): fill: *** Looking if /usr/local/etc/xdg/cinnamon-session/sessions/cinnamon.session is a valid session file
DEBUG(+): Cannot use session '/usr/local/etc/xdg/cinnamon-session/sessions/cinnamon.session': non-existing or invalid file.
DEBUG(+): fill: *** Looking if /etc/xdg/cinnamon-session/sessions/cinnamon.session is a valid session file
DEBUG(+): Cannot use session '/etc/xdg/cinnamon-session/sessions/cinnamon.session': non-existing or invalid file.
DEBUG(+): fill: *** Looking if /usr/local/share/cinnamon-session/sessions/cinnamon.session is a valid session file
DEBUG(+): Cannot use session '/usr/local/share/cinnamon-session/sessions/cinnamon.session': non-existing or invalid file.
devd: check_clients:  dropping disconnected client
devd: check_clients:  dropping disconnected client

Sorry if the log messages wrap. I can create an attachment, if that helps.

So the *real* question now becomes; how do I create the session file?

Thanks!

--Chris
Comment 5 Chris Hutchinson 2016-01-28 20:14:46 UTC
OK. Some searching on the web, provided a hint from linuxmint:


[quote]
hi

the new builds of cinnamon session have a fault that prevents the session from loading,

/usr/share/cinnamon-session/sessions/cinnamon.session

should read like this, as a quick fix

[Cinnamon Session]
Name=Cinnamon
RequiredComponents=cinnamon;cinnamon-settings-daemon;cinnamon-screensaver;nemo-autostart;
DesktopName=GNOME

in a few days will add full fix to debian packages

no longer posting in debian forum as protest to the topic being binned :)

Will post other critical updates here if thats ok?
[/quote]

So exactly *what* was my version supposed to have created?
The example above was from a (debian?) Linux version.

Anyone?

Thanks!

--Chris
Comment 6 Chris Hutchinson 2016-01-28 21:13:12 UTC
OK.
Life is good! It works!

So what was the problem, you ask?

Turns out my upgrade process, while built the package, didn't
actually install it. In other words; all of the cinnamon
packages were built/updated/installed *except* cinnamon-2.4.6_1.txz

Weird. I finally got enough DEBUG info, to find that it
couldn't find 'cinnamon' eg;

WARNING: Unable to find required component 'cinnamon'

So, after searching, and finding *all* the .desktop files but
cinnamon.desktop, I took a chance, and asked pkg about it, and
it exclaimed it wasn't installed. So I told it too, and *presto*

Thanks to anyone that might have been trying to find an answer!

I'm going to close this now.

--Chris