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

相关推荐
焱焱枫7 小时前
简单几步,开启 Intel VT-x 让电脑“解开CPU封印”
vmware·虚拟机·cpu虚拟化·intel vt-x
Dachui_112211 小时前
MacOS上如何运行内网穿透详细教程
macos
Bruce_Liuxiaowei13 小时前
使用Python脚本在Mac上彻底清除Chrome浏览历史:开发实战与隐私保护指南
chrome·python·macos
iFlyCai15 小时前
对Mac文字双击或三击鼠标左键没有任何反应
macos·计算机外设
請你喝杯Java1 天前
Mac上Cursor无法安装插件解决方法
macos·cursor·vsode
网络之路Blog1 天前
【实战中提升自己】内网安全部署之端口隔离与MAC地址认证
安全·macos·网络之路一天·华为华三数通基础·华为华三企业实战架构·华为中小型企业实战·华为华三计算机网络基础
心随_风动1 天前
主流操作系统对比分析(macOS、Linux、Windows、Unix)
linux·windows·macos
lxw18449125141 天前
macOS 系统设置息屏情况下,PHP等后台脚本继续执行
macos
Brian_Lucky1 天前
在 macOS 上合并 IntelliJ IDEA 的项目窗口
java·macos·intellij-idea
未来之窗软件服务2 天前
声音分离人声和配乐-从头设计数字生命第5课, demucs——仙盟创梦IDE
ide·macos·xcode·仙盟创梦ide·数字生命