解决linux‘打开readme.md文件pycharm闪退’问题

ellij.ui.jcef.JBCefApp$Holder requests com.intellij.ui.jcef.JBCefAppCache instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead.

0929/160405.913717:FATAL:setuid_sandbox_host.cc(158) The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/rd-111s/app/pycharm-2024.1/jbr/lib/chrome-sandbox is owned by root and has mode 4755.

追踪或断点陷阱 (核心已转储)

这个错误是由于 PyCharm 内置浏览器组件(JCEF)的沙盒配置问题导致的。

进入 PyCharm 目录

cd "/home/rd-111s/document/QYJ/app/pycharm-professional-2024.1/pycharm-2024.1"

修复沙盒权限

sudo chown root:root jbr/lib/chrome-sandbox

sudo chmod 4755 jbr/lib/chrome-sandbox

验证权限

ls -l jbr/lib/chrome-sandbox

应该显示: -rwsr-xr-x 1 root root ...

测试启动

./bin/pycharm.sh

相关推荐
未济21 小时前
linux 配置环境变量
linux
傲世仙尊21 小时前
目录即文件-Ext文件系统收尾篇
linux·c语言
虎头金猫21 小时前
4K 视频总卡在公网带宽?用 N1 + OpenList 把网盘播放链路重新理顺
运维·服务器·网络·python·容器·beautifulsoup·pandas
_艾伦 耶格尔.1 天前
进程间通信
linux
AI职业加油站1 天前
AI智能体应用工程师证书:政策红利下的职业新风口
大数据·运维·人工智能·学习·职场发展
Liuqy-051 天前
Linux IO编程——静态库、动态库
linux
此冬歌咏1 天前
K8s 节点故障实战:优雅驱逐 31 秒,硬故障 331 秒,以及那个永远 Pending 的 Pod
运维·k8s
彧azz1 天前
Linux 环境下 Redis 学习总结:数据类型、持久化、锁、事务、主从与缓存问题
linux·redis·笔记·学习·面试
-梅1 天前
linux(8) 软硬链接
linux·运维·服务器
AIgorithmGEEK1 天前
[Linux]线程三部曲(上):一个执行流的诞生——从操作系统一路拆到 pthread_create
linux·线程·pid