You are not logged in.
Pages: 1
So I was following this part of the wiki, and having read about access to music I also changed the user to "jonny" so it should be able to access my music at /home/jonny/music. Now when I start mpd I get this:
[jonny@jonny-arch ~]$ mpd ~/.mpd/mpd.conf
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
daemon: cannot init supplementary groups of user "jonny": Operation not permitted
Failed to load database: Database corrupted
What gives?
Offline
according to https://bbs.archlinux.org/viewtopic.php?id=55279, you'll either need to change the default location of the files created by the daemon or change the permissions on the ones already created. Check out the linked page if you have any more problems, seems pretty extensive.
"Unix is basically a simple operating system, but you have to be a genius to understand the simplicity." (Dennis Ritchie)
Offline
So I've commented out of the mpd.conf file the line about user, as it says it defaults to current user.
My problem now is it doesn't seem to start on boot, I have mpd ~/.mpd/mpd.conf in my ~/.xinitrc file, but for anything to work I still have to run the command mpd ~/.mpd/mpd.conf myself.
Offline
In addition to the 'user' in mpd.conf you should configure 'group' as 'users'.
What DE/WM do you run? For instance, in openbox you should add to .config/openbox/autorun.sh the command to run mpd as a user (mpd ~/.mpd/mpd.conf).
"I hate computers, why didn't I become a street musician?" - phrakture
Offline
If you're using a login manager, ~/.xinitrc probably doesn't do anything. Try adding it to the startup files for your particular DE / WM.
"Unix is basically a simple operating system, but you have to be a genius to understand the simplicity." (Dennis Ritchie)
Offline
I use Gnome3, I ran `gnome-session-properties` and added it there, but still, when I boot up I need to run the command.
Offline
Or as an XDG shortcut in «.config/autostart», then all XDG-compliant DEs and WMs will launch it.
EDIT: Ninjaed by OP.
Last edited by Wintervenom (2011-05-21 22:06:54)
Offline
Pages: 1