centOS底下無法開啟firefox - Linux

Table of Contents

※ 引述《freemystyle (愛上熱舞社~)》之銘言:
: 實驗室的linux以NIS加上NFS的方式管理帳號密碼
: 日前使用者突然說無法使用firefox
: 經過測試每一個client用root帳號都可以正常執行firefox
: 在NIS的主機上每一個帳號也都可以執行firefox
: 但是在client端如果用非root的帳號都不能使用
: 會出現
: firefox is already running, but is not responding, to open a new window,
: you must first close the existing Firefox process, or restart your system.
: 請問大家有遇過這樣的問題嗎??
: linux的版本皆為CentOS 5.3
---------------------------------------------------------------------
錯誤訊息不是已經說出原因了?!
client 在要執行 firefox前,該firefox的行程已經在跑了,可能重覆執行
造成crash 。

client 解決方法可參考如下:

step(1)
在command line下 切換到 root權限

step(2)
ps -awx | grep firefox

看看是否有 firefox的僵屍行程在跑

step(3)
若有,則刪除該行程
killall -9 firefox

step(5)
重新開啟firefox 試看看

step(6)
若 步 驟 1 到 5 無法解決你的問題
請查看 firefox other user 是否有執行的權限

一 ls -al /usr/bin/firefox (Ubuntu為例)
二 正常的情況下,權限如下:
lrwxrwxrwx 1 root root 11 2009-06-15 23:51 /usr/bin/firefox -> firefox-3.0

三 若other user 沒有 執行的權限請加入:
chmod o+rwx /usr/bin/firefox (建議)




































--

All Comments

Tracy avatarTracy2009-08-06
讚喔,原PO很有心
Bethany avatarBethany2009-08-08
原PO人真好