Monday 12 October 2015

Removing unwanted startup applications from OSX with launchd e.g.: Citrix Receiver

After installing Citrix Receiver it would startup without asking on boot / login.  Here is how I removed it:

Locate all launchd items with the following command
launchctl list | grep -v -e 'com.apple'

Output:
PID Status Label
597 0 com.microsoft.Outlook.75860
525 0 com.microsoft.autoupdate2.59672
522 0 com.microsoft.autoupdate.fba.194004
615 0 com.microsoft.alerts.daemon.52004
599 0 com.microsoft.outlook.databasedaemon.69044
520 0 com.microsoft.Word.68476
294 0 com.citrix.ServiceRecords
290 0 com.citrix.ReceiverHelper
- 0 com.citrix.AuthManager_Mac

Remove the unwanted startup items e.g.:
sudo launchctl remove com.citrix.ServiceRecords


Additional Info:
Go to the following directory
/Library/LaunchAgents

Remove the unwanted startup items e.g.:
rm com.citrix.*