Drewsif / PiShrink

Make your pi images smaller!
MIT License
3.47k stars 642 forks source link

Can't enable auto login after shrink #284

Open orbian opened 4 weeks ago

orbian commented 4 weeks ago

I used the shrink script on my image file I created with Win32DiskImager. I flashed a new card with the shrunk image but now I can't enable auto login for the desktop. I enabled it in the settings, but it is ignored now and always brings up a login screen when starting the desktop.

Drewsif commented 3 weeks ago

That does not sound related to PiShrink? Do you have any more details or logs on the issue that might help track it down?

The-Exterminator commented 3 weeks ago

I have only this trouble with bookworm, i need to chance the password afain in the rasp-config before it works

orbian commented 6 days ago

What does PiShrink change when it makes the image? The original image booted fairly quickly to desktop. The shrunk image seems to be waiting for something on boot and the auto-login times out and rolls into a login screen for the desktop. I thought it might be related to the disk space expansion the I believe PiShrink turns on. But that seem to have completed successfully.

Drewsif commented 5 days ago

The expansion happens on the first boot and should trigger a reboot. Does it work as excepted with the auto expansion turned off? I'm not sure how auto login works under the hood well enough to know if it could break something, but I'll try and see if I can replicate the issue.