[问题]用MPD碰到问题了!

Totem,mplayer,sopcast,realplayer,bmp
回复
alertsniper
帖子: 296
注册时间: 2007-09-22 21:49
联系:

[问题]用MPD碰到问题了!

#1

帖子 alertsniper » 2008-07-11 14:52

本人看了一些网上的文章,运行MPD的时候碰到了问题,这是怎么回事?

代码: 全选

alertsniper@alertsniper-desktop:~$ mpc playlist
MPD_HOST and/or MPD_PORT environment variables are not set
error: problems getting a response from "localhost" on port 6600 : Connection refused
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12

#2

帖子 solcomo » 2008-07-11 14:55

mpd没运行
alertsniper
帖子: 296
注册时间: 2007-09-22 21:49
联系:

#3

帖子 alertsniper » 2008-07-11 15:06

alertsniper@alertsniper-desktop:~$ mpd --create-db
cannot init supplementary groups of user "alertsniper" at line 35: Operation not permitted
Can't open db file "/var/lib/mpd/tag_cache" for reading/writing: Permission deni ed
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12

#4

帖子 solcomo » 2008-07-11 15:13

/etc/mpd.conf 的 user "mpd" 改成 user "你的用户名"
或者复制 /etc/mpd.conf 的内容到 ~/.mpdconf 再把 user 改了
然后停止mpd服务再打开
alertsniper
帖子: 296
注册时间: 2007-09-22 21:49
联系:

#5

帖子 alertsniper » 2008-07-12 10:36

问题是我的用户名就是alertsniper阿!那个mpd.conf文件里的用户名我改了阿!
头像
bocelli99
帖子: 525
注册时间: 2007-07-10 12:16

#6

帖子 bocelli99 » 2008-07-12 11:30

像一条秋天的道路:还未来得及扫干净,它又为干枯的树叶所覆盖。

The Kafka Project http://www.kafka.org
回复