Skip to content
Setting up to start on boot from command line?
Got a problem with Viscosity or need help? Ask here!
- Posts: 1
- Joined: Thu Sep 27, 2018 1:27 pm
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.
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
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
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts
Page 1 of 1