Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address

The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Cannot delete shortcut in 'Relocated files' (X11R6)

Hey community,


I can't delete the folder that was created on the desktop when updating to macOS catalina..


The folder contains the shortcut X11R6 that goes to /X11/ : share and var

When deleting the trash, this message comes up:


Mac Pro

Posted on Oct 9, 2019 9:56 AM

Reply
Question marked as Best reply

Posted on Oct 28, 2019 3:53 AM

Hey there,


I was having a similar issue being unable to delete the X11 folder in my trash because it "Can't be modified or deleted because it's required by macOS"


I was able to get around this and delete the folder by doing the following, keep in mind it'll require to turn your computer off so you might want to write down these instructions ahead of time.


  1. Place the alias folder into the trash
  2. Restart your computer in Recovery Mode (by holding CMD-R as it turns on)
  3. You'll see a page that says 'Examining Volumes', be patient as it can take a couple of minutes to complete this process.
  4. Once it does it's thing, you should see the users on your computer show up. Select your user, hit next and enter your password.
  5. It'll show a page with 'macOS utilities' options in the middle of the screen, ignore these and click on "Utilities" on the menu bar at the top of the screen
  6. Select terminal, this'll open a terminal window on your screen.
  7. Enter the following code and press enter: csrutil disable
  8. It should come up with a message saying Successfully enabled System Integrity Protection, at this point you can now restart your computer normally.
  9. Open your bin and empty it, you should now get no error message preventing you from doing so. Congratulations, problem solved!
  10. Very important, once the bin has been emptied, follow the earlier instructions to restart your computer in Recovery Mode (CMD-R), open the terminal window again and enter: csrutil enable
  11. It'll come up with the success message again once you press enter, you can now restart the computer again normally.


Hope this helps! It's important to re-enable the System Integrity Protection once you delete the alias so you don't accidentally delete genuinely integral files in the future.

Similar questions

6 replies
Question marked as Best reply

Oct 28, 2019 3:53 AM in response to FabioDcn

Hey there,


I was having a similar issue being unable to delete the X11 folder in my trash because it "Can't be modified or deleted because it's required by macOS"


I was able to get around this and delete the folder by doing the following, keep in mind it'll require to turn your computer off so you might want to write down these instructions ahead of time.


  1. Place the alias folder into the trash
  2. Restart your computer in Recovery Mode (by holding CMD-R as it turns on)
  3. You'll see a page that says 'Examining Volumes', be patient as it can take a couple of minutes to complete this process.
  4. Once it does it's thing, you should see the users on your computer show up. Select your user, hit next and enter your password.
  5. It'll show a page with 'macOS utilities' options in the middle of the screen, ignore these and click on "Utilities" on the menu bar at the top of the screen
  6. Select terminal, this'll open a terminal window on your screen.
  7. Enter the following code and press enter: csrutil disable
  8. It should come up with a message saying Successfully enabled System Integrity Protection, at this point you can now restart your computer normally.
  9. Open your bin and empty it, you should now get no error message preventing you from doing so. Congratulations, problem solved!
  10. Very important, once the bin has been emptied, follow the earlier instructions to restart your computer in Recovery Mode (CMD-R), open the terminal window again and enter: csrutil enable
  11. It'll come up with the success message again once you press enter, you can now restart the computer again normally.


Hope this helps! It's important to re-enable the System Integrity Protection once you delete the alias so you don't accidentally delete genuinely integral files in the future.

Cannot delete shortcut in 'Relocated files' (X11R6)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.