我无法启动 Firefox。每当我单击图标时,鼠标指针就会改变状态以指示其忙碌,而 2 秒后它会变回指针。
我在终端中运行了“firefox”命令,以下是输出。
vostro-1320:~$ firefox
(process:19047): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
(firefox:19047): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(firefox:19047): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(firefox:19047): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(firefox:19047): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
Could not create gnome accelerators directory `/home/bharath/.gnome2/accels': Permission denied
有什么迹象表明可能出了什么问题吗?
答案1
看起来登录帐户存在权限问题。使用以下bharath
命令将所有者更改为bharath
sudo chown -R bharath:bharath/home/bharath`
并尝试打开 Firefox。
答案2
在你的终端中尝试以下命令( Ctrl++ Alt) T:
sudo chown -R "$USER:$USER" "$HOME"
这与上一个答案的作用相同,但不需要编辑就可以在您的计算机上运行,并且应该没有拼写错误。