解决 Linux 系统无法启动 Microsoft Edge 浏览器
条评论前言
之前尝试 Linux VPS 运行桌面环境,装的 Debian 系统,一套流程用下来整体尚可,常年挂着 Microsoft Edge 浏览器,省去一些常用网站关闭打开。某天直接在 SSH 终端 reboot
了一把,再登录远程桌面,发现浏览器启动不了了。
现象
进入远程桌面,直接运行 Microsoft Edge 快捷无反应,运行 xfce 环境自带的系统默认浏览器 Web Browser,将会提示打开浏览器失败,但看不到具体的错误内容,进入终端运行 microsoft-edge
将会得到这样的提示:
[7284:7284:0308/201743.500514: ERROR: process_singleton_posix.cc(359)] This profile appears to be in use by another Microsoft Edge process (13235) on another computer (172-1-20-21.lightspeed.frsnca.sbcglobal.net). Microsoft Edge has locked this profile to prevent corruption. If you’re sure no other processes are using this profile, you can unlock it and relaunch Microsoft Edge.
[7284:7284:0308/201743.500595: ERROR: message_box_dialog.cc(147)] Unable to show a dialog outside the UI thread message loop: Microsoft Edge - This profile appears to be in use by another Microsoft Edge process (13235) on another computer (172-1-20-21.lightspeed.frsnca.sbcglobal.net). Microsoft Edge has locked this profile to prevent corruption. If you’re sure no other processes are using this profile, you can unlock it and relaunch Microsoft Edge.
解决
从错误提示中,我们可知是有配置被锁定了,程序认为有其他进程正在使用所以拒绝启动。应该是前一次是直接重启系统导致程序非正常退出,那么我们需要将锁定的配置文件删除:
1 | rm -rf ~/.config/microsoft-edge/Singleton* |
该删除命令删除的是当前用户配置,所以如果你远程桌面登录用的是 ABC
,那么请登录 ABC
用户环境删除或 root
用户指定 ABC
家目录路径删除。
删除锁定的配置文件后,再次启动 Microsoft Edge 浏览器,应该能正常启动了。
本文标题:解决 Linux 系统无法启动 Microsoft Edge 浏览器
文章作者:凹凸曼
发布时间:2025-05-10
最后更新:2025-05-10
原始链接:https://sobaigu.com/linux-microsoft-edge-cannot-start.html
版权声明:转载请务必保留本文链接和注明内容来源,并自负版权等法律责任。