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

相关推荐
degree5207 小时前
全平台轻量浏览器推荐|支持Win/macOS/Linux,极速加载+隐私保护+扩展插件,告别广告与数据追踪!
windows·macos·电脑
冯浩(grow up)14 小时前
macos 安装nodepad++ (教程+安装包+报错后的解决方法)
macos
2501_928094651 天前
Ps 2025 图像编辑 Photoshop(Mac中文)
图像处理·macos·photoshop·ps
Magnetic_h2 天前
【iOS】锁的原理
笔记·学习·macos·ios·objective-c·cocoa·xcode
Cosmoshhhyyy2 天前
mac环境下安装git并配置密钥等
git·macos
肥肥呀呀呀2 天前
mac 安卓模拟器 blueStacks
macos
csdn_aspnet2 天前
如何在 MacOS 上安装 SQL Server
macos·sqlserver
没有bug.的程序员3 天前
JVM 总览与运行原理:深入Java虚拟机的核心引擎
java·jvm·python·虚拟机
共享家95273 天前
linux-数据链路层
linux·网络·macos
CZIDC4 天前
MacOS字体看起来比在 Windows 上更好?
macos