Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Lubuntu has used sddm for all LXQt releases (ie. since Lubuntu 18.10),
and the upgrade from an release that used lightdm/LXDE is unsupported
due to breakage as was warned about in documentation, eg.

https://lubuntu.me/focal-2-released/

"Note, due to the extensive changes required for the shift in desktop
environments, the Lubuntu team does not support upgrading from 18.04 or
below to any greater release. Doing so will result in a broken system.
If you are on 18.04 or below and would like to upgrade, please do a
fresh install."

The error you are describing is a user-created issue by using
unsupported upgrade procedures that were documented as creating issues
later, and this is warned about breakage.  The fresh install would have
prevented this.

As such I've marked this bug report as "opinion".  If you believe I'm in
error, please leave a comment explaining why and the bug report can then
be returned to "New" (you may find it'll then be marked as "Won't Fix")


** Changed in: lightdm (Ubuntu)
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1977683

Title:
  Lubuntu error has_option: command not found / no ssh-agent after
  updating to 22.04

Status in lightdm package in Ubuntu:
  Opinion

Bug description:
  Hi,

  I have updated several machines from Lubuntu 20.04 to Lubuntu 22.04
  with do-release-update -d

  
  On all but one machine this worked well, but one machine, that formerly 
worked without problems, now has no ssh-agent running after login, and the 
~/.xsession-errors shows several xsession files to fail for the same reason:

  /etc/X11/Xsession.d/30x11-common_xresources: Zeile 16: has_option: Befehl 
nicht gefunden
  /etc/X11/Xsession.d/75dbus_dbus-launch: Zeile 9: has_option: Befehl nicht 
gefunden
  /etc/X11/Xsession.d/90x11-common_ssh-agent: Zeile 9: has_option: Befehl nicht 
gefunden

  (german for: has_option: command not found)

  
  Formerly mentioned in bug #1922414 (marked as solved) and its duplicate 
#1940779 , but it isn't solved. 


  
  That's why there is no ssh-agent. 

  I have done some debugging to find, why it works on all but one of my
  machines, and what's the reason.


  Reason:

  has_option is not a command, but a shell function defined in
  /etc/X11/Xsession


  
  On the good machines, the display manager is sddm, which seems to do the job 
well. 

  
  The machine, that fails, is somewhat older and had formerly 18.04 running and 
been updated to 20.04 then. It runs the display manager lightdm. 

  That's the problem:

  
  lightdm runs /usr/bin/lxqt-session

  and /usr/bin/lxqt-session directly opens and executes the scripts in
  /etc/X11/Xsession.d without running /etc/X11/Xsession.

  Therefore, the shell function  has_option    is never defined, but
  used in the scripts, which do fail then.


  Therefore, either lxqt-session needs to be made compatible with
  /etc/X11/Xsession, or the upgrade-procedure 20.04 to 22.04 must
  replace lightdm by sddm.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: lightdm 1.30.0-0ubuntu5
  ProcVersionSignature: Ubuntu 5.15.0-35.36-generic 5.15.35
  Uname: Linux 5.15.0-35-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl icp nvidia_modeset 
nvidia
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: LXQt
  Date: Sun Jun  5 14:48:42 2022
  InstallationDate: Installed on 2018-04-28 (1498 days ago)
  InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
  SourcePackage: lightdm
  UpgradeStatus: Upgraded to jammy on 2022-06-04 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1977683/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to