[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#921921: marked as done (live-config: Buster Live LXQt does not autologin)



Your message dated Mon, 11 Mar 2019 13:20:33 +0000
with message-id <E1h3Kr3-0002NO-F5@fasolo.debian.org>
and subject line Bug#921921: fixed in live-config 5.20190312
has caused the Debian Bug report #921921,
regarding live-config: Buster Live LXQt does not autologin
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
921921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921921
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-config
Version: 5.20180224
Severity: normal
Tags: patch

Live Systems Maintainers,

Buster Live LXQt does not autologin.

journalctl -p2 says:
	sddm[889]: Unable to find autologin session entry "plasma.desktop"

/etc/sddm.conf:
	[Autologin]
	User=user
	Session=plasma.desktop

This is correct for KDE, but for LXQt it should be:
	[Autologin]
	User=user
	Session=lxqt.desktop

An *untested* patch is attached which sets the Session based on
which alternative /usr/bin/x-session-manager links to.

Thank you!
Daniel Lewart
--- a/components/0085-sddm	2018-11-25 10:08:19.000000000 -0600
+++ b/components/0085-sddm	2019-02-10 00:00:00.000000000 -0600
@@ -62,10 +62,21 @@
 	# autologin
 	if [ -n "${LIVE_USERNAME}" ]
 	then
+		LIVE_X_SESSION_MANAGER=$(realpath /usr/bin/x-session-manager)
+		case "${LIVE_X_SESSION_MANAGER}" in
+			/usr/bin/startkde)
+				LIVE_SESSION="plasma.desktop"
+				;;
+
+			/usr/bin/startlxqt)
+				LIVE_SESSION="lxqt.desktop"
+				;;
+		esac
+
 		cat > /etc/sddm.conf << EOF
 [Autologin]
 User=${LIVE_USERNAME}
-Session=plasma.desktop
+Session=${LIVE_SESSION}
 EOF
 	fi
 

--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 5.20190312

