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

手欠在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
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值