当前位置: 首页 > backend >正文

jetson ubuntu 打不开 firefox和chromium浏览器

jetson在近期自动更新了软件版本之后发现我安装的chromium和自带的firefox浏览器都没法打开了。比如点开firefox图标后一直在转圈圈:

然后在命令行执行 firefox 用指令开启会报以下错误:

abc@ubuntu:~$ firefox
2025/08/23 21:53:48.075751 cmd_run.go:1344: WARNING: cannot create user data directory: failed to verify SELinux context of /home/abc/snap: exec: "matchpathcon": executable file not found in $PATH
cannot set capabilities: Operation not permitted

后来在nvidia官网论坛找到了原因以及解决方法:

https://forums.developer.nvidia.com/t/chromium-other-browsers-not-working-after-flashing-or-updating-heres-why-and-quick-fix/338891/35https://forums.developer.nvidia.com/t/chromium-other-browsers-not-working-after-flashing-or-updating-heres-why-and-quick-fix/338891/35Jetson/L4T/r36.4.x patches - eLinux.orghttps://elinux.org/Jetson/L4T/r36.4.x_patches#Web_Browser原因(snap最新版本兼容性问题):

When Snap updated to version 2.70, what professionals call “Bad Things Happen” magically appeared. The main reason is due to the way that Snap handles permissions. You may have seen the cannot set capabilities: Operation not permitted . error when you attempt to launch a browser like Chromium or an IDE from the command line. If launching from a desktop icon, the app appears to launch but does not.

可以通过以下方式获取当前snap的版本,我的确实是2.7了

abc@ubuntu:~$ snap --version
snap    2.70
snapd   2.70
series  16
ubuntu  22.04
kernel  5.15.148-tegra

解决方式

官方给了两种个链接,但都是同一种解决方式:

Web browser(Chromium, Firefox) does not workPlease use either solution:
Chromium, other browsers not working after flashing or updating - Here's WHY and QUICK FIX - Jetson Orin Nano - NVIDIA Developer Forums
or
Jetson orin nano - Browser issue - #74 by DaneLLL - Jetson Orin Nano - NVIDIA Developer Forums // will be enabled by default in next r36.5

这里直接贴出来指令:

# 1、下载旧版本
abc@ubuntu:~$ snap download snapd --revision=24724
获取 snap "snapd"
Fetching assertions for "snapd"
可以这样安装 snap:snap ack snapd_24724.assertsnap install snapd_24724.snap# 2、确认并安装
abc@ubuntu:~$ sudo snap ack snapd_24724.assert
abc@ubuntu:~$ sudo snap install snapd_24724.snap
2025-08-23T22:07:31+08:00 INFO Waiting for automatic snapd restart...
snapd 2.68.5 from Canonical✓ installed# 3、禁用snap的auto refresh
abc@ubuntu:~$ sudo snap refresh --hold
Auto-refresh of all snaps held indefinitely# 4、此时firefox和chromium就能用了

http://www.xdnf.cn/news/18506.html

相关文章:

  • Python 实战:内网渗透中的信息收集自动化脚本(2)
  • 嵌入式LINUX——————网络TCP
  • Mysql InnoDB 底层架构设计、功能、原理、源码系列合集【六、架构全景图与最佳实践】
  • ArcGIS Pro 安装路径避坑指南:从崩溃根源到规范实操(附问题修复方案)
  • 在 CentOS 7 上搭建 OpenTenBase 集群:从源码到生产环境的全流程指南
  • SpringMVC相关自动配置
  • 第四十三天(JavaEE应用ORM框架SQL预编译JDBCMyBatisHibernateMaven)
  • 算法训练营day60 图论⑩ Bellman_ford 队列优化算法、判断负权回路、单源有限最短路
  • Vue 3 useModel vs defineModel:选择正确的双向绑定方案
  • [特殊字符] 在 Windows 新电脑上配置 GitHub SSH 的完整记录(含坑点与解决方案)
  • 简单留插槽的方法
  • 生成一个竖直放置的div,宽度是350px,上面是标题固定高度50px,下面是自适应高度的div,且有滚动条
  • 航空复杂壳体零件深孔检测方法 - 激光频率梳 3D 轮廓检测
  • FFMPEG相关解密,打水印,合并,推流,
  • 鸿蒙中Snapshot分析
  • Vue3+ElementPlus倒计时示例
  • 应用服务器和数据库服务器的区别
  • 机器学习案例——预测矿物类型(数据处理部分)
  • [CISCN2019 华北赛区 Day1 Web5]CyberPunk
  • `sudo apt update` 总是失败
  • Linux问答题:调优系统性能
  • 李宏毅NLP-12-语音分类
  • 基于Labview的旋转机械AI智能诊断系统
  • 2015-2018年咸海流域1km归一化植被指数8天合成数据集
  • html-docx-js 导出word
  • Linux问答题:归档和传输文件
  • 探秘北斗卫星导航系统(BDS):架构、应用与未来蓝图,展现中国力量
  • 文件系统挂载详细分析(《图解Linux内核》虚拟文件系统篇笔记二)
  • UDP报文的数据结构
  • 可转换债券高频交易Level-2五档Tick级分钟历史数据分析