I'm running an LFS system on VMware Workstation. I'm using FVWM, and am trying to get the native rplay support working. After fighting with the rplay sources downloaded from
http://rplay.doit.org, I finally got the thing to compile and install. I've also installed xinetd, added entries for rplay in /etc/services (rplay 5555/udp, rplay 55555/udp, rptp 5556/tcp, rptp 55556/tcp), and created a /etc/xinetd.d/rplay file as follows:
Code:
# Begin /etc/xinetd.d/rplay
service rplay
{
disable = no
id = chargen-dgram
socket_type = dgram
protocol = udp
server = /usr/sbin/rplayd
server_args = --inetd
user = rplayd
group = audio
wait = yes
}
# End /etc/xinetd.d/rplay
I then compiled FVWM with rplay support and added the following lines to my .fvwm2rc:
Code:
AddToFunc InitFunction
+ I Module FvwmEvent
*FvwmEvent: Cmd builtin-rplay
*FvwmEvent: StartDelay 3
*FvwmEvent: Delay 1
*FvwmEvent: startup gong.au
*FvwmEvent: add_window wipe.au
*FvwmEvent: destroy_window pook.au
*FvwmEvent: iconify clong.au
*FvwmEvent: deiconify clong.au
*FvwmEvent: windowshade slide.au
*FvwmEvent: dewindowshade slide.au
*FvwmEvent: new_page slide.au
*FvwmEvent: new_desk slide.au
However, I get no sounds. So I stopped xinetd, and ran "sudo rplayd -d" in an xterm. It seems to start up correctly, no errors or warnings. So I open another xterm and run "rplay gong.au" (gong.au is defined in rplay.conf), and I get "rplayd: 127.0.0.1 permission denied". If I try "rplay nofile", I get four error messages:
Code:
rplayd: 127.0.0.1 permission denied
rplayd: 127.0.0.1 permission denied
rplayd: 127.0.0.1 RPTP access denied
rplayd: 127.0.0.1 permission denied
So this seems to tell me that it's seeing that there's a file there, but can't read it for some reason.
I've tried adding my host (as 127.0.0.1, localhost, and <hostname>) with rwx permission, and that didn't change anything. I've also checked the permissions on the sound files and folder they live in (rplayd:audio, rw-rw-r--), and the folders leading up to it (root:root, rwxr-xr-x). I'm not sure what other permissions I might need to check. Anyone have any ideas?