LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2007, 05:57 AM   #1
Cluracan
LQ Newbie
 
Registered: May 2007
Location: Brisbane, QLD, AU
Distribution: Gentoo, LFS, Slackware, (K)ubuntu
Posts: 18

Rep: Reputation: 0
Problem with rplay: "rplayd: 127.0.0.1 permission denied"


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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TFTP server returns "Error Code 0: Permission Denied" gi99 Linux - Networking 2 04-19-2011 06:17 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
"Permission Denied" while accessing ntfs partition in user mode funkymunky Linux - General 3 01-31-2009 08:03 PM
Acrobat Reader "error opening document - permission denied" Robhogg Linux - Software 5 04-25-2008 08:44 AM
Eclipse SDK v3.0 running problem: "Permission denied" AlexDunnCpp Linux - Newbie 1 08-03-2004 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration