Can't enable auto login after shrink
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.
That does not sound related to PiShrink? Do you have any more details or logs on the issue that might help track it down?
I have only this trouble with bookworm, i need to chance the password afain in the rasp-config before it works
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.
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.
I hit this when trying to use pishrink. I tried the -s option and it didn't help.
I'm running pishrink on a pi5 under rasbpian bookworm.
The image I'm shrinking is a Wayland based Bookworm Raspbian image, 64 bit.
Autologin is enabled before shrinking, however after shrinking and writing the image I am presented with the autologin prompt.
Edit..apologies...I just found out that autologin is failing when using dd to shrink the image.....this isn't pishrink at all, but something..else.
First time using pishrink and I've just experienced this too.
sudo dd if=/dev/sdd of=pistation.img bs=1M status=progress
sudo pishrink.sh -z pistation.img pistation-shrink.img
We're going to clone using the "pre-shrink" image to see if the original image is the cause and will report back.
We're going to clone using the "pre-shrink" image to see if the original image is the cause and will report back.
We have now installed a new unit using the "pre-shrink" image and everything boots to the desktop automatically as expected.
So we can only assume that pishrink is causing some issue.
Note that with the pishrink version, the first boot presented the text login prompt. But when we just rebooted (without changing anything), the desktop appeared as normal.
So not a deal breaker, but would be nice to have it fixed 👍