View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008770||VALENTINA SERVER||Prefs Pane||public||2020-04-12 14:45||2020-06-17 07:06|
|Reporter||Beatrix Willius||Assigned To|
|Summary||0008770: Not possible to restart VServer in PrefsPane|
|Description||I changed some properties in Valentina Studio. Then I wanted to restart the server in the PrefsPane. The PrefsPane gets stuck in "starting" and the server isn't running. The shell scripts work. Result of new Catalina security in 10.15.4?|
|Tags||No tags attached.|
Screenshot 2020-04-12 at 16.40.14.png (37,987 bytes)
Screenshot 2020-04-12 at 16.42.03.png (76,322 bytes)
1. Do you rename vServer? (mobile_backup_status_server on the pict above?)
So the problem is - vServer has been started, but pref panel does not show it?
If so - how vServer was started - via pref panel or another way?
2. Send me please your /Library/LaunchDaemons/com.paradigmasoft.vserver_x64.plist
|I tried to restart Valentina Server with the PrefsPane. I just clicked on Stop and then on Start. The server did not start. I usually start Valentina Server with the PrefsPane.|
Yup, that works fine. Or you would have heard me screaming very loudly.
Instead of the small dialog to enter the password there is now a dialog box "Legacy Loader wants to make changes" (see screenshot). That's the reason I think it's a Catalina security problem.
Screenshot 2020-04-13 at 13.16.58.png (27,895 bytes)
Well, let me summarise
1. vServer is able to be started directly (not as a daemon).
2. "Starting" in pref.pane means - plist is loaded, but no working vServer (as described in plist) found in running processes.
No idea for now - it works like a charm on my side.
What have you changed ("I changed some properties in Valentina Studio.") - probably it matters?
Are you using Catalina? Do you see the legacyLoader dialog box?
My installation of vServer was fresh when I saw the problem the first time.
|Yes, I guess it's from Catalina's security improvements. vServer pref.pane is not a dedicated app. It works on behalf of System Preferences.app, which is now "secured" system app (I can not even debug our panel).|
BTW, the dialog you see - it is not something like a Catalina magic. We just stop asking the password in own dialogs and do it now in recommended way - using Apple's Authentication Manager APIs (In other words vServer panel does not know your password anymore).
Using official dialogs is good. A dialog "legacyLoader" likely isn't current API.
I was told to use an XPC service after my authorization code didn't work (https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingXPCServices.html). However, I never tried that because I cheated with AppleScript. Which I need to test again on Catalina.
My AppleScript kludge is still working on Catalina. I don't expect that to work in Catalina times 2.
You still have sudo in your script. Anything that calls the script as it is can't work.
Problem still exists in latest version. I can now see the text and Valentina does something. But the button doesn't change and when clicking it again I get an error message about stopping.
val.png (299,653 bytes)
|2020-04-12 14:45||Beatrix Willius||New Issue|
|2020-04-12 14:45||Beatrix Willius||File Added: Screenshot 2020-04-12 at 16.40.14.png|
|2020-04-12 14:45||Beatrix Willius||File Added: Screenshot 2020-04-12 at 16.42.03.png|
|2020-04-13 09:58||Ivan Smahin||Note Added: 0011210|
|2020-04-13 10:03||Beatrix Willius||Note Added: 0011211|
|2020-04-13 11:20||Beatrix Willius||File Added: Screenshot 2020-04-13 at 13.16.58.png|
|2020-04-13 11:20||Beatrix Willius||Note Added: 0011213|
|2020-04-13 11:21||Ivan Smahin||Note Added: 0011214|
|2020-04-13 11:30||Beatrix Willius||Note Added: 0011215|
|2020-04-13 11:53||Ivan Smahin||Note Added: 0011216|
|2020-04-13 12:00||Ivan Smahin||Note Added: 0011217|
|2020-04-13 12:01||Ivan Smahin||Note Edited: 0011217|
|2020-04-13 12:10||Beatrix Willius||Note Added: 0011218|
|2020-04-14 10:08||Beatrix Willius||Note Added: 0011219|
|2020-06-17 07:06||Beatrix Willius||File Added: val.png|
|2020-06-17 07:06||Beatrix Willius||Note Added: 0011331|