无法在 macOS Ventura 上启动 Multipass

异常信息

bash 复制代码
➜  ~ 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.

解决方案

停止守护进程:

bash 复制代码
sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist

删除 pem 文件

bash 复制代码
sudo rm /var/root/Library/Application\ Support/multipassd/authenticated-certs/multipass_client_certs.pem

复制你用户的公共证书

bash 复制代码
sudo cp ~/Library/Application\ Support/multipass-client-certificate/multipass_cert.pem /var/root/Library/Application\ Support/multipassd/authenticated-certs/multipass_client_certs.pem

启动守护进程

bash 复制代码
sudo launchctl load /Library/LaunchDaemons/com.canonical.multipassd.plist

现在应该可以在你的用户下运行 multipass 命令行工具了

相关推荐
Misnice15 小时前
Mac查看本机ip地址
网络协议·tcp/ip·macos
岁忧1 天前
macOS配置 GO语言环境
开发语言·macos·golang
墨痕砚白1 天前
VMware Workstation Pro虚拟机的下载和安装图文保姆级教程(附下载链接)
服务器·windows·vmware·虚拟机
岁忧1 天前
macOS 安装 Homebrew
macos·homebrew
棒棒AIT1 天前
mac 苹果电脑 Intel 芯片(Mac X86) 安卓虚拟机 Android模拟器 的救命稻草(下载安装指南)
android·游戏·macos·安卓·mac
*愿风载尘*2 天前
SecureCRT连接密钥交换失败
linux·macos
mCell2 天前
从删库到跑路?这50个Linux命令能保你职业生涯
linux·windows·macos
fhf2 天前
2025年了你会卸载Macbook上的应用吗?
macos·shell
归辞...3 天前
「iOS」——内存五大分区
macos·ios·cocoa
穆雄雄3 天前
备份一下我的 mac mini 的环境变量配置情况
macos