regolith-desktop icon indicating copy to clipboard operation
regolith-desktop copied to clipboard

Regolith still passes --builtin to gnome-session-binary which is not supported anymore.

Open denny-futurice opened this issue 10 months ago • 7 comments

Describe the bug

Regolith will fail to startup using recent builds of the GNOME session package.

It seems the upstream package has obsoleted the --builtin argument and will just hard crash if it is passed (not great migration-proof behavior perhaps...).

This is discussed in the upstream mailing list here in relation to a different desktop environment: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/2060266

To Reproduce

Issue can be observed on Debian/Sid and Regolith-bookworm and Regolith-testing after a full-upgrade on 10th of April 2024.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

following snippet snipped to remove env vars being dumped.

File: .xsession-errors.old

Xsession: X session started for denny at Wed Apr 10 03:08:52 PM EEST 2024
dbus-update-activation-environment: setting USER=denny

** (gnome-session-binary:35043): WARNING **: 15:08:52.454: Unknown option --builtin
X connection to :0 broken (explicit kill or server shutdown).

Configuration file(s) Please attach or mention any customization you've done to configuration files which might have an impact on the bug you are describing. It'll help us determine the root cause of your issue.

Installation Details

  • Regolith Install Type: [PPA]
  • Regolith Version: [e.g. 3.1]
  • PPA url: [default: ppa:regolith-linux/release]
  • Host OS (for PPA): [Debian/Sid]

Additional context N/A

denny-futurice avatar Apr 10 '24 12:04 denny-futurice

Thanks for reporting. Will investigate.

SoumyaRanjanPatnaik avatar Apr 10 '24 23:04 SoumyaRanjanPatnaik

@kgilmer we might have to migrate the session files to systemd.

SoumyaRanjanPatnaik avatar Apr 11 '24 00:04 SoumyaRanjanPatnaik

Seeing this on 24.04 as well. I was able to work around it by removing --builtin from /usr/share/wayland-sessions/regolith-sway.desktop

cjohnston1158 avatar Apr 20 '24 22:04 cjohnston1158

Does the session boot with sway. This change loads gnome for me.

SoumyaRanjanPatnaik avatar Apr 20 '24 23:04 SoumyaRanjanPatnaik

It does.

cjohnston1158 avatar Apr 20 '24 23:04 cjohnston1158

Looks like we are both working on the problem..

https://github.com/regolith-linux/regolith-session/pulls

On Sat, Apr 20, 2024, 4:34 PM Chris Johnston @.***> wrote:

It does.

— Reply to this email directly, view it on GitHub https://github.com/regolith-linux/regolith-desktop/issues/1001#issuecomment-2067814310, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMEE3MZKAFQWNS3G2YUE3Y6L3RZAVCNFSM6AAAAABGAKRL4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXHAYTIMZRGA . You are receiving this because you were mentioned.Message ID: @.***>

kgilmer avatar Apr 21 '24 00:04 kgilmer

Ohh, I didn't know you were working on this either, haha.

SoumyaRanjanPatnaik avatar Apr 21 '24 00:04 SoumyaRanjanPatnaik