You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

foxtango's avatar
foxtango
New member | Level 2
9 months ago

failed to execute web browser firefox

when I start ~/.dropbox-dist/dropboxd 
I get the message Failed to execute default web browser
  • Hi foxtango,

    Your issue description is not complete, but in general there are 2 reasons for Dropbox application inability to open web browser. If you have headless install and not default web browser exists configured (or incompatible terminal type only available), the application need to authenticate your account and since cannot open compatible browser it fails. Some recent browsers configuration limited themself access to temporary resources. On other side Dropbox rely to open web browser only using such resources - application bug - known bug that doesn't accumulate any attention from Dropbox development (like many others bugs), unfortunately.

    To solve the first issue (if it is), you need to login without X redirection that confuses Dropbox application (and forces it to try opening something nonexistent). The second issue can be woraround as wiping out your DISPLAY environment variable and start Dropbox application in this context (so no more tries to open web browser, but the URL will be printed out on the terminal - where you can open it successful).

    By the way it's always good idea to use Dropbox package' tools (Dropbox control script) instead of running directly the daemon.

    Hope this helps.

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Hi foxtango,

    Your issue description is not complete, but in general there are 2 reasons for Dropbox application inability to open web browser. If you have headless install and not default web browser exists configured (or incompatible terminal type only available), the application need to authenticate your account and since cannot open compatible browser it fails. Some recent browsers configuration limited themself access to temporary resources. On other side Dropbox rely to open web browser only using such resources - application bug - known bug that doesn't accumulate any attention from Dropbox development (like many others bugs), unfortunately.

    To solve the first issue (if it is), you need to login without X redirection that confuses Dropbox application (and forces it to try opening something nonexistent). The second issue can be woraround as wiping out your DISPLAY environment variable and start Dropbox application in this context (so no more tries to open web browser, but the URL will be printed out on the terminal - where you can open it successful).

    By the way it's always good idea to use Dropbox package' tools (Dropbox control script) instead of running directly the daemon.

    Hope this helps.

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!