If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Automatically starting CumulusMX on OXS without password

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
Benpointer
Posts: 21
Joined: Sun Jan 02, 2011 6:44 pm
Weather Station: Davis Vantage Pro2
Operating System: OSX Sierra

Automatically starting CumulusMX on OXS without password

Postby Benpointer » Wed Mar 29, 2017 6:19 pm

Hi, I have just moved over to using CumulusMX on my iMAC following many years of using an old Windows XP laptop (the laptop finally gave up the ghost last week!)

Anyway CumulusMX is working ok on my iMAC but I currently have to launch it manually. I can write a script for launching it at startup but is there anyway I can do that and not have to put in my password each time it launches?

The script I am using is:

#!/bin/bash
sudo mono CumulusMX.exe -lang en-GB

Any suggestions would be appreciated.

Thanks

User avatar
VTHokie74
Posts: 129
Joined: Tue Apr 10, 2012 12:58 am
Weather Station: Davis Vantage Pro 2
Operating System: Rasbian
Location: Ashland, KY

Re: Automatically starting CumulusMX on OXS without password

Postby VTHokie74 » Thu Mar 30, 2017 3:00 am

Can't you set up your iMac to automatically log in to an account?

https://support.apple.com/en-gb/HT201476
Station: Davis Vantage Pro 2/CumulusMX/Raspberry Pi 3

Benpointer
Posts: 21
Joined: Sun Jan 02, 2011 6:44 pm
Weather Station: Davis Vantage Pro2
Operating System: OSX Sierra

Re: Automatically starting CumulusMX on OXS without password

Postby Benpointer » Mon Apr 10, 2017 8:30 am

Thanks for the suggestion, and apologies for the delay in responding...

I don't think automatically logging into my account would help because currently I am already logged into the account when I manually run the "sudo mono CumulusMX.exe -lang en-GB" command but it still asks for a password. :cry:

User avatar
mcrossley
Posts: 4871
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Automatically starting CumulusMX on OXS without password

Postby mcrossley » Mon Apr 10, 2017 12:47 pm

I'm no expert but i think you can either edit your sudoers file via visudo, or use sudo -s with a password file ?

Benpointer
Posts: 21
Joined: Sun Jan 02, 2011 6:44 pm
Weather Station: Davis Vantage Pro2
Operating System: OSX Sierra

Re: Automatically starting CumulusMX on OXS without password

Postby Benpointer » Tue Apr 18, 2017 2:33 pm

Thanks for the suggestion, I will take a look at that... but I have been temporarily side-tracked by my Aercus weather station going pear-shaped and the need to get (yet another!) new station. I feel it might be time for a Davis if I can scrape together the funds :(


Return to “Cumulus MX”

Who is online

Users browsing this forum: 909user and 3 guests