Viser spørgsmål med mærket: Vis alle spørgsmål
  • Løst
  • Arkiveret

Linux/Ubuntu and Windows: creating firefox profile for different users from command line

Hi, I would like to create from command line by using the administrator user of a system the same firefox profile with plugin and customization for each user of the same … (læs mere)

Hi, I would like to create from command line by using the administrator user of a system the same firefox profile with plugin and customization for each user of the same system. I cannot use sync feature for this purpose.

I know from here edit https://developer.mozilla.org/en-US/...d_Line_Options https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options ~J99that the correct syntax is the following firefox -CreateProfile "JoelUser c:\internet\joelusers-moz-profile". On Linux/Ubuntu the following piece of code allows to create a profile for the sudo user


user=$(sudo logname)
firefoxProfile="/home/$user/.mozilla/firefox"
if [ ! -d "$firefoxProfile/m4v6pi7q.profile" ]; then
    rm -rf $firefoxProfile
    firefox -CreateProfile "profile $firefoxProfile/m4v6pi7q.profile"
        
    7z x -y ./m4v6pi7q.profile.7z
    mv ./m4v6pi7q.profile/* "$firefoxProfile/m4v6pi7q.profile"
    sudo chown -R $user:$user "/home/$user/.mozilla/"
    rm -rf m4v6pi7q.profile.7z m4v6pi7q.profile
fi

On Windows the following piece of code allows to create a profile for the administrator user


$ProgramsPath=${env:ProgramFiles}
$FirefoxProfile="$env:USERPROFILE\AppData\Roaming\Mozilla\Firefox\Profiles\u9w6vbcj.profile"
if(-Not (Test-Path $FirefoxProfile))
{
	$LocalProfile="$env:USERPROFILE\AppData\Local\Mozilla\Firefox\Profiles\*"
	if(Test-Path $LocalProfile)
	{
		Remove-Item $LocalProfile -recurse
	}
	
	$RoamingProfile="$env:USERPROFILE\AppData\Roaming\Mozilla\Firefox\Profiles\*"
	if(Test-Path $RoamingProfile)
	{
		Remove-Item $RoamingProfile -recurse
		Remove-Item "$env:USERPROFILE\AppData\Roaming\Mozilla\Firefox\profiles.ini"
	}
	& "$ProgramsPath\Mozilla Firefox\firefox.exe" -CreateProfile "profile $FirefoxProfile"

	& "$ProgramsPath\7-Zip\7z.exe" x -y .\u9w6vbcj.profile.7z
	move .\u9w6vbcj.profile\* $FirefoxProfile -force
	Remove-Item .\u9w6vbcj.profile.7z
	Remove-Item .\u9w6vbcj.profile
}

How can I create firefox profiles from a sudo/administrator user for each user (sudo/administrator and not sudo/administrator) of the system? On Linux/Ubuntu I tried with this code


usersList=$(getent passwd | grep -vE '(nologin|false)$' | \
awk -F: -v min=`awk '/^UID_MIN/ {print $2}' /etc/login.defs` \
-v max=`awk '/^UID_MAX/ {print $2}' /etc/login.defs` \
'{if(($3 >= min)&&($3 <= max)) print $1}' | \
sort -u)

for systemUser in $usersList; do
    echo $systemUser

    firefoxProfile="/home/$systemUser/.mozilla/firefox"
    firefox -CreateProfile "profile $firefoxProfile/m4v6pi7q.profile"
    7z x -y ./m4v6pi7q.profile.7z
    mv ./m4v6pi7q.profile/* "$firefoxProfile/m4v6pi7q.profile"
    chown -R $systemUser:$systemUser "/home/$systemUser/.mozilla/"
    rm -rf m4v6pi7q.profile.7z m4v6pi7q.profile
    
done

but it does not work and this is the output


sudo ./user.sh 
foo
Success: created profile 'profile /home/foo/.mozilla/firefox/m4v6pi7q.profile' at '/home/foo/.mozilla/firefox/m4v6pi7q.profile/prefs.js'
admin
Success: created profile 'profile /home/admin/.mozilla/firefox/m4v6pi7q.profile' at '/home/admin/.mozilla/firefox/m4v6pi7q.profile/prefs.js'
jack
Success: created profile 'profile /home/jack/.mozilla/firefox/m4v6pi7q.profile' at '/home/admin/.mozilla/firefox/m4v6pi7q.profile/prefs.js'
chown: cannot access ‘/home/jack/.mozilla/’: No such file or directory
zorro
Success: created profile 'profile /home/zorro/.mozilla/firefox/m4v6pi7q.profile' at '/home/admin/.mozilla/firefox/m4v6pi7q.profile/prefs.js'
chown: cannot access ‘/home/zorro/.mozilla/’: No such file or directory

Why for the first two users is the directory for profile corretly set, while for the other is the directory of the user that executes the script /home/admin/.mozilla/firefox/m4v6pi7q.profile? I'm sorry for my very long question. Thank you


edit fixed link ~J99

Stillet af erotavlas for 5 år siden

Besvaret af erotavlas for 5 år siden

  • Løst
  • Arkiveret

How do I fix SEC_ERROR_LIBRARY_FAILURE?

I'm using Firefox Quantum and the day I installed it, everything was working great. But every since I've rebooted my PC, now I often get the error code SEC_ERROR_LIBRARY… (læs mere)

I'm using Firefox Quantum and the day I installed it, everything was working great. But every since I've rebooted my PC, now I often get the error code SEC_ERROR_LIBRARY_FAILURE when I try to load pages, like Google. Please advise.

Stillet af rb8888 for 4 år siden

Besvaret af jscher2000 for 4 år siden

  • Løst
  • Arkiveret

YouTube does not load properly in Firefox, but does in other browsers.

Yesterday or the day before, I tried going onto YouTube using Firefox, as I usually do, and this happened (see attached image). I tried clearing the cache and cookies, a… (læs mere)

Yesterday or the day before, I tried going onto YouTube using Firefox, as I usually do, and this happened (see attached image). I tried clearing the cache and cookies, and restarted my whole computer, and nothing changed. Firefox loads all other websites I frequently use just fine, and Chrome works just fine with YouTube, but for some reason, Firefox and YT are not mixing right now. Anyone have any suggestions?

Stillet af JAKQ7111 for 5 år siden

Besvaret af cor-el for 5 år siden

  • Løst
  • Arkiveret

Today’s Firefox windows update broke windows 10 connection to the internet.

This has happened to 5 individual computers updated at different times today. As each one updates it goes off line. LAN works fine but Firefox seems to have altered somet… (læs mere)

This has happened to 5 individual computers updated at different times today. As each one updates it goes off line. LAN works fine but Firefox seems to have altered something in windows 10 OS that kills that individual computers connection to the internet.

Stillet af suquamish for 1 år siden

Besvaret af FredMcD for 1 år siden

  • Løst
  • Arkiveret

Firefox freezes if I have more than 4 or 5 tabs open

For the past few months (it's October 2017) after starting the browser I can open 3 tabs tops before the browser slows down incredibly, things load slower, videos stop an… (læs mere)

For the past few months (it's October 2017) after starting the browser I can open 3 tabs tops before the browser slows down incredibly, things load slower, videos stop and start, ads don't close quickly. Eventually, 3 tabs or more tabs, the whole thing comes to a halt and freezes and I have to restart. I've cleared my history. Doesn't help. I don't know what to do. Thanks for any help.

Stillet af JenniferOcious for 4 år siden

Besvaret af FredMcD for 4 år siden

  • Løst
  • Arkiveret

Incorrect config on Firefox update

Firefox tried to update, per usual. There was an issue, and the program wouldn't open. I tried to uninstall/reinstall, and received the message below. Tried manually d… (læs mere)

Firefox tried to update, per usual. There was an issue, and the program wouldn't open. I tried to uninstall/reinstall, and received the message below. Tried manually deleting files and registry entry but got the same result. At this point I'm without firefox on my PC (Windows 10 64-bit). Any suggestions?

Stillet af twinlock for 4 år siden

Besvaret af twinlock for 4 år siden

  • Løst
  • Arkiveret

Which process should I end to kill Firefox 57.0?

Occasionally, any piece of complex software will stop responding, and need to be forcibly shut down. I had such an event today when the right-click (context) menus and t… (læs mere)

Occasionally, any piece of complex software will stop responding, and need to be forcibly shut down. I had such an event today when the right-click (context) menus and title-bar menus wouldn't appear. However, since upgrading to FF 57, I now see about 6 Firefox tasks and 6 firefox.exe processes in the Task Manager (Windows 10).

I like the feature of being able to restart Firefox (after killing it) and have my previous session restored, but the processes aren't really distinguishable in Task Manager, so I don't know which one to end/kill. I had to kill a few of them today before I stumbled upon the "main" process and Firefox disappeared. Can you help me to identify the main process for next time?

Stillet af azinyk for 3 år siden

Besvaret af azinyk for 3 år siden

  • Løst
  • Arkiveret

every website connection not secure, won't load images after exception

I was having issues with pop-up adds on a select few websites and was a bit concerned i had inadvertently downloaded some adware or other malware. So i ran a local scan w… (læs mere)

I was having issues with pop-up adds on a select few websites and was a bit concerned i had inadvertently downloaded some adware or other malware. So i ran a local scan with ESET and looked around for methods to remove malware that may or may not have been present. One of the posts i found (i cant find it now >.<) said to check add-ons for anything unusual and to hit "Refresh Firefox" after removing them. I saw only AdblockPlus so i hit 'Refresh Firefox'

Its after that point that i immediately had issues obtaining certificates for almost every website, it didnt matter that i had been using it fine 10 minutes ago. But even if i added an exception the website would only load as raw text, no video, no images (i tried to upload a picture but its not letting me for some reason). at this point i installed chrome (which works fine) and tried reinstalling Firefox (probably not a good idea in hindsight), which did nothing noticeable to solve the issue.

At this point I've done everything suggested here https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can

Stillet af lorage for 4 år siden

Besvaret af philipp for 4 år siden

  • Løst
  • Arkiveret

Youtube notifications constantly loading, never show up

I am starting this new thread, as the thread showing the issue as noted in my topic applies to me, but is currently going on with lastest firefox. I am using Windows 10 6… (læs mere)

I am starting this new thread, as the thread showing the issue as noted in my topic applies to me, but is currently going on with lastest firefox.

I am using Windows 10 64 bit and I tried everything, including safe mode, etc. etc. in the other thread ,and nothing is working.

Its not windows 10 because chrome and edge work fine regarding this issue.

I was unable toget 'automatically add' my info here in chrome browser, so I had to do it in FF ,and I'm pasting it here now:

{
  "application": {
    "name": "Firefox",
    "version": "46.0.1",
    "buildID": "20160502172042",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0",
    "safeMode": false,
    "updateChannel": "release",
    "supportURL": "https://support.mozilla.org/1/firefox/46.0.1/WINNT/en-US/",
    "numTotalWindows": 1,
    "numRemoteWindows": 0,
    "remoteAutoStart": false,
    "autoStartStatus": 2
  },
  "lockedPreferences": {},
  "graphics": {
    "numTotalWindows": 1,
    "numAcceleratedWindows": 0,
    "windowLayerManagerType": "Basic",
    "windowLayerManagerRemote": true,
    "supportsHardwareH264": "No; Hardware video decoding disabled or blacklisted",
    "numAcceleratedWindowsMessage": [
      ""
    ],
    "adapterDescription": "AMD Radeon HD 7700 Series",
    "adapterVendorID": "0x1002",
    "adapterDeviceID": "0x683f",
    "adapterSubsysID": "32481682",
    "adapterRAM": "2048",
    "adapterDrivers": "aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64",
    "driverVersion": "16.150.2401.0",
    "driverDate": "4-15-2016",
    "adapterDescription2": "",
    "adapterVendorID2": "",
    "adapterDeviceID2": "",
    "adapterSubsysID2": "",
    "adapterRAM2": "",
    "adapterDrivers2": "",
    "driverVersion2": "",
    "driverDate2": "",
    "isGPU2Active": false,
    "direct2DEnabled": false,
    "directWriteEnabled": false,
    "directWriteVersion": "10.0.10586.0",
    "direct2DEnabledMessage": [
      ""
    ],
    "webglRenderer": "Google Inc. -- ANGLE (AMD Radeon HD 7700 Series Direct3D11 vs_5_0 ps_5_0)",
    "info": {
      "AzureCanvasBackend": "skia",
      "AzureSkiaAccelerated": 0,
      "AzureFallbackCanvasBackend": "cairo",
      "AzureContentBackend": "cairo"
    }
  },
  "javaScript": {
    "incrementalGCEnabled": true
  },
  "accessibility": {
    "isActive": true,
    "forceDisabled": 0
  },
  "libraryVersions": {
    "NSPR": {
      "minVersion": "4.12",
      "version": "4.12"
    },
    "NSS": {
      "minVersion": "3.22.3 Basic ECC",
      "version": "3.22.3 Basic ECC"
    },
    "NSSUTIL": {
      "minVersion": "3.22.3",
      "version": "3.22.3"
    },
    "NSSSSL": {
      "minVersion": "3.22.3 Basic ECC",
      "version": "3.22.3 Basic ECC"
    },
    "NSSSMIME": {
      "minVersion": "3.22.3 Basic ECC",
      "version": "3.22.3 Basic ECC"
    }
  },
  "userJS": {
    "exists": false
  },
  "extensions": [
    {
      "name": "Firefox Hello Beta",
      "version": "1.3.2",
      "isActive": true,
      "id": "loop@mozilla.org"
    },
    {
      "name": "Multi-process staged rollout",
      "version": "1.0",
      "isActive": true,
      "id": "e10srollout@mozilla.org"
    },
    {
      "name": "Pocket",
      "version": "1.0",
      "isActive": true,
      "id": "firefox@getpocket.com"
    },
    {
      "name": "Search and New Tab by Yahoo",
      "version": "1.0.3",
      "isActive": true,
      "id": "jid1-16aeif9OQIRKxA@jetpack"
    },
    {
      "name": "Skype",
      "version": "8.3.0.9150",
      "isActive": true,
      "id": "{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}"
    },
    {
      "name": "anonymoX",
      "version": "2.5.2",
      "isActive": false,
      "id": "client@anonymox.net"
    },
    {
      "name": "Bing Search",
      "version": "1.0.0.6",
      "isActive": false,
      "id": "bingsearch.full@microsoft.com"
    }
  ],
  "experiments": [],
  "modifiedPreferences": {}
}

It's beyond annoying and I avoid FF because of it, so any ideas ?

ty

Stillet af cajunctionAI for 5 år siden

Besvaret af FredMcD for 5 år siden

  • Løst
  • Arkiveret

Every Firefox update fails, and now Firefox will not even start.

For days, every time I have started Firefox, it asked whether I wanted an update. Every time I clicked Yes to update Firefox, the update failed. So I found the Mozilla … (læs mere)

For days, every time I have started Firefox, it asked whether I wanted an update. Every time I clicked Yes to update Firefox, the update failed. So I found the Mozilla site for installing the latest version of Firefox. The installation seemed to go fine, but Windows 10 now gives the following message:

"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

I see nothing unusual in the Properties for what seems to be the Firefox executable. Of course, I can switch to GoogleChrome, but I prefer Firefox; in addition, all of my Firefox bookmarks are now gone.

Solution to these problems?

Stillet af Wallet for 4 år siden

Besvaret af Wallet for 4 år siden

  • Løst
  • Arkiveret

Bookmarks sync problems: Bookmarks keep rearranging themselves in the bookmarks toolbar, and do not sync completely on Windows and Android.

My setup I'm using Firefox 47.0 on Fedora (64-bit GNU/Linux) with GNOME shell, and on Windows 10 (64-bit). I also have Firefox Sync on an Android tablet, but I don't do a… (læs mere)

My setup

I'm using Firefox 47.0 on Fedora (64-bit GNU/Linux) with GNOME shell, and on Windows 10 (64-bit). I also have Firefox Sync on an Android tablet, but I don't do as much web browsing on my tablet, so I haven't needed to look at the bookmarks there...


The problem(s)

On Fedora, the bookmarks in the Firefox bookmarks toolbar rearrange themselves. The bookmarks in one folder shift from the bottom to the top, and some bookmarks in the toolbar shift from left to right. I arrange my bookmarks by loose priority, so this annoying. Whenever I notice the bookmarks being out of order, I drag them back to where they were, but they always move themselves again later. This has been an ongoing issue for a couple months; I've only seriously attempted to troubleshoot the issue over the past week or so, and I'm not having any luck.

I don't think I've ever noticed the bookmarks moving themselves in the middle of a session, so I believe it's actually happening when I close or launch Firefox. However, reproducing this issue has been tricky, since the bookmarks do not *always* shuffle themselves every time I launch Firefox. Depending on how often I open/close the application, I may notice the bookmarks moving themselves once every other day, or a couple times in a single day.

This may be a separate issue, but I noticed it around the same time: On Windows 10, my bookmarks do not sync at all. There three or four bookmarks in the toolbar, but these do not get updated when I change them on my Linux machine, and none of the other bookmarks have synced to the Windows machine.


Things that I've already tried

I've tried reverting my bookmarks to a recent automatic backup (Library > Import and Backup > Restore). No change.

I've tried disabling all addons. No change.

I tried refreshing Firefox, to "reset to factory defaults". No change.

I tried deleting the file `xulstore.json` in my Firefox profile. No change.

I tried installing and running the Places Maintenance extension. I didn't entirely understand all the text output it generated while running, but I don't think it found any real errors. Anyway, no change.

I tried backing up my exports to a JSON file, then closing Firefox, then deleting the places.sqlite file, then restarting Firefox, and importing the bookmarks JSON file. No change.

Bookmarks still rearrange themselves on Linux and do not sync at all on Windows  :(

Stillet af Android-the-Andrew for 5 år siden

Besvaret af Android-the-Andrew for 5 år siden

  • Løst
  • Arkiveret

Firefox loads in taskbar but doesn't display on desktop.

Firefox was working until yesterday. Now it loads in the taskbar and popups mini windows but never opens on the desktop so it can be used. I have uninstalled/reinstalle… (læs mere)

Firefox was working until yesterday. Now it loads in the taskbar and popups mini windows but never opens on the desktop so it can be used. I have uninstalled/reinstalled, rebooted...nothing helps. HELP!!! I want my Firefox back.

Stillet af cascher50 for 5 år siden

Besvaret af cascher50 for 5 år siden

  • Løst
  • Arkiveret

Firefox will not install on any of my Windows 10 computers. It just continuously has a moving bar, saying 'Now installing.'

Over the last month or so, I've had trouble installing Firefox version 55 (latest version) on any new Windows 10 laptops. It just continuously has a moving bar, saying 'N… (læs mere)

Over the last month or so, I've had trouble installing Firefox version 55 (latest version) on any new Windows 10 laptops. It just continuously has a moving bar, saying 'Now installing.' This is on Windows 10 ver 10.0.15063, which is the latest version of Windows 10, to my knowledge. This happens on all my new computers, right out of the box after installing a fresh copy of Windows 10. Does anyone have any ideas on how to get it to install? I've tried disabling Windows Defender, which didn't help.

Stillet af jodobr for 4 år siden

Besvaret af FredMcD for 4 år siden

  • Løst
  • Arkiveret

Download is taking unbelieveably long and then stops, then starts all over again

The "firefox setup" page with the green bar is taking way too long INFINITE -- Not only does this not work on this new this laptop I bought yesterday, but it also wont do… (læs mere)

The "firefox setup" page with the green bar is taking way too long INFINITE -- Not only does this not work on this new this laptop I bought yesterday, but it also wont download on my other laptop - 2 years old (same exact situation). So I can say there is something seriously wrong with your link or software.

This computer is running on all new hardware and software. Also, it doesn't work on my other laptop. Furthermore, this never happened with any other program or computer or browser ever in the past.

I am downloading Firefox for a masters program in analytics.

Stillet af AdamLaframboise for 5 år siden

Besvaret af cor-el for 5 år siden

  • Løst
  • Arkiveret

Firefox doesn't work even after reinstall

Firefox suddenly stopped working today. When I open it, it tells me that it's already open (which it isn't) and that it can't find or load my profile. If I go directly to… (læs mere)

Firefox suddenly stopped working today. When I open it, it tells me that it's already open (which it isn't) and that it can't find or load my profile. If I go directly to profiles and create a new one, I can open it, but all my bookmarks are gone. And then if I close and try to reopen it, the same thing happens--I can't open it and get the same error message.

One thing I figured out is that the profile can’t be read only, and I discovered that mine was (why I don't know), but when I try to uncheck read only, it instantly reverts back to read only, which is weird.

I’ve tried reinstalling Firefox several times, but it’s always the same, even with a brand-new installation, I can’t open it and get the same error message. What can I do if reinstalling doesn’t even work?

Stillet af carlwhart for 4 år siden

Besvaret af carlwhart for 4 år siden

  • Arkiveret

Recently installed Firefox is 64-bit and IE is 32-bit. What do I do about JAVA - 32 or 64 bit?

Since the new default installation for Firefox on Windows 10 is 64 bit, and my version of Internet Explorer is 32 bit(for maximal compatibility), what flavour of JAVA do … (læs mere)

Since the new default installation for Firefox on Windows 10 is 64 bit, and my version of Internet Explorer is 32 bit(for maximal compatibility), what flavour of JAVA do I install? 32 or 64 bit?

Stillet af artob for 4 år siden

Seneste svar af cor-el for 4 år siden

  • Arkiveret

I can't get the You Tube site to open on just Firefox.

Hi. I can't get You Tube to open on Firefox. All other sites work on Firefox and You Tube works on other browsers. If I click on a specific video saved to my favorites, … (læs mere)

Hi. I can't get You Tube to open on Firefox. All other sites work on Firefox and You Tube works on other browsers. If I click on a specific video saved to my favorites, it will play but the site itself doesn't show. Not sure what to do.

Stillet af gmaholly10 for 4 år siden

Seneste svar af cor-el for 4 år siden

  • Løst
  • Arkiveret

Firefox Won't Start - Claims it is Already Open

Firefox will not start. It claims to be already running, but that doesn't seem to be the case. I have tried creating a new user profile but when I try to open Firefox no… (læs mere)

Firefox will not start. It claims to be already running, but that doesn't seem to be the case.

I have tried creating a new user profile but when I try to open Firefox now, the "choose user profile" menu pops up. I have tried the new profile and they old one, and both give the same error message. "Firefox cannot use the profile "Default User" because it is in use. To continue, close the running instance of Firefox or choose a different profile."

There is an entry for firefox.exe in the "details" menu of my task manager, and nowhere else. When I try to end that task, I get the following error: "the operation could not be completed - Access is denied."

Due to some troubleshooting research, I've tried deleting the parent.lock file from my profile folder, but I get this error- "the action can't be completed because the file is open in Firefox."

I tried transferring my bookmarks and preferences from Firefox to Chrome, but I got a similar error suggesting that Firefox was already open and I would have to close it first.

I have also turned off my computer and uninstalled and reinstalled Firefox multiple times.

I'd really rather not lose all of my Firefox bookmarks, add-ons, and preferences. I also prefer using Firefox to Chrome, so if anyone can help me out I'd really appreciate it. I don't know what else to try.

My PC runs Windows 10, by the way.

Stillet af jimmyjkjr for 6 år siden

Besvaret af cor-el for 6 år siden