无法在 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 命令行工具了

相关推荐
tonngw2 小时前
【Mac 从 0 到 1 保姆级配置教程 16】- Docker 快速安装配置、常用命令以及实际项目演示
macos·docker·容器·开源·github·docker desktop·orbstack
ItisNagatoYuki11 小时前
Mac M芯片 RAG 极简流程 安装 ragflow + LM studio
macos
云攀登者-望正茂14 小时前
如何在mac上安装podman
macos·podman
江梦寻20 小时前
MacOS下Homebrew国内镜像加速指南(2025最新国内镜像加速)
开发语言·后端·python·macos·架构·策略模式
*Lisen20 小时前
重新安装解决mac vscode点击不能跳转问题
ide·vscode·macos
weixin_387545641 天前
如何把 Mac Finder 用得更顺手?——高效文件管理定制指南
macos
itme2681 天前
解决cocos 2dx/creator2.4在ios18下openURL无法调用的问题
macos·objective-c·cocoa
qq_279456152 天前
CADisplayLink、NSTimer、GCD定时器
macos·objective-c·cocoa
RR13352 天前
macOS 升级 bash 到最新版本
macos
我在北京coding2 天前
Tableau for mac 驱动
macos