Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

VineRider

macrumors 65816
Original poster
May 24, 2018
1,434
1,282
Does anyone know how to set up unattended startup in macOS? I have a Mac mini that i want to remotely manage via Splashtop. Everything works great until I remotely restart the computer. Splashtop won't load until someone at the machine actually logs in. I have noticed the same behavior on my MacBook Pro.

It seems that if no one logs in after a restart, the machine essentially turns itself off after a couple of minutes. I am sure there must be some setting I am overlooking.

My background is stronger with Windows (only been using a Mac for about a year) and when you restart a Windows computer, it is fully up and all startup items are running once you get the login screen (regardless if anyone is actually logged in or not). With the Mac, it seems it is not actually fully up until someone logs in.

Does anyone know if there is a solution to this?
 
  1. Create a user account with no password.
  2. System Preferences->Users & Groups->Login Options, set Automatic login: to the user account with no password.
 
  1. Create a user account with no password.
  2. System Preferences->Users & Groups->Login Options, set Automatic login: to the user account with no password.
Thanks for the suggestion Taz Mangus, but with FileVault turned on, this option is disabled. It may be that it's just not possible without disabling the security features. For me, security is more important than being able to boot the machine remotely.
 
From what I have been reading about FileVault, nothing else can start Running until the drive is decrypted which requires a user login to happen.

 
Last edited:
  • Like
Reactions: me55 and VineRider
From what I have been reading about FileVault, nothing else can start Running until the drive is decrypted which requires a user login to happen.

Yes, I think you are right. That's good from a security perspective, but bad from an enterprise perspective when you need to remotely reboot a machine and access without someone physically being at the console. I appreciate your research on this, and the link...good info.
 
Yes, I think you are right. That's good from a security perspective, but bad from an enterprise perspective when you need to remotely reboot a machine and access without someone physically being at the console. I appreciate your research on this, and the link...good info.
If you need to reliably access a Mac remotely, you cannot use FileVault. You can manually trigger an authenticated restart, but if the computer restarts itself, it will wait for the disk to be unlocked before it boots.
 
  • Like
Reactions: me55 and VineRider
It looks like there might be a way to remotely restart and auto authenticate FileVault. The linked article references Mojave but might also work for Catalina. The second linked article describes the remote restart of FileVault. It references Lion but it is the concept that is important. The command you want to investigate more:
Code:
sudo fdesetup authrestart

If that works then you use launchd to start Splashtop.



 
Last edited:
It looks like there might be a way to remotely restart and auto authenticate FileVault. The linked article references Mojave but might also work for Catalina. The command you want to investigate more:
Code:
sudo fdesetup authrestart

If that works then you use launchd to start Splashtop.


Thanks - Appreciate the help!!!
 
This command does reboot the system, but it does not solve the issue. Splashtop still will not load until someone logs in (even though in Splashtop settings i have it set to automatically start on reboot). I think the way the mac is designed, this will just not work with filevault turned on. Thanks for all the suggestions!
 
This command does reboot the system, but it does not solve the issue. Splashtop still will not load until someone logs in (even though in Splashtop settings i have it set to automatically start on reboot). I think the way the mac is designed, this will just not work with filevault turned on. Thanks for all the suggestions!

Did you look at launchd to create a daemon that would start Splashtop running at startup? You need to create a launchd script and after the FileVault authentication completes the launchd daemon for Splashtop would execute. This way you won’t need to login to start Splashtop running.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.