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

相关推荐
黑科技iOS上架1 天前
iOS framework/dylib动态库定向加固实战
macos·ios·objective-c·cocoa·审核·ios混淆·执行程序差异化
神奇的小猴程序员2 天前
苹果Mac电脑玩我的世界没有版本?用PCL-R即可!
macos
灵韵aura2 天前
macOS 的指令缩写
macos
yqj2343 天前
ESP32-S3中小智项目优化内容
ide·macos·xcode
今年下半年4 天前
【运维】windows虚拟机安装arm(aarch64)服务器
运维·windows·arm·虚拟机·aarch64
Mininglamp_27184 天前
Cider量化配置与性能调优:在M系列Mac上压榨Mano-P的每一点推理性能
macos
xuefuhe4 天前
MacOS EAGAIN无法打开terminal
macos
传奇开心果编程5 天前
【SwiftUI入门练中学】第7课 动画与手势:让界面更灵动
学习·macos·ui·ios·swiftui·swift
the3clipse5 天前
MacOS、Linux 与 Windows 视频编解码对比:AV1、HEVC、ProRes 与硬件加速优劣势
linux·windows·macos·hevc·av1·视频解码·硬件解码
传奇开心果编程5 天前
【SwiftUI娓娓道来】第3课:让界面活起来——交互与动画指南
学习·macos·ui·ios·swiftui·swift