Moved from https://github.com/bitcoin/bitcoin/issues/27655.
Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
When I double-click the bitcoin-qt executable file in the graphical file manager, Bitcoin Core doesn’t start and this message pops up:
I think this issue is the same as described at https://fostips.com/double-click-run-elf-ubuntu/
The Bitcoin Core build process seems to set some properties on the ELF file so that Debian 11 thinks the file has mime type application/x-sharedlib
, and the file is thus treated as a shared library file. For Bitcoin Core 0.8.6, on the other hand Debian 11 shows the mime type to be application/x-executable
, and I’m able to start it by double-clicking it. The workaround mentioned in the link above makes modern Bitcoin Core versions double-clickable.
Yes, the file has the executable flag set:
0$ ls -l
1total 95944
2-rwxr-xr-x 1 demo demo 2412928 dec 6 16:53 bitcoin-cli
3-rwxr-xr-x 1 demo demo 15339968 dec 6 16:53 bitcoind
4-rwxr-xr-x 1 demo demo 39586776 dec 6 16:53 bitcoin-qt
5-rwxr-xr-x 1 demo demo 4112824 dec 6 16:53 bitcoin-tx
6-rwxr-xr-x 1 demo demo 2199488 dec 6 16:53 bitcoin-util
7-rwxr-xr-x 1 demo demo 9686216 dec 6 16:53 bitcoin-wallet
8-rwxr-xr-x 1 demo demo 24893312 dec 6 16:53 test_bitcoin
Expected behaviour
I expected Bitcoin Core to start in GUI mode
Steps to reproduce
Download bitcoin-24.0.1-x86_64-linux-gnu.tar.gz and unpack it. In the graphical file manager, I navigate to the bin folder and double-click on the bitcoin-qt file.
I tried also version 0.18.1, 0.20.0, 22.1 which all behaved the same.
I tried ancient version 0.8.6 and it worked as I would expect.
Relevant log output
No response
How did you obtain Bitcoin Core
Pre-built binaries
What version of Bitcoin Core are you using?
v24.0.1
Operating system and version
Debian 11
Machine specifications
x86_64