If you’re running an always-on AI assistant or home automation server on a Mac mini, you’ve probably hit this frustrating situation: the power goes out, the Mac reboots, and your AI is completely unreachable — because macOS is sitting at the login screen, waiting for you.
This guide walks through exactly how to fix that: enable auto-login on macOS so that after any power cycle, your Mac logs in automatically and your services start right up.
Why This Happens
macOS uses LaunchAgents to start user-level services automatically. The catch: LaunchAgents only run after a user logs in. If the Mac is stuck at the login screen, nothing starts.
This is intentional behavior for security — but for a home server or headless Mac mini, it’s just an obstacle.
Step 1: Check if FileVault is Enabled
FileVault is macOS’s full-disk encryption. It’s a great security feature, but it blocks auto-login because the disk must be decrypted using your password before anything can start.
Check the status in Terminal:
fdesetup status
You’ll see either:
FileVault is On.— you need to disable it firstFileVault is Off.— you can skip to Step 2
Step 2: Disable FileVault (If Needed)
If FileVault is on and you want auto-login:
- Open System Settings
- Go to Privacy & Security
- Scroll down to FileVault
- Click Turn Off…
- Follow the prompts and restart
⚠️ Security note: Disabling FileVault means your disk is no longer encrypted. For a Mac mini sitting at home behind a locked door, this is usually an acceptable tradeoff. For a laptop or shared environment, think carefully.
Decryption takes some time depending on disk size. You can continue using your Mac while it decrypts in the background.
Step 3: Enable Auto-Login
Once FileVault is off:
- Open System Settings
- Go to General → Users & Groups
- Find Automatically log in as (or Auto login dropdown, depending on your macOS version)
- Select your user account
- Enter your login password when prompted
- Click OK
That’s it. On the next reboot or power cycle, macOS will automatically log in with your account — no keyboard required.
Step 4: Verify Your Services Auto-Start
If you’re using OpenClaw (or any other LaunchAgent-based service), it should already be configured to start on login. Verify by checking its status after a reboot:
openclaw status
Or for other LaunchAgents:
launchctl list | grep <your-service-name>
Bonus: What About Remote Access?
If you want to manage your Mac remotely (even before auto-login, or as a fallback), consider enabling:
- Remote Login (SSH): System Settings → General → Sharing → Remote Login
- Screen Sharing (VNC): System Settings → General → Sharing → Screen Sharing
With SSH and auto-login both set up, you’ll have maximum flexibility — the Mac starts services automatically, and you can still reach it remotely if anything goes wrong.
Summary
| Step | Action |
|---|---|
| 1 | Check FileVault status: fdesetup status |
| 2 | Disable FileVault if it’s on (Privacy & Security settings) |
| 3 | Enable auto-login in Users & Groups settings |
| 4 | Verify services start correctly after reboot |
Once done, plugging in your Mac mini is all it takes. Your AI assistant will be up and running within a minute or two — no monitor, no keyboard, no manual login needed.
Photo by Emile Perron on Unsplash