Skip to content

Instantly share code, notes, and snippets.

@nojimage
Last active March 17, 2020 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nojimage/3304da13ec802b39cb0edf1765ab910d to your computer and use it in GitHub Desktop.
Save nojimage/3304da13ec802b39cb0edf1765ab910d to your computer and use it in GitHub Desktop.
Fixes VMWare black screen when macOS update to Catalina
#!/bin/sh
#
# Running on macOS Recovery Mode Terminal
#
# 1. Save this script to Your home dir.
# eg) /Users/your-name/init-vmware-catalina.sh
#
# 2. Restart the machine and go to Recovery Mode.
# (hold [⌘ + R] when the computer starts until you see an Apple logo)
#
# 3. Go to the top menu and choose Utilities and then Terminal.
#
# 4. Run this script.
# eg)
# /bin/sh "/Volumes/Macintosh HD/Users/your-name/init-vmware-catalina.sh"
#
# 5. exit Teminal and Restart the machine
#
# See also: https://communities.vmware.com/thread/613755
# See also: https://communities.vmware.com/message/2879755#2879755
#
VOLUME="/Volumes/Macintosh HD"
PATH="${VOLUME}/usr/bin":$PATH
TCCDB="${VOLUME}/Library/Application Support/com.apple.TCC/TCC.db"
tccutil reset All com.vmware.fusion
sqlite3 "$TCCDB" 'insert into access values ("kTCCServiceScreenCapture", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sqlite3 "$TCCDB" 'insert into access values ("kTCCServiceListenEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
sqlite3 "$TCCDB" 'insert into access values ("kTCCServicePostEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment