Preferences Error "Could not load Sharing preference pane" El Capitan - xamarin

Need to use Mac as Xamarin Mac Agent and configure remote login.
Anyone come across this error?

For some reasons, permissions are be changed so you are not able to see some panels. To fix it, you should restart your computer in SafeMode
Safe Mode boot deletes system caches that may help after an OS X upgrade.
Top left corner of your screen click the Apple  > Shut Down.
After your Mac shuts down, wait 10 seconds, then press the power button.
Immediately after you hear the startup tone, hold down the Shift key. You should press the Shift key as soon as possible after you hear the startup tone, but not before.
Release the Shift key when you see the gray Apple logo and progress indicator.
Once you are in Safe Mode, enter the Sharing panel (without changing anything) and then go back to the Apple  menu. From the drop down menu click: Restart.
This should fix the problem. If not, you should try to restore all files permission by using "Repair disk permission" utility. To do this,
open Disk Utility, which is in the Utilities folder of your Applications folder.
Select the startup disk from the list of volumes.
Click the First Aid tab.
To check permissions, click Verify Disk Permissions. To repair permissions, click Repair Disk Permissions.
Disk Utility checks a file's permissions only if the file has a corresponding receipt in /var/db/receipts. The receipt tells Disk Utility what the permissions should be. Not all installers include a receipt with the files they install.
I hope it helps.

Related

Finder App suddenly starts in read only mode (Mac OS)

The finder app on my Mac Mini Server from 2012 with Catalina installed starts in a protected window. When i open drives from the desktop however, the normal window appears. This has been going on a few weeks already. I am not able to pin it to a specific event.
I already deleted the finder preferences file ~/Library/Preferences/com.apple.finder.plist without success after rebooting. Also first aid in the disk utility app on the Macintosh HD drive wasn't helpful at all.
Another thing that i unsuccessfully tried was to set permissions in the Macintosh HD drive to my user account including all subfolders.
Any idea on how this is caused?

Login screen password not working in MacOS bigsur. how to fix it?

While I start mac-mini. I was unable to login into the login screen. It shows the wrong password.
but the password is right and I daily use it.
CPU: Mac mini
OS: Big Sur
I Research and find the solution from the Apple support team. and I saw many people face this problem.
Solution:
Step 1:
Start on your Mac and continue to long press and hold the power button until you see the startup options window. Click the gear/settings icon labeled Options, then click Continue.
Note: If you're asked to select a user you know the password for, select the user, click Next and enter their administrator password.
Step 2:
Then select reinstall macOS from the utility window in macOS recovery, then click Continue and follow the onscreen instructions.
Follow these guidelines during installation:
If the installer asks to unlock your disk, enter the password you use to log in to your Mac.
If the installer can't see your disk or notifies you that it can't install macOS on your computer or volume, you may need to erase your disk first.
If the installer offers you the choice between installing on Macintosh HD or Macintosh HD – Data, choose Macintosh HD.
Allow the installation to complete without putting your Mac to sleep or closing its lid. Your Mac may restart and show a progress bar several times, and the screen may be empty for minutes at a time.
When the installation is complete, your Mac may restart to a setup assistant.
For More information: https://support.apple.com/en-gb/HT204904

Network Link Conditioner Freezes and Wont Start

I have downloaded Hardware IO Tools for Xcode 7.1 from the Apple Developer site and installed it by opening the DMG and then double clicking Network Link Conditioner.prefPane.
I then go to my System Preferences and can see the Network Link Conditioner is there. I can go into it but as soon as I click the switch to turn it on the whole System Preferences freezes up. Also, I noticed that my keyboard seems to stop working...somewhat. I can still do cmd + spacebar and then type in there to search my system but I can't type into the URL field on safari for example.
My Mac: OS X Yosemite v10.10.5
My Xcode: v7.2.1 (7C1002)
By the way, I downloaded the 7.1 version of the Hardware IO Tools as they only have a 7.1 or 7.3 version, there doesn't seem to be a version for 7.2. Maybe that is the issue? I can't currently upgrade to 7.3 as that requires me to upgrade OS X to 10.11 but our company policy does not currently allow for that.
Anybody know how I could fix this?
Could this be caused by the fact that I am not an admin on my machine?
My suspicion was correct, it wouldn't start as it needs to be run as an admin.
If you're not an admin, you need to run a command such as
sudo /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences
or in my case I had to get an admin in the office to do:
su - <admin_username> /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences
These commands will open the System Preferences as an admin user.
I have noticed that when he Network Link Condition is open in the System Preferences, my keyboard stops working in certain areas still. For example, I couldn't type in here whilst the panel was open (even with it turned off) but as soon as I closed the panel I could type again. I will possibly open another question at a later dare about this though.

XCode 6.0 does not open on OS X 10.9.4

I just downloaded XCode_6_beta_6.dmg from the official apple website. However, when prompted to drag the installation to the application folder, it just unarchived the installation but does not install XCode_6_beta_6. When i try to open xcode_6_beta_6 from the applications folder, the new xcode6 beta icon just keeps popping in the application dock and does nothing. How do i overcome this situation so that the new xcode6 beta is installed on my machine?
For some weird reason, apple does not trust this installation and hence does not continue.
Please follow the below instructions to continue with the installation.
Open System Preferences
Open Security and Privacy
Unlock the settings screen if it is not already unlocked.
select "Anywhere" from the "Allow apps downloaded from:" section.
lock and close the preferences screen.
Your installation shall start in a moment!!
Also happened to me. Used Deepak's fix but had an additional strange problem where the Icon would still stay bouncing in the dock. Be patient & wait (for me it took a good 10 minutes!) for a dialogue box to eventually appear saying 'This is an application downloaded from the internet, do you want to open?' Obviously click 'Open'. Odd, considering it's Apple's own app.

Mac OS X Services: enable without user interaction?

I wrote a simple Mac 'Service' for Finder, that executes a command.
Basically: this adds a ContextMenu in Finder.
If I right-click a file in Finder, a menu item pops up. If the user clicks it, it executes my script. (kind of like 'Send to Bluetooth device, ...')
In OS X Leopard (10.5) and earlier, all services are enabled.
In 10.6 (Snow Leopard), Apple changed the behavior, services now have preferences, and can be enabled or disabled by the user. (which is a good thing)
However, I wrote the service, but there seems to be no way to enable it automatically (in our installer).
I tried doing it with Applescript, going to the System Preferences and ticking the checkbox that way, but it requires some accessibility features to be turned on. (off by default).
Is it possible? If so, how?
Or do I need something else to provide Context Menus in Finder.
I tracked File changes on my filesystem while changing the preferences and discovered there was a plist file:
~/Library/Prefrences/pbs.plist
which contains what I need.
If I edit that manually, it seems to work. So, problem solved :)

Resources