Ubuntu Studio still asks for a password upon bootup even when autologin is selected during installation

Bug #1984136 reported by Aaron Rainbolt
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
calamares-settings-ubuntu (Ubuntu)
Triaged
Medium
Erich Eickmeyer
Jammy
Triaged
Medium
Unassigned
Kinetic
Won't Fix
Medium
Erich Eickmeyer
Lunar
Won't Fix
Medium
Erich Eickmeyer

Bug Description

NOTICE: I do not know if this is actually a bug with calamares-settings-ubuntu. It's a possible candidate for the bug's source, so I'm filing this bug against it so I can report it on the QA tracker, but it may very well be in a totally different package.

Hardware: HP Z220 SFF Workstation, 128 GB SSD, 32 GB RAM, 3rd or 4th gen Intel Xeon, UEFI, Secure Boot enabled, installed with encryption.

Expected result: If autologin is enabled at install time, the system should not request a user account password upon bootup but should log into the main user account automatically.

Actual result: A user account password is required even when autologin is enabled at install time on Ubuntu Studio.

Steps to reproduce:

1: Download the latest Ubuntu Studio 22.04.1 daily ISO and flash it to a USB drive.
2: Boot the ISO on physical hardware.
3: Install Ubuntu Studio with your desired settings (I used full disk installation with encryption enabled, no Internet access during installation, however I've also seen this bug with a full disk installation with encryption disabled and Internet access available during installation.)
4: Ensure that you enable autologin when you are entering your user account details.
5: When the installation is complete, reboot into the newly installed system. You will be asked for your user password despite having enabled autologin.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

This bug is not a regression in 22.04.1, it also occurs in 22.04.

tags: added: autologin jammy ubuntustudio
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1984136

tags: added: iso-testing
Revision history for this message
Leó Kolbeinsson (leok) wrote :

Tested Lubuntu Jammy Daily ISO 09-08-2022 trying to reproduce bug.

Test: AWOW NY41 – Int.Cel. J4125, 8GB, 128GB SSD,Intel UHD Graphics 600Dual Band WiFi,Ethernet,BT5.1
Testcase:UEFI+secure boot,encryption,full disk with swap file,Internet and auto-login after install
Looking for bug 1984136 which occurred in Ubuntu Studio (also using calamares installer)
Reboot,enter passphrase,system logon -auto,full disk utilized -/dev/sda2 is LUKS encrypted - 512m swap file ,run Firefox and stream media - all good

Unable to reproduce in Lubuntu.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in calamares-settings-ubuntu (Ubuntu):
status: New → Confirmed
Revision history for this message
Leó Kolbeinsson (leok) wrote :

Ran test this time with Studio Jammy daily ISO 09-08-2022 same machine as in comment #3 and can confirm the bug.

Auto-login after install - failed and had to enter password to access desktop as in original bug report.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Per my investigation, this seems to be VERY complicated.

KDE Plasma writes its sddm settings, including autologin settings, to /etc/sddm.conf.d/kde_settings.conf
As far as I can tell, sddm.conf is left blank, but I don't know what is writing it as 'dpkg -S' is silent about it.

As it is, despite https://github.com/calamares/calamares/issues/1757, the code was never changed in calamares to allow it to point it to write to a different file *other than* /etc/sddm.conf, therefore it's hard-coded.

It *may* be possible to symlink /etc/sddm.conf -> /etc/sddm.conf.d/kde_settings.conf for an Ubuntu Studio installation prior to other sequences, but this may not be without risks. This may allow for calamares to write to the file properly to allow for autologin.

As it is, this will need testing on Kinetic prior to fixing in Jammy. Please test in Kinetic and report back.

Changed in calamares-settings-ubuntu (Ubuntu Kinetic):
status: Confirmed → Incomplete
Changed in calamares-settings-ubuntu (Ubuntu Jammy):
importance: Undecided → Medium
Changed in calamares-settings-ubuntu (Ubuntu Kinetic):
importance: Undecided → Medium
assignee: nobody → Erich Eickmeyer  (eeickmeyer)
Changed in calamares-settings-ubuntu (Ubuntu Jammy):
assignee: nobody → Erich Eickmeyer  (eeickmeyer)
assignee: Erich Eickmeyer  (eeickmeyer) → nobody
status: New → Triaged
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

This bug also affect Ubuntu Studio Kinetic, as tested on a GNOME Boxes VM with SeaBIOS.

tags: added: kinetic
Changed in calamares-settings-ubuntu (Ubuntu Kinetic):
status: Incomplete → Triaged
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Ubuntu 22.10 (Kinetic Kudu) has reached end of life, so this bug will not be fixed for that specific release.

Changed in calamares-settings-ubuntu (Ubuntu Kinetic):
status: Triaged → Won't Fix
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Unfortunately, this cannot be fixed for Lunar since Lunar will not have a point release and this is for the installer.

Changed in calamares-settings-ubuntu (Ubuntu Lunar):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.