Plan
Premium
Country
Finland
Device
Asus X52J
Operating System
Ubuntu 22.04.2 LTS
My Question or Issue
Spotify app is not starting. I only see black screen. no errors
Try to put some music on with phone and then open it. But works for me now. Maybe it is fixed... Atleast for 22.04
I have the same problem on Ubuntu 20.04 LTS. Latest Spotify app installed as .deb. The strange thing is that I updated to this version yesterday. When I started it, it used firefox to login and the ran fine. I shut the machine down for the night, and now when I try to start it it just opens a window with a black screen.
Would be nice if it presented some relevant error dialog instead of just locking up. 😕
Tried examine logging output of which there is a lot, but couldn't find anything apparent.
I used to have 1.1.55 running fine, but when this was killed I ran the web player for a while which sucked badly so I took the plunge hoping that it would be better but to no avail...
$ spotify --version Spotify version 1.2.11.916.geb595a67, Copyright (c) 2023, Spotify Ltd $
Could it be something with the weird login procedure? Why would the app need to call up the user selected system browser to do the login? That could fail spectacularly depending on which browser the user prefers. Better to use the actual Chrome browser that is embedded the app. The whole thing seems rather contrived to me, but feel free to explain the reasoning.
I can get it running once by killing the entries autologin.saved_credentials and autologin.blob in ~/.config/spotify/prefs.
Then it lets me login via the browser and the app starts. When I stop the app, those entries are written again and on the next start it is all black again.
fscked up login procedure in the client, bug confirmed!
Please fix the client and push an updated .deb to the repo ASAP.
ping
This bug is extremely annoying, having to edit the .config/spotify/prefs file manually everytime I want to start spotify. I don't think that's a good UX.
Could anyone please look at it at least instead of just ignoring it.
what is happening at spotify? is the company about to fold?
Nobody else finds this config editing and re-logging in tedious?
hello?
yo, this is beyond ridiculous...
bump
still broken. apparently no reaction here or at the support mail address. Maybe you have shut down for the summer, but this is a paid service so I think at least a reply would be in order. disappointed...
sigh...
bump 😞
Works for me now.
what do you mean phone? You mean having something playing on your phone, then opening spotify on your linux box? That's a pretty strange workaround and doesn't seem to work here on 20.04 at least. It's always all black and locked on the second start up after logging in. Removing the credentials from the prefs file always works in the sense that it lets me do the login all over and run one session.
for reference: dammarin has this same issue here: https://community.spotify.com/t5/Desktop-Linux/Spotify-Linux-Black-Screen-of-Emptiness/m-p/5627207#M22063
So I finally found a way to get this working. If I completely remove $HOME/.cache/spotify/ instead of just removing $HOME/.cache/spotify/Storage/ it starts to work correctly. As this wasn't listed in the troubleshooting thread I was a bit afraid to wipe that directory if it would wreck havoc with the state.
I'm not sure what in that directory would break the auto login procedure but it would have been nice with an error message instead of just locking up...
How do I mark this a solution?
Running into the same issue on Manjaro KDE, and found the same solution. Gotta say the age of this thread and the lack of responses doesn't give me hope for this being fixed anytime soon, but I'll drop some extra info in hopes of boosting the issue and getting the client working.
Interestingly, my client does successfully log in, but the window remains blank and non-functional. If I play music on another device, I still get track notifications on my computer. In addition, if I select the computer from spotify connect on the other device, sound will play as expected; alas, the window remains useless throughout all of this.
When starting Spotify from terminal with --show-console, I see quite a few errors, but none of them are especially descriptive. Still, most of them seem to be related to the login process, so I imagine it's likely they're related.
The first one is as follows:
16:58:16.975 I [f:245] aq: on GoOffline[Offline] -> [Offline] 16:58:16.975 E [f:221] aq: OnError reason: 3, error:User requested disconnect 16:58:16.976 I [f:245] aq: Disconnected 16:58:16.976 I [f:245] aq: on GoOnline[Offline] -> [Online]
This only happens once per launch, and appears to correct itself.
Next, there's this:
16:58:17.334 E [connect:471] ConnectConnectivityListener: received empty connection_id 16:58:17.334 D [connect:953] Connection lost
This one shows up three times for me
Another one is this:
16:58:18.397 D [connect_dial:423] DialDiscovery::checkForApp: http://10.111.135.79:8009/apps/com.spotify.Spotify.TVv2 16:58:18.407 E [connect_mdns:311] check for app failed: app_not_installed
This one pops up a bunch, with different IP addresses each time. I doubt this has anything to do with the app not working, so I won't spend any time on it.
Not aware of anything else noteworthy, and this comment is already way too long, so I'll end it here lol. Fingers crossed that they fix the app soon
I have the same problem and solution was running spotify with --no-zygote according this thread which was also solution to this problem. There is also possible to run with on Wayland with ozone switch command, but with this windows title is ugly and does not fit into desktop and also does not solve this problem which --no-zygote solve this...
But clicking on icon is another problem and need to adjust icon launch command which from console is working, but something like ALT-F2 also works with spotify --no-zygote