We believe that the bug you reported is fixed in the latest version of
live-config, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 921921@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonathan Carter <jcc@debian.org> (supplier of updated live-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 11 Mar 2019 12:15:09 +0000
Source: live-config
Binary: live-config live-config-doc live-config-systemd live-config-sysvinit
Architecture: source all
Version: 5.20190312
Distribution: unstable
Urgency: medium
Maintainer: Live Systems Maintainers <debian-live@lists.debian.org>
Changed-By: Jonathan Carter <jcc@debian.org>
Description:
 live-config - Live System Configuration Components
 live-config-doc - Live System Configuration Components (documentation)
 live-config-systemd - Live System Configuration Components (systemd backend)
 live-config-sysvinit - Live System Configuration Components (sysvinit backend)
Closes: 921921
Changes:
 live-config (5.20190312) unstable; urgency=medium
 .
   * Update compat to debhelper-compat (= 12)
     - Use dh_missing instead of 'dh_install --fail-missing'
     - Rename no-restart-on-upgrade to no-stop-on-upgrade
   * Upgrade standards version to 4.3.0
   * Add self to uploaders
   * Integrate patch to select desktop environments for SDDM
     (Closes: #921921)
Checksums-Sha1:
 355e772d229f4e1560cab2bae0f2fa9a2a2452d1 2013 live-config_5.20190312.dsc
 3f5d2f80463ef4056b4031b2cd5770a0181e5f1f 75980 live-config_5.20190312.tar.xz
 b171e24bcfaac3dfd8139de18267277e6fc36cd2 53120 live-config-doc_5.20190312_all.deb
 1b36a3abd65146ebdd87163a1cb73a663edde2e6 23032 live-config-systemd_5.20190312_all.deb
 d4909bc2dcfc612caa8cd1f1dce9dbab37658e5c 22828 live-config-sysvinit_5.20190312_all.deb
 0fca930070484945929191292a9946dfe7fa5dd2 33600 live-config_5.20190312_all.deb
 5e03a321c20dcffd0183aa63a0c3b6ab044bdcf1 6598 live-config_5.20190312_amd64.buildinfo
Checksums-Sha256:
 76e0086e653b82da5efd718a6b1cd6b7da41a55bb54e646fa00e2580a1825b9c 2013 live-config_5.20190312.dsc
 df60ea86cf53d621c387dff6f17bbe66f47da6f8ae13e031207aad1f9f45f569 75980 live-config_5.20190312.tar.xz
 a7c6e5dab9282c403848d65571cdcd14e9f2ea7dfad390282cd7edf78a504e6c 53120 live-config-doc_5.20190312_all.deb
 b42b98180dc7c0ae92cd6ac1267fc17c8bb255337c74a849a69dd1cb26ed3bd6 23032 live-config-systemd_5.20190312_all.deb
 b5d604766960d84d4fb6464a6f15a58542cabf4cc6d8e21989f31614a1424e58 22828 live-config-sysvinit_5.20190312_all.deb
 ba67e960d1c5ee4d906eb819ab67429d7ee127e4990f66239d41724dcecec33e 33600 live-config_5.20190312_all.deb
 5622c5f3c384345a480dbc9c72e655f7e0a08a1ab437e1537369ca6410d27797 6598 live-config_5.20190312_amd64.buildinfo
Files:
 08d11e46f12fbc47b1af42fd69542fd0 2013 misc optional live-config_5.20190312.dsc
 466fa7dd01bd3d69d182a846482b4b54 75980 misc optional live-config_5.20190312.tar.xz
 9b2c8493ec919c86d2dfbb21d32ac0b7 53120 doc optional live-config-doc_5.20190312_all.deb
 92b3fae9c8255adf6f7957632d04f4a4 23032 misc optional live-config-systemd_5.20190312_all.deb
 f75d092ce723746f0a3e81709ae00b8a 22828 misc optional live-config-sysvinit_5.20190312_all.deb
 11a373a971b820146093d9bfdabb598b 33600 misc optional live-config_5.20190312_all.deb
 a2f30c4e759568ee98e563afc2aa3248 6598 misc optional live-config_5.20190312_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEExyA8CpIGcL+U8AuxsB0acqyNyaEFAlyGXMYPHGpjY0BkZWJp
YW4ub3JnAAoJELAdGnKsjcmhm5AP/08emgwjhPITiSbbpDyvhlJtnL7jWVsExb0c
0lE2+x9Ky1TkBRQO1R0uQx4VI8PpFTgDXyp+f57B1nhLHy7aNFgiF+Y6OtrzKmtM
tPsX2bUewDvC8X0GpgYXmRcWTUL0JX4al1joltbPVwf7Irp/hbuNxBIbuYzXymSC
wqSfYmlVbCtLCdRAyTAnibZTQG/zjEYvbw5rYnot95zmaIuG2ZCmlssIZozYjEFz
xameimz0BtSPfmTEOZHKQ/ORWojVOzd9Mh2F+/TbNK6aWzatfxWTrgPNOlo0Km3J
hxDFs2lRoqX59rYno/sF+2bnamzfsDDByiYhEM7e7QyXD58+bqHSm+o3lOPHaYvQ
yj2q1/uClwl3c3VxSCKN/k6k/Fl+JPKTGiAkfoQD+2CbvvTClWuCg5IAKLYT8qhv
Iv9qyUnSVuXSj9ugSPNiZwG59iuausOmif5hD2xqJ/Yn9p0LxyuHuNXpdwlHDZTt
nwwVhAo1xTmj1U+lMsyQFAkYmN9q+2DOCsM2irZpsDToVfARp0TqJjsBLUzpvN35
2zRrW0YrJeMRK01N6eOvvhoJHH42eqBFyXP2o+c69/jukCra07yealmIkRGgWWJM
J/Q7Mp2s0VPpgzx0zwsS2hOhwZY2D4oxVmar6xSTmVZoubQ2hxok4ApQJFgX/5Jw
taWFZQ1s
=6Jw8
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: