Bug 1750025

Summary: gnome-shell also starts in (and breaks) Pantheon session
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: pantheon-session-settingsAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bberg, caillon+fedoraproject, decathorpe, fmuellner, gnome-sig, jadahl, john.j5live, mclasen, otaylor, philip.wyett, rhughes, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pantheon-session-settings-31.0-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-06 13:44:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabio Valentini 2019-09-07 13:49:09 UTC
It looks like with the systemd-user-sessionization of some GNOME session components, it now happens that gnome-shell is also started in the Pantheon session (which obviously breaks things).

Pantheon also uses gnome-session, with "gnome-session --session=pantheon" in the xsession file, and a "pantheon.session" file for gnome-session.

How can I prevent gnome-shell from starting in Pantheon?

Comment 1 Fabio Valentini 2019-10-27 15:01:51 UTC
A bit more details:

Pantheon requires gnome-session-xsession to work, and gnome-session-xsession Requires: gnome-shell. So I can't just conflict with gnome-shell as a workaround (even though I guess most users of Pantheon on fedora do use it alongside GNOME, so that's not a real solution either).

So I don't see any solutions or workarounds for this other than to fork old versions of both gnome-session -> pantheon-session and gnome-settings-daemon -> pantheon-settings-daemon - which is not a sustainable solution for a one-man-show. I guess upstream Pantheon will run into the same issue in a few years as well, once they switch to ubuntu 20.04 LTS as a base, but that's not going to help me for fedora 31.

Comment 2 Jonas Ã…dahl 2019-10-28 08:18:51 UTC
Moved to gnome-session since gnome-shell doesn't start itself. CC:ed Benjamin as I believe he is probably most knowledgeable about this area.

Comment 3 Benjamin Berg 2019-10-28 13:13:59 UTC
Either pantheon session needs to use systemd properly (i.e. provide the relevant targets) or it needs to start the /usr/bin/gnome-session script with --builtin passed to it.

Comment 4 Fabio Valentini 2019-10-28 21:52:31 UTC
Using --builtin totally solved this issue for now. Thanks so much!

Comment 5 Fedora Update System 2019-10-28 22:15:13 UTC
FEDORA-2019-e181d684aa has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e181d684aa

Comment 6 Fedora Update System 2019-10-29 04:29:10 UTC
pantheon-session-settings-31.0-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e181d684aa

Comment 7 Fedora Update System 2019-11-06 13:44:59 UTC
pantheon-session-settings-31.0-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.