SparkLabs Forum.

Community Help.


Setting up to start on boot from command line?

Hi,

My Mac Mini now is "headless" so I'd like to set it up to start the VPN as soon as it boots and keep it open all the time.
Also because it doesn't have display (at least it'll take me extra effort to connect to its display on a regular basis), I'd like to set this up through command line (I can access it via ssh).

The VPN is already configured for now from the time it used to have a display, all I need is a way to make it reconnect every time it boots or the connection drops.

Is this possible?

Thanks.
Hi amosshapira,

I'm afraid Viscosity can't run without a logged in user. What you'd need to do is to set macOS to auto-login a user under System Preferences->Users & Groups->Login Options (I'd also recommend having the screen lock on a short idle time as an added security precaution for remote VNC/screen-sharing access), and then have Viscosity's "Start Viscosity at Login" option enabled.

You can then enable the "Connect when Viscosity opens" option for your connection/s, and ensure the "Automatically reconnect if disconnected" checkbox is enabled.

Cheers,
James
2 posts Page 1 of 1

Copyright © 2016 SparkLabs Pty Ltd. All Rights Reserved. Privacy Policy