Spotify does not open

Hello Community. I installed different versions of Spotify and when I run it on Ubuntu Mate it gets closed. I acknowledge the solution.

You've provided few specifics for us to actually provide help with.

We don't know what release you're using, but I just snap install spotify on my release & it opened fine on my release.

For us to provide help, you need to provide some actual details; what are you running? how did you install it? how did you run it? did you try running it from terminal and get any unusual or error messages? was their a crash file generated if it closed? etc.

5 Likes

Thank you for your response. Firstly, I installed on Snap Store. Then, I downloaded different versions for x32 and x64 bits from a web site on Internet. The program gets installed but when I run it, the program opens in black screen for few seconds and then it gets closed. It doesn't show the icons of the software. It's an old machine and I installed Ubuntu Mate Minimal in order to use less resources. I though it could be the firewall, so I installed Gufw to create an exception to let the ports open tu run the app. The firewall exception is not created yet, waiting for the response to figure up the cause. The architecture is 64 bits.

Are you set on Spotify or do you just want to listen To music? If it is to listen you can with your web browser. There are both commercial and Internet stations.

Here are two of my favorite:

Using Mate 24.04.1 I get the same result with Flatpak installed through Software with this error message:

ldconfig failed, exit status 256

I don't use Spotify so no big deal to me but I was able to recreate the issue.

Edit: When launched from Applications menu it works fine.The error occurs only when opened from the Software center.

1 Like

Please be clear with details; Ubuntu's main releases are year.month in format, and you've not said what Ubuntu MATE you actually installed.

  • Ubuntu MATE 24.10 is the 2024-October release
  • Ubuntu MATE 24.04 LTS is the 2024-April LTS release
  • Ubuntu MATE 22.04 LTS is the 2022-April LTS release
    etc

64bits is also vague; as there is amd64, arm64, pcc64el, riscv64 or many 64-bit; though only ARM has 32 & 64 bits now, so a reasonable assumption where 64 bits is mentioned is arm64, but I doubt that's what you're using (especially with reference to x32 & x64)

When visiting the snap store on my box (likely a different release) I get a number of versions from different channels (edge, stable etc) and different versions 1.2.48.405.gf2c4.. 1.2.50.335.g5e2..) but you've not said which you actually tried.

Please try and be specific with details, starting with what Ubuntu MATE release you're using (minimal is the type of install and tells us what was installed if we know the release)

2 Likes

What is the output of snap list spotify command? When installed via App Center I see:

snap list spotify
# Name     Version               Rev  Tracking       Publisher  Notes
# spotify  1.2.48.405.gf2c48e6f  80   latest/stable  spotify✓   -

There may be some clues in your system logs, e.g. check for errors recorded in the system log since most recent boot:

journalctl -p3 -b0
3 Likes

I solved the matter listening on the website. I guess the app with mimimal installation of UM may have a problem. I just use spotify to listen to music.

2 Likes

To show that a minimal installation is a problem, one would need to demonstrate that the alternative (a full installation) solves the problem. A better approach (compared to re-installing) to diagnose the problem would be a process of elimination, starting with what can be seen in the system log when the crash occurs. Good luck :four_leaf_clover: !

3 Likes

Have you tried the Spotify repository? I used it a few years ago, but am not a fan of Spotify in general. This was Last Updated: March 29, 2023

Install Spotify via Terminal on Debian, Ubuntu, and Linux Mint
Spotify for Linux is available as a Debian .deb package which you can install on Debian and Ubuntu Linux and its derivatives.

First, add the Spotify Debian repository key by running the following curl command.

$ curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg

Next, add the repository configuration to your systems package manager configuration:

$ echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

Now update the local package cache to fetch the list of packages from newly added repositories.

$ sudo apt-get update

Then install the Spotify client with the following command.

$ sudo apt-get install spotify-client

How to Install Spotify on Debian, Ubuntu, and Linux Mint

4 Likes