Your message dated Sun, 16 Apr 2023 22:28:04 +0200
with message-id <[email protected]>
and subject line kdm has been superseded by sddm
has caused the Debian Bug report #670185,
regarding Facility to disable Autologin with kdm.d files
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 [email protected]
immediately.)
--
670185: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670185
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kde-workspace
Version: 4:4.7.4-2
Severity: wishlist
Tags: patch
Currently it's only possible to activate auto login with a configuration
snippet in /etc/default/kdm.d but it's not possible to deactivate auto
login in the same way. This would be convenient for a package I'm
developing which is an addition to Debian Live to allow users to plug in
their Debian Live system, have it automatically mounted as the home
directory and then login into the system with their account. For this to
work I would like to have a way to deactivate the autologin that was
activated by live-config.
The attached patch implements this with a new variable AUTOLOGINENABLE
but leaves the semantics as they are currently in the absence of this
variable.
Thanks for considering this patch.
Gaudenz
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (800, 'testing'), (700, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
commit 83ea84a3b4894ac278bcb1bb5cb0268b5a437a9b
Author: Gaudenz Steinlin <[email protected]>
Date: Mon Apr 23 22:14:12 2012 +0200
Facility to disable Autologin with kdm.d files
Enable setting AUTOLOGINENABLE="false" to disable auto login with a file
in /etc/default/kdm.d.
diff --git a/debian/kdm.init b/debian/kdm.init
index 9475ed4..1312af7 100644
--- a/debian/kdm.init
+++ b/debian/kdm.init
@@ -86,10 +86,9 @@ setup_config () {
sed -i "s|@@@ToBeReplacedByDesktopBase@@@|$DEFAULT_KDM_THEME|" ${KDMCFG}
# autologin overrides are useful for live debian environment
- if [ -n "$AUTOLOGINUSER" ]; then
- sed -i "s|^#\?AutoLoginEnable=.*|AutoLoginEnable=true|" $KDMCFG
- sed -i "s|^#\?AutoLoginUser=.*|AutoLoginUser=$AUTOLOGINUSER|" $KDMCFG
- fi
+ [ -n "$AUTOLOGINENABLE" ] && sed -i "s|^#\?AutoLoginEnable=.*|AutoLoginEnable=$AUTOLOGINENABLE|" $KDMCFG
+ [ -z "$AUTOLOGINENABLE" -a -n "$AUTOLOGINUSER" ] && sed -i "s|^#\?AutoLoginEnable=.*|AutoLoginEnable=true|" $KDMCFG
+ [ -n "$AUTOLOGINUSER" ] && sed -i "s|^#\?AutoLoginUser=.*|AutoLoginUser=$AUTOLOGINUSER|" $KDMCFG
[ -n "$AUTOLOGINDELAY" ] && sed -i "s|^#\?AutoLoginDelay=.*|AutoLoginDelay=$AUTOLOGINDELAY|" $KDMCFG
[ -n "$AUTOLOGINAGAIN" ] && sed -i "s|^#\?AutoLoginAgain=.*|AutoLoginAgain=$AUTOLOGINAGAIN|" $KDMCFG
[ -n "$AUTOLOGINLOCKED" ] && sed -i "s|^#\?AutoLoginLocked=.*|AutoLoginLocked=$AUTOLOGINLOCKED|" $KDMCFG
--- End Message ---
--- Begin Message ---
Version: 4:4.11.22-3+rm
kdm was last released with Debian 8 (jessie) in April 2015
and was removed from the Debian archive afterwards.
It has been superseded by sddm.
See https://bugs.debian.org/803635 for details on the removal.
I'm closing the remaining bug reports now.
Andreas
--- End Message ---