Linux Client: Stay logged in

Reply

Linux Client: Stay logged in

Jwpe
Casual Listener

I am currently encountering issues with the Spotify Linux client (version 1.0.11.131.gf4d47cb0) around staying logged in between restarts. When my computer is powered off, and then powered on again and the Spotify client launched, it will not reliably preserve my logged-in state, even with "Remember Me" switched on. Intermittently, but not always, I will be asked to log in again.

 

My OS is Ubuntu 14.04, running on a Dell XPS 13. 

 

Has anyone else encountered this problem? Is there a way to ensure consistent "Remember me" behaviour?

 

Thanks,

 

Jonathan

6 Replies

Re: Linux Client: Stay logged in

Dreadlord
Community Legend

Greetings @Jwpe,

 

You can try updating your Spotify to latest version and see if the issue persists.

 

You can find latest version for Linux here.

 

 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



Re: Linux Client: Stay logged in

Jwpe
Casual Listener

Hi @Dreadlord,

 

Upgraded to the latest available client version and this is still an issue. It might be worth noting that I also suffered this problem with the 0.x client before I switched to the 1.x beta.

Re: Linux Client: Stay logged in

Dreadlord
Community Legend

Hello @Jwpe,

 

Next time when Spotify requires authentication, can you please check your prefs file for the following lines :

 

autologin.blob=

autologin.canonical_username=

autologin.username=

autologin.saved_credentials=

 

You can check prefs file with the following command :

 

cat $HOME/.config/spotify/prefs

Also you can check your prefs file permission with following command :

ls -l $HOME/.config/spotify/pref

 Default permissions are :

-rw-rw-r-- ( 664 ).

 

 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



Re: Linux Client: Stay logged in

Jwpe
Casual Listener

Yep, all four of those lines are present and look like they are filled in correctly. The permissions for the file are as you described.

Re: Linux Client: Stay logged in

Dreadlord
Community Legend

Hey @Jwpe,

 

Thats odd. My best shot at the moment is to completly wipeout ~./config/spotify.

Exit Spotify

Run the following command :

 

 

rm -r $HOME/.config/spotify/

Start Spotify and log in.


If this does not solve the issue for you, I would like to take a look at strace output for Spotify.

 

strace spotify > $HOME/spotify-dump 2>&1

 

Also can you confirm your login method ( facebook or with user and password ) ?

 

Edit 1 : Temporary solution

 

cd $HOME/Desktop
echo spotify --username=YourUser --password=YourPassword | tee Spotify
chmod +x Spotify

 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



Highlighted

Re: Linux Client: Stay logged in

Jwpe
Casual Listener

Haven't experienced the issue the last few times, but I didn't blow away my config yet. If I encounter the issue again I will try that - thanks for the suggestions!

SUGGESTED POSTS