Opening Slack logs my user out of ubuntu

Solution 1:

This happened to me as well when installing from the snap repository.

I uninstalled the snap, removed the ~/.config/Slack folder and then reinstalled from deb file. I downloaded it from here: https://slack.com/downloads/linux

The app worked on first try and after reboot it kept working. Hope it helps.