Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

14.04 unity does not load firefox-only gksudo or guest "will"

  • 31 个回答
  • 6 人有此问题
  • 3 次查看
  • 最后回复者为 whazammo

more options

for 6 or so months now Firefox quit launching from the unity icon . . . it does the loading ball cycle and---nothing, it only will load from terminal as gksudo firefox, or as a guest visitor. Literally hundreds of terminal codes by "experts" have failed... it appears I am not recognized as administrator/owner by either Ubuntu or firefox..... and it cannot be accessed as preview from bluefish (same problem) ubuntu is the only OS, and firefox the only Browser. please be sure I receive responses by email.

for 6 or so months now Firefox quit launching from the unity icon . . . it does the loading ball cycle and---nothing, it only will load from terminal as gksudo firefox, or as a guest visitor. Literally hundreds of terminal codes by "experts" have failed... it appears I am not recognized as administrator/owner by either Ubuntu or firefox..... and it cannot be accessed as preview from bluefish (same problem) ubuntu is the only OS, and firefox the only Browser. please be sure I receive responses by email.

被采纳的解决方案

terminal and firefox gives me this: (process:14428): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

This is a warning which does not prevent Firefox from starting. You didn't explain whether Firefox did actually start or not when starting it from a terminal as cor-el suggested above.

I just tried /etc/init.D/vmware install

I have no idea what you were trying to achieve wrt VMware. The command above clearly shows you have no clue what you're doing on the CLI. From your other comments it appears you try arbitrary commands you picked up from various articles without understanding what they mean. Stop it. It won't do you any good.

定位到答案原位置 👍 0

所有回复 (20)

more options

Did you try to create a new launcher?

It is likely that the command to launch Firefox is wrong.

Doesn't Firefox start in a terminal window if you go to the Firefox installation directory via cd and launch Firefox via ./firefox?

Do you see any error messages in the terminal?

Try the version from the official Mozilla server if you currently use a version from the repositories of your Linux distribution.

more options

Yes, on the launcher, many, many, many times

terminal and firefox gives me this:

(process:14428): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(firefox:14428): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

I have posted this info on ubuntu help four or five times and received lotsa' attempts to fix, none work.

All versions of firefox were from Mozilla server, all eight downloads of them !

more options

Are you running Firefox via VMware as I see references to VMware in the graphics section in the System Details list?

more options

Never heard of VM ware.... visual management? why would I have it? this is becoming like the dreaded hateful Microsoft (but cheaper!), did it piggy-back load itself somewhere with another download ? sounds like an Adobe tactic....

more options

Cannot find VMware in my ubuntu as loaded... I tried removing it,

would it be hidden away somewhere? this has gone on soooo long now, after ca 18 month unexciting run of firefox, and ubuntu, one day, there it was .

The fixes include some really crazy schemes, and massive file searches, nothing makes me recognized at firefox.....

more options

I just tried /etc/init.D/vmware install and later <stop> and <-1> a few othe rkillers...no vmware found. the dropdown firefox icon window will not let me do open private window, or choose user profile either dead!

more options

day 300 still trying, today loaded up info from the mozilla experts webpage o get into the EZ form for firefox profile manager in linux, of course the terminal info is not valid . . . sudo cd ./firefox -profilemanager is totally bogus (the terminal code written by some guy on XP).

anything i try takes me to the page as a visitor, after i sign in, or, i get this:

(firefox:20230): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised xauth: /tmp/libgksu-bU5LS6/.Xauthority xauth_env: /home/whazammo/.Xauthority dir: /tmp/libgksu-bU5LS6

can anyone read msdos an/or linuxese ? I can't

more options

lost my earlier text ! , I went to Ubuntu Home folio, opened Mozilla folder, and found these. . . does this mean there are m"TWO" i.d. vying for entry? which one will get me the ability to use the unity icon for firefox to gain access to firefox as principal ,owner/root/whatever without having to load-up via terminal?

more options

In terminal, gksudo firefox -P does exactly the same as gksudo firefox and opens my Firefox homepage

the -P (to take me to profile Manager) does nothing, the Linux directions from Mozilla are incorrect ! is this now a dead link....? does anyone read these mozilla problem pages?

more options

选择的解决方案

terminal and firefox gives me this: (process:14428): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

This is a warning which does not prevent Firefox from starting. You didn't explain whether Firefox did actually start or not when starting it from a terminal as cor-el suggested above.

I just tried /etc/init.D/vmware install

I have no idea what you were trying to achieve wrt VMware. The command above clearly shows you have no clue what you're doing on the CLI. From your other comments it appears you try arbitrary commands you picked up from various articles without understanding what they mean. Stop it. It won't do you any good.

more options

whazammo said

In terminal, gksudo firefox -P does exactly the same as gksudo firefox and opens my Firefox homepage the -P (to take me to profile Manager) does nothing, the Linux directions from Mozilla are incorrect ! is this now a dead link....? does anyone read these mozilla problem pages?

Make sure Firefox is completely closed/exited first otherwise you get a new Firefox window open instead of starting Firefox with ProfileManager. This the same on Windows, Mac OSX and Linux.

The -P is indeed the switch for Firefox profilemanager on Linux.

由James于修改

more options

I always shut down, and reboot from zero..... then only opening terminal and typing in gksudo firefox -P ( nothing is open anywhere) .... it takes me tomy firefox homepage, "not" to Profile Manager.

more options

Maybe you need to be more direct like in terminal cd to firefox folder and then ./firefox -P but i think you tried that already.

