无法在 macOS Ventura 上启动 Multipass
异常信息
➜ ~ sudo multipass authenticate
Please enter passphrase:
authenticate failed: Passphrase is not set. Please `multipass set local.passphrase` with a trusted client.
➜ ~ multipass set local.passphrase
Please enter passphrase:
Please re-enter passphrase:
set failed: The client is not authenticated with the Multipass service.
Please use 'multipass authenticate' before proceeding.
解决方案
停止守护进程:
sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
删除 pem 文件
sudo rm /var/root/Library/Application\ Support/multipassd/authenticated-certs/multipass_client_certs.pem
复制你用户的公共证书
sudo cp ~/Library/Application\ Support/multipass-client-certificate/multipass_cert.pem /var/root/Library/Application\ Support/multipassd/authenticated-certs/multipass_client_certs.pem
启动守护进程
sudo launchctl load /Library/LaunchDaemons/com.canonical.multipassd.plist
现在应该可以在你的用户下运行 multipass 命令行工具了