Ubuntu火狐浏览器无法打开 ensure slot is connected

问题描述

Ubuntu22.04点击打开火狐浏览器无法打开,终端输入firefox

或snap run firefox 报错:Content snap command-chain for /snap/firefox/8054/gpu-2404/bin/gpu-2404-provider-wrapper not found: ensure slot is connected

问题原因

根据报错看起来是gpu-2404的连接问题,但是使用指令

bash 复制代码
snap connections firefox

可以看到

contentgpu-2404 firefox:gpu-2404 mesa-2404:gpu-2404

是正常连接的,因此怀疑 snapd服务的问题

解决方案

重启snapd,sudo systemctl restart snapd即可,保险起见,也重新连了一下gpu-2404

bash 复制代码
sudo /usr/lib/snapd/snap-discard-ns firefox
sudo snap disconnect firefox:gpu-2404
sudo snap connect firefox:gpu-2404 mesa-2404:gpu-2404
sudo systemctl restart snapd
snap run firefox
相关推荐
观山岳五楼5 小时前
Ubuntu 24 怎么使用Ubuntu 20 的镜像源
linux·运维·ubuntu
辰痕~6 小时前
物理机装Linux操作系统(Ubuntu为例)
linux·ubuntu
Byron Loong13 小时前
【Git】如何检查 Ubuntu 系统上 gitLab 是否开启
git·ubuntu·gitlab
一叶龙洲1 天前
win11与Ubuntu之间同步配置、插件
linux·运维·ubuntu
小秋求学记.1 天前
Linux_Ubuntu的相关问题
linux·运维·ubuntu
ly-272531 天前
Ubuntu重启之后挂载盘符变更应该怎么修复
linux·ubuntu
一叶龙洲2 天前
wsl中安装了图形ubuntu24.04,在语言中安装了中文,但是系统里还是英文
ubuntu
郝亚军3 天前
ubuntu如何设置超级用户root
linux·运维·ubuntu
IDIOT___IDIOT4 天前
一次重装 Ubuntu 系统经验操作记录
linux·ubuntu·docker·nvidia
yangshun_cug4 天前
Windows 11 的 WSL2 Ubuntu 22.04 安装 Seismic Unix 44R28 完整教程
windows·ubuntu·seismic unix