X
點擊此處開啟此網站的行動版。

技術支援討論區

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

已張貼

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

額外的系統細節

已安裝的外掛程式

  • The Adobe Reader plugin is used to enable viewing of PDF and FDF files from within the browser.
  • DivX Web Player version 1.4.0.233
  • The Videos 3.10.1 plugin handles video and audio streams.
  • Shockwave Flash 11.2 r202
  • This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.

應用程式

  • Firefox 38.0
  • 使用者代理:Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0
  • 技術支援網址:https://support.mozilla.org/1/firefox/38.0/Linux/en-US/

擴充套件

  • Ubuntu Firefox Modifications 3.0 (ubufox@ubuntu.com)

JavaScript

  • incrementalGCEnabled: True

圖形

  • adapterDescription: VMware, Inc. -- Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
  • adapterDeviceID: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: VMware, Inc.
  • driverDate:
  • driverVersion: 2.1 Mesa 10.1.3
  • info: {u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'cairo', u'AzureSkiaAccelerated': 0}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 1
  • webglRenderer: VMware, Inc. -- Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Basic

修改過的偏好設定

其他

  • User JS: 否
  • 輔助功能: 否
cor-el
  • Top 10 Contributor
  • Moderator
17468 個解決方法 157865 個答案

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.

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.

提出問題者

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 !

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 !
cor-el
  • Top 10 Contributor
  • Moderator
17468 個解決方法 157865 個答案

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

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

提出問題者

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....

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....

提出問題者

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.....

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.....

提出問題者

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!

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!

提出問題者

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

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

提出問題者

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?

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?

提出問題者

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?

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?
christ1
  • Top 25 Contributor
2164 個解決方法 15794 個答案

選擇的解決方法

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.

<blockquote> terminal and firefox gives me this: (process:14428): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed </blockquote> 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. <blockquote> I just tried /etc/init.D/vmware install </blockquote> 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.
James
  • Moderator
1595 個解決方法 11242 個答案

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.

''whazammo [[#answer-737806|said]]'' <blockquote> 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? </blockquote> 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 於 修改

提出問題者

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.

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.
James
  • Moderator
1595 個解決方法 11242 個答案

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

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

提出問題者

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:~$

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:~$

提出問題者

that is a tar.bz2 file.

that is a tar.bz2 file.
christ1
  • Top 25 Contributor
2164 個解決方法 15794 個答案
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.

<blockquote> then only opening terminal and typing in gksudo firefox -P ... it takes me tomy firefox homepage, "not" to Profile Manager. </blockquote> 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. <blockquote> whazammo@earthport1:~$ sudo mv firefox /opt/firefox38 [sudo] password for whazammo: mv: cannot stat ‘firefox’: No such file or directory </blockquote> ~ 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.

提出問題者

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?

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?
James
  • Moderator
1595 個解決方法 11242 個答案

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.

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.

提出問題者

that does not work either.

that does not work either.
christ1
  • Top 25 Contributor
2164 個解決方法 15794 個答案
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.

<blockquote> 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. </blockquote> 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. <blockquote> I do not understand the mumbo-jumbo of MSDOS ot the Terminal codes . </blockquote> MSDOS isn't related to Linux. It always helps to stick to the proper terminology. <blockquote> I followed explicit (copy and paste) instructions on trying to download from Mozilla a fresh copy of Firefox38 via Tar </blockquote> 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? <blockquote> "The problem I am trying to solve" i very simple, I need access to Firefox from my Unity launcher </blockquote> 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.