MacOS – How to do with the X11 Security folder after upgrade to Catalina

catalinamacosx11

I updated my mac to 10.15 Catalina recently.
After update, I notice a Security Folder land on my Desktop.

I moved it to trash but I can't seem to delete it.

I've been stuck with this file in my trash for a week now.

enter image description here

Every-time, I tried, I got this

enter image description here

How do I safely get rid of it ?

Best Answer

I am surprised that no one has answered it.

If XQuartz was installed prior to installing Catalina then this X11 folder will exist. Uninstall your version of XQuartz using this gist (ideally before upgrading macOS). However, you have already upgraded to Catalina so the X11 shortcut folder can't be deleted as it appears in your desktop as a relocated item. If you want to know more, you can check the pdf folder too.

You can find the Relocated Items folder in the Shared folder within the User folder. The PDF document in the Relocated Items folder explains what to do with files placed in this folder.

Here is a solution that you can do on your side:

  1. Reboot and go to Cmd+R recovery mode
  2. disable SIP by csrutil disable
  3. Reboot to normal mode and delete that folder, empty trash
  4. Reboot and go to Cmd+R recovery mode
  5. re-enable SIP by csrutil enable
  6. Reboot to normal mode