Music on console (mocp) now needs root permissions? [Solved]

Discussions Regarding Software

Moderator: Moderators

Music on console (mocp) now needs root permissions? [Solved]

Postby joe3 » Fri Aug 03, 2012 16:40

I don't always listen to my music, and since I multi-boot, I'm not always using Sabayon when I do, so I can't say when it happened that something about "Music On Console" ( mocp ) now requires root or sudo to function...

I normally use only equo to install anything but because of an USE flag issue (since resolved) I had previously used emerge (with detailed instructions) to get a mocp that could actually play .wav files...

Which had worked. But when I happened to feel like music while running Sabayon on my laptop yesterday I tried to run mocp, but it crashed with this error:

Code: Select all
FATAL_ERROR: Can't send() int to the server!


However, I was able to run:

Code: Select all
sudo mocp


I don't think it should take root privileges to play music so since I'd heard the flag issue had been resolved, I tried updating mocp by removing it's entry from /etc/entropy/packages/package.mask and running:

Code: Select all
equo update && equo install media-sound/moc


I was a little surprised that equo didn't need to update any of mocp's dependencies... But after it was finished installing the one package, I again tried mocp (without sudo) And now I get this:

Code: Select all
Build signature doesn't match environment


FATAL_ERROR: Can't send() int to the server!



And, of course, it does still work if I use sudo...

If it matters, the user account that I've been trying to use is a member of the following supplemental groups:

Code: Select all
lp,wheel,uucp,console,audio,cdrom,video,cdrw,usb,users,portage,messagebus,haldaemon,plugdev,scanner,lpadmin,entropy,polkituser,vboxguest,pulse-access,pulse,games


Does anyone know what's actually happening here???

Or have any suggestions???



--
joe3
Last edited by joe3 on Sat Aug 04, 2012 18:45, edited 1 time in total.
User avatar
joe3
Growing Hen
 
Posts: 177
Joined: Sun May 06, 2007 21:28

Re: Music on console (mocp) now needs root permissions???

Postby stressat » Sat Aug 04, 2012 5:40

MOC works ok for me. Delete everything in ~/.moc/cache (rm -r ~/.moc/cache) and try again.
http://i.imgur.com/Y39Ne.jpg
stressat
Baby Hen
 
Posts: 19
Joined: Sun Sep 20, 2009 10:02
Location: Romania

Re: Music on console (mocp) now needs root permissions???

Postby joe3 » Sat Aug 04, 2012 15:13

I should have thought of that. Will try that tonight (when I get to play with the laptop...) But then again I wasn't thinking about the fact that using "sudo mocp" meant that to the mocp process
[ "~/.moc" = "/root/.moc" ] is effectively true...

I blame CRS syndrome (Can't Remember Shi^H^Htuff)

--
DumbMe


I tell ya, I'm lucky my head is {theoretically} still attached to my neck...
User avatar
joe3
Growing Hen
 
Posts: 177
Joined: Sun May 06, 2007 21:28

Re: Music on console (mocp) now needs root permissions???

Postby joe3 » Sat Aug 04, 2012 18:41

Yeah, that was it...

Thanks!
User avatar
joe3
Growing Hen
 
Posts: 177
Joined: Sun May 06, 2007 21:28

Re: Music on console (mocp) now needs root permissions? [Sol

Postby wolfden » Sun Aug 05, 2012 8:45

fixed title to [Solved] as per viewtopic.php?f=59&t=17059
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA


Return to Software in General

Who is online

Users browsing this forum: No registered users and 0 guests