Disable Autologin for CM4?

I’ve followed some threads I could find on the topic, but nothing has helped so far. I created my own user, the uconsole would autologin to cpi. Commenting/uncommenting lines in /etc/lightdm/lightdm.conf hasn’t helped. I tried raspi-config but now, the gui doesn’t load at all. I can’t seem to undo the changes I’ve made by running that. Do I actually have to reimage the cm4 to get the gui back?

You could try to ssh into the device remotely and run raspi-config from there.

I can still run raspi-config from the device, but regardless of my selection, I can’t get the GUI to return

prolly should undo whatever you did to the lightdm.conf

I did. Everything was commented before, I put it back that way. I may have to reimage - but then how do I properly turn off autologin?
Reimage sucks because it’s not a lite model :slightly_frowning_face:

Either remove /etc/lightdm/lightdm.conf.d/12-autologin.conf or just comment everything out in that file. Then reboot. Then on the login screen, use the arrow keys to select the user and the password field will show up.

I’ve seen that path come up from time to time when I was looking into this - I don’t have that path. My /etc/lightdm/ path only has keys.conf, lightdm.conf, lightdm-gtk-greeter.conf, and users.conf

are you using the stock firmware, or one of ak-rex’s images?

Because I tested it before posting on my uConsole.

This one:

Specifically the 2nd link on Github that says it comes with Obsidian

Figures. This company can’t keep anything standard. :rofl: No idea then. I can’t use that image, I have the a06. Didn’t think they’d be that different.

At this point it doesn’t seem like it’s a good idea to use the official OS images. They’re probably decent enough to verify the basic hardware works, but the community images are more up to date and functional. And based on posts to this forum, there seems to be a known issue with the display driver on CM4 when using the official image anyway. So there doesn’t seem to be a benefit to using it, unless you want to try to piece together a more functional OS using it for educational purposes, instead of using the work that’s already been done and confirmed by other users. :wink:

I’ve always been told to use the clockwork images on the github. What community images are there, and from where would I find them?

Search is your friend. Stop asking the forum where to find those images. Click on the magnifying glass and type “bookworm”, “arch”, “kali”, “nixos”, or “postmarketos”.

…Did YouTube tell you to download the official images? Or was it the hundreds of lousy articles online?

Unless you’re running an A06 processor. Then you’re kind of stuck with the stock image.

Yeah, guess I should have specified that for the most part community OS releases have been for CM4. But I’m pretty sure some folks have worked on and posted some A06 OS builds as well, or at least documented the tweaking required to whip the official OS into shape, or move drivers over to a more up to date distro. Folks have been working and posting stuff related to R01 as well, though I haven’t followed along too closely since I don’t own one of those.

As mterencelao mentioned, it’s best to search the forums for what you need. Personally, I think a wiki would be more useful (assuming it was maintained), but the forum is what we’ve got, and there’s plenty of good information here, and links to OS downloads, git repos for various software and hardware projects, details and support files for hardware mods, and all kinds of stuff. It’s an active and clever community, and they share a lot.

Personally, I use Rex’s release, which has an up to date kernel:

But there are many more, including this one for Ubuntu (which I haven’t tried):

And others for Arch, Kali, and probably two or three other distros. Every once in a while someone posts a new project for their distro of choice that they’ve got working on the uConsole CM4 hardware.