@vanvugt, it's `unity-session` shipping out
`/usr/lib/systemd/user/gnome-session.service` which is part of `gnome-
session`:

| $ dpkg-query -S /usr/lib/systemd/user/gnome-session.service
| unity-session: /usr/lib/systemd/user/gnome-session.service


$ chdist apt-get noble source unity-session
Reading package lists... Done
Picking 'gnome-session' as source package instead of 'unity-session'
NOTICE: 'gnome-session' packaging is maintained in the 'Git' version control 
system at:
https://salsa.debian.org/gnome-team/gnome-session.git -b ubuntu/master
Please use:
git clone https://salsa.debian.org/gnome-team/gnome-session.git -b ubuntu/master
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 572 kB of source archives.
Get:1 http://azure.archive.ubuntu.com/ubuntu noble/main gnome-session 
46.0-1ubuntu2 (dsc) [3,067 B]
Get:2 http://azure.archive.ubuntu.com/ubuntu noble/main gnome-session 
46.0-1ubuntu2 (tar) [484 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu noble/main gnome-session 
46.0-1ubuntu2 (diff) [85.0 kB]
Fetched 572 kB in 3s (225 kB/s)
dpkg-source: info: extracting gnome-session in gnome-session-46.0
dpkg-source: info: unpacking gnome-session_46.0.orig.tar.xz
dpkg-source: info: unpacking gnome-session_46.0-1ubuntu2.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 
debian/Revert-main-Remove-GNOME_DESKTOP_SESSION_ID-envvar.patch
dpkg-source: info: applying ubuntu/support_autostart_delay.patch
dpkg-source: info: applying ubuntu/ubuntu-sessions.patch
dpkg-source: info: applying ubuntu/remove_session_saving_from_gui.patch
dpkg-source: info: applying ubuntu/add_sessionmigration.patch
dpkg-source: info: applying ubuntu/dbus_request_shutdown.patch
dpkg-source: info: applying ubuntu/ignore_gsettings_region.patch
dpkg-source: info: applying revert_remove_gnome_session_properties.patch


[hloeung@dharkan gnome-session-46.0]$ grep builtin . -r --exclude-dir po
./debian/changelog:    - Pass --builtin to gnome-session to fix broken login 
for Unity
./debian/changelog:    + debian/55gnome-session_gnomerc: Use shell builtins 
instead of external
./debian/data/gnome-session.service:        exec gnome-session --builtin 
--session=$DESKTOP_SESSION --disable-acceleration-check || \
./debian/data/gnome-session.service:        exec gnome-session --builtin 
--session=$DESKTOP_SESSION'

** Changed in: ubuntu
       Status: Incomplete => New

** Package changed: ubuntu => gnome-session (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/2060266

Title:
  gnome-session no longer supports --builtin

Status in gnome-session package in Ubuntu:
  New

Bug description:
  Hi,

  `gnome-session.service` has the following:

  | [Service]
  | ExecStart=/bin/sh -exc '[ "$DESKTOP_SESSION" != "gnome-classic" ] || export 
| GNOME_SHELL_SESSION_MODE=classic; \
  |     export GNOME_SESSION_XDG_SESSION_PATH=${XDG_SESSION_PATH}; \
  |     [ "$DESKTOP_SESSION" = gnome-flashback-metacity ] && \
  |         exec gnome-session --builtin --session=$DESKTOP_SESSION 
--disable-acceleration-check || \
  |         exec gnome-session --builtin --session=$DESKTOP_SESSION'

  Unfortunately, the latest `gnome-session` no longer supports
  `--builtin`. This causes login failures, in particular for me, using
  Unity, I get logged back out from the unity greeter.

  | $ apt-cache policy gnome-session-bin
  | gnome-session-bin:
  |   Installed: 46.0-1ubuntu2
  |   Candidate: 46.0-1ubuntu2
  |   Version table:
  |  *** 46.0-1ubuntu2 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu noble/main amd64 
Packages
  |         100 /var/lib/dpkg/status
  |      45.0-1ubuntu1 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu noble-updates/main 
amd64 Packages

  | $ gnome-session --builtin
  |
  | ** (gnome-session-binary:5602): WARNING **: 15:35:22.156: Unknown option 
--builtin

  Removing `--builtin` from `/usr/lib/systemd/user/gnome-
  session.service` let's me log in.

  With that though, I was not able to input text in chromium (installed
  via the snap).

  Downgrading `gnome-session-bin`, `gnome-session-common`, and `unity-
  session` back to 45.0-1ubuntu1 restores things for me:

  | [hloeung@dharkan tmp]$ apt-cache policy gnome-session-bin
  | gnome-session-bin:
  |   Installed: 45.0-1ubuntu1
  |   Candidate: 46.0-1ubuntu2
  |   Version table:
  |      46.0-1ubuntu2 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu noble/main amd64 
Packages
  |  *** 45.0-1ubuntu1 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu noble-updates/main 
amd64 Packages
  |         100 /var/lib/dpkg/status
  | [hloeung@dharkan tmp]$ apt-cache policy gnome-session-common
  | gnome-session-common:
  |   Installed: 45.0-1ubuntu1
  |   Candidate: 46.0-1ubuntu2
  |   Version table:
  |      46.0-1ubuntu2 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu noble/main amd64 
Packages
  |  *** 45.0-1ubuntu1 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu noble-updates/main 
amd64 Packages
  |         100 /var/lib/dpkg/status
  | [hloeung@dharkan tmp]$ apt-cache policy unity-session
  | unity-session:
  |   Installed: 45.0-1ubuntu1
  |   Candidate: 46.0-1ubuntu2
  |   Version table:
  |      46.0-1ubuntu2 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu noble/universe amd64 
Packages
  |  *** 45.0-1ubuntu1 500
  |         500 http://haw-test.archive.ubuntu.com/ubuntu 
noble-updates/universe amd64 Packages
  |         100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/2060266/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to