Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netease-cloud-music 无法正常启动 #132

Open
ksqsf opened this issue Mar 6, 2018 · 5 comments
Open

netease-cloud-music 无法正常启动 #132

ksqsf opened this issue Mar 6, 2018 · 5 comments

Comments

@ksqsf
Copy link

ksqsf commented Mar 6, 2018

系统版本:Debian stretch

ksqsf@veritas:~$ netease-cloud-music 
Gtk-Message: Failed to load module "canberra-gtk-module"
[0306/172437.142557:ERROR:nss_util.cc(802)] After loading Root Certs, loaded==false: NSS error code: -8018
Local file: "" ("netease-cloud-music")

删除 ~/.pki 后 nss 错误消失,但无法仍无法正常运行

ksqsf@veritas:~$ netease-cloud-music 
Gtk-Message: Failed to load module "canberra-gtk-module"
Local file: "" ("netease-cloud-music")

使用 root 权限可以运行

ksqsf@veritas:~$ sudo netease-cloud-music 
Gtk-Message: Failed to load module "canberra-gtk-module"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
@hosiet
Copy link
Member

hosiet commented Mar 6, 2018

另见 #120

@ksqsf
Copy link
Author

ksqsf commented Jun 11, 2018

目前唯一可靠的 workaround 是启动前移走 ~/.ICEauthority,启动后移回来(避免破坏其他程序),似乎对程序功能没有什么影响。

我觉得可以写一个包装脚本来自动做这件事。(由于没有发现 source pak,所以没有 PR。)

@bigshans
Copy link

https://www.zhihu.com/question/277330447/answer/478510195
这个我试了,需要把命令写到一个 shell 脚本里可以启动,desktop 里不能正常启动。个人 testing ,在cinnamon 下这样可以运行。

@bigshans
Copy link

啊啊,我是用官方 ubuntu 的版本。

@yunfhu
Copy link

yunfhu commented Dec 12, 2018

sudo执行可以用,亲测,可以在desktop配置里加sudo执行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants