我已经更新到Ubuntu18.04和安装spotify从snap,但它没有启动。我尝试过几种解决方案,但都没有奏效。有人能帮我吗?
这就是我尝试运行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发布于 2021-12-29 08:25:52
还有一个类似的问题-- Spotify、Clion、Intellij,基本上我通过Ubuntu应用程序安装的所有东西都没有打开up...Additionally -- Ubuntu应用程序本身不会解决这个问题:
sudo apt autoremove gnome-software && sudo apt install gnome-softwarehttps://itectec.com/ubuntu/ubuntu-ubuntu-software-doesnt-open-in-ubuntu-20-04/
https://askubuntu.com/questions/1075741
复制相似问题