Spotify 无法启动

Spotify 无法启动

我已经更新到 Ubuntu 18.04 并从 snap 安装了 spotify,但它无法启动。我尝试了几种解决方案,但都不起作用。有人能帮我吗?

这是我尝试运行 spotify 时得到的结果

$ spotify
2018/09/16 14:06:45.629930 cmd_run.go:708: WARNING: cannot create user data directory: cannot create "/home/yaizaragones/snap/spotify/21": mkdir /home/yaizaragones/snap/spotify: permission denied
cannot create user data directory: /home/yaizaragones/snap/spotify/21: Permission denied

如果我使用 sudo 来执行此操作......

$ sudo spotify
mkdir: cannot create directory '/run/user/0': Permission denied
ln: failed to create symbolic link '/root/snap/spotify/21/snap/spotify/21/Documents': No such file or directory
ln: failed to create symbolic link '/root/snap/spotify/21/snap/spotify/21/Escriptori': No such file or directory
ln: failed to create symbolic link '/root/snap/spotify/21/snap/spotify/21/Baixades': No such file or directory
ln: failed to create symbolic link '/root/snap/spotify/21/snap/spotify/21/Música': No such file or directory
ln: failed to create symbolic link '/root/snap/spotify/21/snap/spotify/21/Imatges': No such file or directory
ln: failed to create symbolic link '/root/snap/spotify/21/snap/spotify/21/Vídeos': No such file or directory
ln: failed to create symbolic link '/root/snap/spotify/21/snap/spotify/21/Plantilles': No such file or directory
No protocol specified

(spotify:29226): Gtk-WARNING **: cannot open display: :0

相关内容