Public bug reported:

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

** Affects: gnome-session (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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.

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

Title:
  gnome-session no longer supports --builtin

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to