您的位置:首页 > 运维架构 > Linux

解决Linux下Firefox启动报错找不到配置文件。Your Firefox profile cannot be loaded. It may be missing or inaccessible.

2017-09-22 17:16 851 查看
手欠在Firefox浏览器配置项看到有两个配置,删除了一个。然后在root用户下可以正常使用,在普通用户下启动失败,报错:

Your Firefox profile cannot be loaded. It may be missing or inaccessible.

解决办法:

找到普通用户的home目录 如:/home/scout/.mozilla/firefox

[scout@scout ~]$ ls -art
.bashrc        Videos     Music      .mozilla            ..              .ssh       Documents  Desktop  Public         .viminfo
.bash_profile  Templates  .local     .java               .mysql_history  .lastpass  Downloads  .config  soft           .
.bash_logout   Pictures   .esd_auth  .speech-dispatcher  core.3361       sitech     .gnupg     .cache   .ICEauthority  .bash_history
[scout@scout ~]$ cd .mozilla/firefox/
[scout@scout firefox]$ ls
8sre3c9x.default-1505963793540  Crash Reports  Pending Pings  profiles.ini
[scout@scout firefox]$ mv profiles.ini profiles.ini.old
[scout@scout firefox]$ ll
总用量 8
drwx------  10 scout scout 4096 Sep 21 11:33 8sre3c9x.default-1505963793540
drwx------   3 scout scout   51 Sep 22 11:41 Crash Reports
drwx------   2 scout scout    6 Sep 22 11:41 Pending Pings
-rw-rw-r--.  1 scout scout  104 Sep 21 11:18 profiles.ini.old


然后再去桌面点击启动Firefox即可正常启动。自动重新建立配置文件。

[scout@scout firefox]$ ll
总用量 16
drwx------  10 scout scout 4096 Sep 21 11:33 8sre3c9x.default-1505963793540
drwx------   3 scout scout   51 Sep 22 11:41 Crash Reports
drwx------   2 scout scout    6 Sep 22 11:41 Pending Pings
-rw-rw-r--   1 scout scout  104 Sep 22 17:07 profiles.ini
-rw-rw-r--.  1 scout scout  104 Sep 21 11:18 profiles.ini.old
drwx------   9 scout scout 4096 Sep 22 17:15 q0t97jyg.default
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  firefox linux
相关文章推荐