We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
fredleason
2 years agoExplorer | Level 4
Audio files not showing on Linux (Fedora) mounted directory.
I used headless install to install 178.4.4811 and executed .dropbox-dist/dropboxd. The folder shows the directory structure that I see when I use the browser. However some directories on the browser ...
- 2 years ago
Ahahh...😯 fredleason, you're falling in trap of one old Dropbox application bug. It's signaled multiple times for (I personally too), but nobody take care about yet. 🤷 Linux is not so important for Dropbox; this is confirmation once again.
The issue is that Dropbox rely on opening browser with script written in temporary file in temporary folder. All good, but in latest browser releases, working on Linux, this practice is considered insecure and is forbidden already. That's it; better don't rely this bug to be fixed soon.
Fortunately there is a workaround. Run in your terminal something like:
export DISPLAY= ~/.dropbox-dist/dropboxd
Next the initialization, you will be invited to open printed link. Using this link you can link your new install to your account. 😉
Hope this helps.
Add: There is chance the link not to work immediately; refresh your browser frame next couple of seconds.
fredleason
Explorer | Level 4
I removed sudo and the browser opened
Not sure how to check the client for a new one.
Здравко
2 years agoLegendary | Level 20
Ahahh...😯 fredleason, you're falling in trap of one old Dropbox application bug. It's signaled multiple times for (I personally too), but nobody take care about yet. 🤷 Linux is not so important for Dropbox; this is confirmation once again.
The issue is that Dropbox rely on opening browser with script written in temporary file in temporary folder. All good, but in latest browser releases, working on Linux, this practice is considered insecure and is forbidden already. That's it; better don't rely this bug to be fixed soon.
Fortunately there is a workaround. Run in your terminal something like:
export DISPLAY= ~/.dropbox-dist/dropboxd
Next the initialization, you will be invited to open printed link. Using this link you can link your new install to your account. 😉
Hope this helps.
Add: There is chance the link not to work immediately; refresh your browser frame next couple of seconds.
- Briain2 years agoHelpful | Level 5
Thank you for this cool solution! 🙂
This trick worked perfectly, but it's worth noting that you need to first close the Dropbox application (right click on the application icon on your task manager, then elect to 'Quit Dropbox'), then you can run the two lines in the terminal, wait for a wee while until it generates a few links (from memory, the first two were different, from each other, then the third and subsequent links were the same as each other) then copy and paste the link into the browser and when prompted, elect to link your computer to the account. Then you can open the Dropbox application and it will be signed in.
For information, the above successfully worked on my laptop running Kubuntu 23.04 with Plasma 5.27.04
Thank you once again, and as commented (by fredleason) in the post above this one, outstanding!
NB I've edited the above to correct an ambiguity (see Здравко's post on next page about it already being installed) and I've corrected a typo (Close Dropbox should be Quit Dropbox) so hopefully that will help anyone chancing upon this post. 😉
- Здравко2 years agoLegendary | Level 20
Hi Briain,
Glad to hear that helped you. 😉 I want clarify some possible terms mistakes and bad practices.
Briain wrote:..., but it's worth noting that if you've already installed the Dropbox application, ...
If you haven't Dropbox application already installed (including the daemon; it happens on first try launch), you can't do anything described above. So it's mandatory the application (more precisely the daemon) be installed in advance.
Briain wrote:..., right click on the application (on your task manager) and elect to close it, then run the two lines in the terminal ...
Dropbox application (again - more precisely the daemon) is a singletion application (may have only one running instance or it's supposed to be at least). If there is already running application instance, you shouldn't be able run another one (or least within the same user context)! So you should make sure it's so - either autorun isn't active or (as you noted) close already running instance - might be better using 'Quit Dropbox' entry in the icon context menu or 'dropbox stop' command in terminal instead of forcibly killing/terminating (through some task manager or in any other way).
Have a nice day.
- Briain2 years agoHelpful | Level 5
Hi Здравко
Thank you for clarifying these points; most appreciated! I've edited the original post (with a note to explain why I've edited it and with a reference to your above post) in case anyone stumbles across it, without thinking to move onto the next forum page and read further.
Have a great day, too!
🙂
- fredleason2 years agoExplorer | Level 4
Thanks. Unfortunately, I got a Qt:Fatal
[*******@fedora ~]$ export DISPLAY=~/.dropbox-dist/dropboxd [*******@fedora ~]$ ./.dropbox-dist/dropboxd dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/cryptography.hazmat.bindings._openssl.abi3.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/cryptography.hazmat.bindings._padding.abi3.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/apex._apex.abi3.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/tornado.speedups.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/PyQt5.QtCore.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/PyQt5.sip.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/PyQt5.QtGui.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/PyQt5.QtWidgets.so' dropbox: load fq extension '/home/*******/.dropbox-dist/dropbox-lnx.x86_64-179.4.4917/PyQt5.QtDBus.so' b'!! (Qt:Fatal) QXcbConnection: Could not connect to display /home/*******/.dropbox-dist/dropboxd' XXX lineno: 938, opcode: 4 Segmentation fault (core dumped) [*******@fedora ~]$ echo $DISPLAY /home/*******/.dropbox-dist/dropboxd
It's strange because in my initial installation I did get a browser open with a key.
- Здравко2 years agoLegendary | Level 20
Yes, of course. You assigned invalid value to DISPLAY! After try to connect to a fake display, crash is something possible. Execute the lines exactly as they are (there are 2 lines), don't change anything! The first line clears the display (empty after equal sign), doesn't assign something. As alternative you can unset/wipe out the DISPLAY variable (the same effect).
- fredleason2 years agoExplorer | Level 4
Thank you. That allowed me to install Dropbox. And the audio files are displaying. Outstanding!
- humbertobrandao2 years agoExplorer | Level 4
I reinstalled my Ubuntu 22.04.2 and now I can't link my Dropbox account to my laptop. The message is "Invalid URL. Please check your client for a new one."
I tried to use EXPORT DISPLAY = "" and calling after the dropbox... but the links are showing me always the same message.
my dropbox version is V179.4.4985.- Briain2 years agoHelpful | Level 5
Hi
I'm not sure why my one showed a different links (I can't recall whether it was one or two) but it then started repeatedly generating the same link (every few seconds) so I simply copied that one and pasted it into my browser. When time permits, I'll try a test installation on another machine (I've a defective Windows machine to fix, so assuming it turns out to be repairable, once sorted I'll make it dual boot and also install Linux) to see what that one does when I run these two lines.
Anyhow, what happened when you copied and pasted that link into the browser's URL field; did it work?
Briain
- humbertobrandao2 years agoExplorer | Level 4When trying to copy the link, the result is the same. Same error. Same page.
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
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!