coreos / fedora-coreos-docs

Documentation for Fedora CoreOS
https://docs.fedoraproject.org/en-US/fedora-coreos/
Other
50 stars 121 forks source link

Tutorial for Enabling autologin not working with VirtualBox #542

Closed dragonbass13 closed 1 year ago

dragonbass13 commented 1 year ago

I was trying to follow the tutorial for enabling the autologin function on a fresh VirtualBox VM. My Ignition file looks exactly the same as what is specified in the tutorial. But, when the VM boots up, it does not autologin as intended, and instead stays at a login prompt. I am doing this from a Macbook Pro running Monterey. If this is a simple fix, I apologize.

Any updates to the documentation to clarify or help my issue would be appreciated. Thanks for all you do!

Screen Shot 2023-05-04 at 2 13 07 AM
bgilbert commented 1 year ago

Just to check, could you post the Ignition config you're using?

dragonbass13 commented 1 year ago
Screen Shot 2023-05-04 at 2 37 31 AM

The only thing that I can think of is that it’s somehow not passing the option for the systemd dropin to autologin the ‘core’ user.

bgilbert commented 1 year ago

serial-getty@ttyS0.service only affects ttyS0, the first serial port, but your screenshot appears to be from the graphical console. To enable autologin on the first graphical virtual console, you'll want getty@tty1.service instead.

dragonbass13 commented 1 year ago

Gotcha. So I would need to change it to something like this, right?

Screen Shot 2023-05-04 at 2 41 19 AM
dragonbass13 commented 1 year ago

That did it! Thanks very much, good sir!