It looks you have the ubuntu packaged version and not the tarball from www.mozilla.org/firefox/all

Just put it in a folder in home then create a launcher to firefox script and add -P on end or in terminal cd to Firefox folder and then ./firefox -P

more options

I could not get that to work.,...,., I downloaded firefox38.0.5.tar to my home folder in downloads, then unzipped it there in place, i opened terminal and tried to move the firefox directory (which was created in my Downloads folder and extracted) to /opt:

this is what bi got.

whazammo@earthport1:~$ sudo mv firefox /opt/firefox38

[sudo] password for whazammo: mv: cannot stat ‘firefox’: No such file or directory whazammo@earthport1:~$

more options

that is a tar.bz2 file.

more options
then only opening terminal and typing in gksudo firefox -P ... it takes me tomy firefox homepage, "not" to Profile Manager.

Using Linux the correct command line option to start the profile manager is: ./firefox -profilemanager http://kb.mozillazine.org/Profile_manager#Linux

I have no idea what you need or want the 'gksudo' for. It certainly isn't needed.

whazammo@earthport1:~$ sudo mv firefox /opt/firefox38 [sudo] password for whazammo: mv: cannot stat ‘firefox’: No such file or directory

~ is your home directory. You don't run the 'mv' command in the directory where you extracted the tar ball, so the command cannot find the 'firefox' directory.

As said before, you're trying arbitrary commands you don't understand. It is not clear to me what you're trying to achieve and which problem you're trying to solve. Therefore please clarify that, I have no intention to continue guessing.

more options

I can see why you are confused, you do not see the earlier parts of my Mozilla support thread. Let me start from the beginning: After enduring Microsoft 3.2 through 7 and Adobe, I had a hateful separation with MS, I ordered two twin Asus nettops preloaded with Ubuntu 12/04 in May of 2013. Ubuntu/Firefox are my only OS/Browser. I only use open-source, and have three large websites I master.

Last October (I believe), I received a dropdown window advising me 14.04 was up and ready to replace my 12.04, just click here.

One computer upgraded without incident, the other fully upgraded BUT . . . . the firefox icon in Unity launcher would only "activate-roll as-if-loading, and quit".

After 18 months of trouble-free . . . Firefox was no longer available to me from Unity, or from Bluefish HTML Editor as "preview", on "ONE" computer only !

The Ubuntu support pages (and there are many) tried from November 2014 up until last week, to solve the problem with over a thousand hours of trial-and-error Terminal fixes (I had three 200 hour 14 hour-a-day work sessions) concentrated on seeking a solution for the past 7 months.

All I ever learned from the Ubuntu multiplicity of support sites was "how to open Firefox as a visitor-user" hence the gksudo firefox method.

sudo firefox does not work.

I have been using that method daily since I found the key, and have Firefox 38 up and useable daily, with bookmarks, and full functionality. EXCEPT....... Firefox is no longer available to me from the Unit icon, or from Bluefish HTML Editor, as "preview".

I approache Mozilla with the problem, got sent to your pages, and again, started the volly of Terminal commands, someone there was sure I have VMWare installed..... which took me to VMWare and Ubuntu for many many more attempts in Terminal to find..... the end result is the same as my first answer "I do not (obviously) have VMWare installed.

You got into this thread around the very last of the "lets look for VMWare testing that Ubuntu had me off on".... I do not understand the mumbo-jumbo of MSDOS ot the Terminal codes . To answer your questions (above). "What I am trying to achieve" is the same ability I have on my other identical computer, use the Unity Firefox icon to open firefox, and have my Bluefish HTML Editor recognize Firefox .

"The problem I am trying to solve" i very simple, I need access to Firefox from my Unity launcher as a "real person" not a visitor via gksudo firefox and endless sign-ins.

Looking for VMWare, ghosts, and made up things in Terminal has not worked for the past thousand hours..... I followed explicit (copy and paste) instructions on trying to download from Mozilla a fresh copy of Firefox38 via Tar.... the result I got was my last post.

How hard can this be?

more options

Hmm on my old 32-bit Linux box (psu took down motherboard) the -P started Firefox and SeaMonkey with the profilemanager, even with nightlies.

Got a new built PC recently with 64-bit version and now I found that both Firefox and SeaMonkey from mozilla.org needs -Profilemanager switch to start up with the ProfileManager.

more options

that does not work either.

more options
All I ever learned from the Ubuntu multiplicity of support sites was "how to open Firefox as a visitor-user" hence the gksudo firefox method.

I don't think I understand what you're trying to say here. I'm not using Ubuntu, and I'm not sure what a 'visitor-user' is. In any case, it should be possible to run Firefox with any non-privileged account. sudo allows a non-privileged user to execute commands as root. Running Firefox as root is a really bad idea.

I do not understand the mumbo-jumbo of MSDOS ot the Terminal codes .

MSDOS isn't related to Linux. It always helps to stick to the proper terminology.

I followed explicit (copy and paste) instructions on trying to download from Mozilla a fresh copy of Firefox38 via Tar

I'm certain you did do something wrong. I'd consider instructions from a web site a guideline, but not something to follow to the letter without having a basic understanding what you're doing.

I'd assume you already had Firefox on your system, why downloading it again? What version(s) do you have installed anyway? Are these the vanilla Firefox versions from Mozilla, or the ones provided by Ubuntu?

"The problem I am trying to solve" i very simple, I need access to Firefox from my Unity launcher

I'd suggest to start with cleaning up whatever old versions of Firefox you have installed. Then determine what's the latest version you have, and make sure it's the only one installed.

  1. 1
  2. 2