install firefox 出现问题 [論壇 - 新手村]
正在瀏覽:
1 名遊客
install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員四級
![]() ![]() 註冊日期:
2011/7/29 14:20 所屬群組:
已註冊使用者 等級: 18
HP : 0 / 446
![]() |
系统:debian6.0.4
我这样安装了火狐 1.下载 Download latest Firefox from: http://www.mozilla.com 2.解压后放置在/opt 3.创建链接 $ ln -s /opt/firefox/firefox /usr/bin/firefox 安装完成后,存在的问题 1.每次只能在root 下面用/usr/bin/firefox启动 2.启动后出现 An error occurred while loading or saving configuration information for firefox. Some of your configuration settings may not work properly Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) 请问,如何解决问题? 1.我的电脑里面有两个组,要求任何用户组(包括root)都可以启动它 2.不出现那样的出错信息。
2012/5/25 9:04
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員四級
![]() ![]() 註冊日期:
2011/7/29 14:20 所屬群組:
已註冊使用者 等級: 18
HP : 0 / 446
![]() |
发现一个奇怪的事情,如果我将firefox安装在/usr/lib目录下面,不是
/opt目录下面,就不会有任何问题,上面的两个问题都不存在。 cp ~/firefox-12.0.tar.bz2 /usr/lib cd /usr/lib tar -jxvf firefox-12.0.tar.bz2 ln -s /usr/lib/firefox/firefox /usr/bin/firefox
2012/5/25 9:15
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
我的电脑里面有两个组,要求任何用户组(包括root)都可以启动它 0. mysudoer 表示你安裝 ubuntu 的登入帳號 1. 創造一個 group 例如 myfirefox 2. 把你希望能夠使用 firefox 到 用戶 都加到 myfirefox 名單中 # (包括root) 3. sudo chown mysudoer:myfirefox -hR /opt/firefox 4. sudo chmod -R 775 /opt/firefox # myfirefox 以外的人 可以打開但是不能更改 5. sudo chmod -R 770 /opt/firefox # myfirefox 以外的人 不可以打開 如果我将firefox安装在/usr/lib目录下面,不是 比對權限 sudo ls -al / | grep opt sudo ls -al /opt | grep firefox sudo ls -al / | grep usr sudo ls -al /usr | grep lib sudo ls -al /usr/lib | grep firefox
2012/5/25 9:21
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員四級
![]() ![]() 註冊日期:
2011/7/29 14:20 所屬群組:
已註冊使用者 等級: 18
HP : 0 / 446
![]() |
还发现一个问题,如果将firefox安装在/usr/lib下面,在root状态使用
firefox命令调用火狐浏览器,出现同样的故障: (firefox:6158): GnomeUI-WARNING **: While connecting to session manager: None of the authentication protocols specified are supported. An error occurred while loading or saving configuration information for firefox. Some of your configuration settings may not work properly. Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) 如果我将firefox安装在/usr/lib下面,在root状态下,使用火狐,如何使他不出现这些错误输出呢?
2012/5/25 9:24
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
2012/5/25 9:28
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員四級
![]() ![]() 註冊日期:
2011/7/29 14:20 所屬群組:
已註冊使用者 等級: 18
HP : 0 / 446
![]() |
sudo ls -al /opt/firefox
total 33096 drwxr-x--- 10 root root 4096 Apr 20 18:59 . drwxr-xr-x 4 root root 4096 May 25 08:49 .. -rw-r--r-- 1 root root 455 Apr 20 18:59 application.ini -rw-r--r-- 1 root root 14124 Apr 20 18:59 blocklist.xml drwxr-xr-x 3 root root 4096 Apr 20 18:59 chrome -rw-r--r-- 1 root root 36 Apr 20 18:59 chrome.manifest drwxr-xr-x 2 root root 4096 Apr 20 18:59 components -rwxr-xr-x 1 root root 134132 Apr 20 18:59 crashreporter -rw-r--r-- 1 root root 3803 Apr 20 18:59 crashreporter.ini -rw-r--r-- 1 root root 583 Apr 20 18:59 crashreporter-override.ini drwxr-xr-x 3 root root 4096 Apr 20 18:59 defaults -rw-r--r-- 1 root root 142 Apr 20 18:59 dependentlibs.list drwxr-xr-x 2 root root 4096 Apr 20 18:59 dictionaries drwxr-xr-x 3 root root 4096 Apr 20 18:59 extensions -rwxr-xr-x 1 root root 54008 Apr 20 18:59 firefox -rwxr-xr-x 1 root root 54012 Apr 20 18:59 firefox-bin drwxr-xr-x 2 root root 4096 Apr 20 18:59 icons drwxr-xr-x 3 root root 4096 Apr 20 18:59 jsloader -rw-r--r-- 1 root root 478 Apr 20 18:59 libfreebl3.chk -rwxr-xr-x 1 root root 307868 Apr 20 18:59 libfreebl3.so -rwxr-xr-x 1 root root 6040 Apr 20 18:59 libmozalloc.so -rwxr-xr-x 1 root root 625620 Apr 20 18:59 libmozsqlite3.so -rwxr-xr-x 1 root root 190928 Apr 20 18:59 libnspr4.so -rwxr-xr-x 1 root root 873220 Apr 20 18:59 libnss3.so -rwxr-xr-x 1 root root 385848 Apr 20 18:59 libnssckbi.so -rw-r--r-- 1 root root 478 Apr 20 18:59 libnssdbm3.chk -rwxr-xr-x 1 root root 122324 Apr 20 18:59 libnssdbm3.so -rwxr-xr-x 1 root root 99764 Apr 20 18:59 libnssutil3.so -rwxr-xr-x 1 root root 13712 Apr 20 18:59 libplc4.so -rwxr-xr-x 1 root root 10604 Apr 20 18:59 libplds4.so -rwxr-xr-x 1 root root 124176 Apr 20 18:59 libsmime3.so -rw-r--r-- 1 root root 478 Apr 20 18:59 libsoftokn3.chk -rwxr-xr-x 1 root root 193356 Apr 20 18:59 libsoftokn3.so -rwxr-xr-x 1 root root 185168 Apr 20 18:59 libssl3.so -rwxr-xr-x 1 root root 12204 Apr 20 18:59 libxpcom.so -rwxr-xr-x 1 root root 23250504 Apr 20 18:59 libxul.so -rwxr-xr-x 1 root root 53932 Apr 20 18:59 mozilla-xremote-client -rw-r--r-- 1 root root 6700775 Apr 20 18:59 omni.ja -rw-r--r-- 1 root root 135 Apr 20 18:59 platform.ini -rwxr-xr-x 1 root root 44004 Apr 20 18:59 plugin-container -rw-r--r-- 1 root root 1783 Apr 20 18:59 precomplete -rw-r--r-- 1 root root 35284 Apr 20 18:59 removed-files -rwxr-xr-x 1 root root 10380 Apr 20 18:59 run-mozilla.sh drwxr-xr-x 2 root root 4096 Apr 20 18:59 searchplugins -rw-r--r-- 1 root root 825 Apr 20 18:59 Throbber-small.gif -rwxr-xr-x 1 root root 136196 Apr 20 18:59 updater -rw-r--r-- 1 root root 143 Apr 20 18:59 updater.ini -rw-r--r-- 1 root root 132 Apr 20 18:59 update-settings.ini tiger@debian:~$ /opt/firefox/firefox bash: /opt/firefox/firefox: Permission denied tiger@debian:~$ 明明对其他任何用户都有执行的权力,我让它运行的时候,为何禁止了? -rwxr-xr-x 1 root root 54008 Apr 20 18:59 firefox
2012/5/26 15:47
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
還要看 tiger
sudo ls -al / | grep opt sudo ls -al /opt | grep firefox 有沒有 x 權限 如果沒有 tiger 就不可能去 接觸 /opt/firefox/firefox
2012/5/26 16:03
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員四級
![]() ![]() 註冊日期:
2011/7/29 14:20 所屬群組:
已註冊使用者 等級: 18
HP : 0 / 446
![]() |
tiger@debian:~$ sudo ls -al / | grep opt
drwxr-xr-x 4 root root 4096 May 25 08:49 opt tiger@debian:~$ sudo ls -al /opt | grep firefox drwxr-x--- 10 root root 4096 Apr 20 18:59 firefox
2012/5/26 16:05
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
sudo ls -al /opt | grep firefox sudo chmod 755 /opt/firefox
2012/5/26 16:08
|
||||||||||
![]() |
回覆: install firefox 出现问题 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員四級
![]() ![]() 註冊日期:
2011/7/29 14:20 所屬群組:
已註冊使用者 等級: 18
HP : 0 / 446
![]() |
3. sudo chown mysudoer:myfirefox -hR /opt/firefox
4. sudo chmod -R 775 /opt/firefox # myfirefox 以外的人 可以打開但是不能更改 为何还要第3句?感觉不要它也可以,第4句不是让任何人都执行吗?
2012/5/26 16:09
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.