LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-26-2004, 10:56 PM   #1
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Rep: Reputation: 15
xmms speeds threw songs


hey whats up. i think im making this place my posting place. basicly everytime justlinux.org (formerly linuxnoobie.org or something like that) doesnt or wont answer my question i find the answer here.

anyway i downloaded and installed the new version of xmms from rpm. i also for some reason installed xmms from tars the day before.

soooo, now if i run xmms as root it plays just fine. however when i run as a non root user it just scrolls threw my songs silently. i wouldnt mind running the program as root but i use fluxbox and the config file that controlls my menu is in my other account.

it looks like this

Code:
[exec] (xmms player) {xmms}
is there a way i could make it look like this?


Code:
[exec] (xmms player) {su | xmms}
or should i work on installing xmms as a regular user?


anyway thanks in advance

 
Old 02-26-2004, 11:21 PM   #2
jlturbos
Member
 
Registered: Jun 2002
Location: Pennsylvania
Distribution: Anything and Everything
Posts: 61

Rep: Reputation: 15
You shouldn't need to run any program as root in order to make it work properly! That's called a kludge and we will work on a real solution.

What do you mean it scrolls through the songs silently? Do you mean it scrolls slowly, as tho they are playing, except no sound comes out.
Post the output of this command and see what you get:
# ls -log /dev/dsp
I get:
lr-xr-xr-x 1 9 Feb 25 20:40 /dev/dsp -> sound/dsp
so then I do:
# ls -l /dev/sound/dsp
and I get:
crw-rw-rw- 1 root audio 14, 3 Jan 1 1970 /dev/sound/dsp
meaning I can write to the audio device.
If you get something like:
crw------- 1 root audio 14, 3 Jan 1 1970 /dev/sound/dsp
That means you can't write to the sound card and you need to do as root:
# chmod 666 /dev/sound/dsp

If when you say it scrolls through songs, it scrolls very quickly, that could mean that you don't have read permissions on the directory where the songs are held.
Then do:
# chmod a+r /your/song/directory/
and that should work.

JL
 
Old 02-26-2004, 11:31 PM   #3
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
dude you shouldnt be running X as root, bad things can happen
 
Old 02-27-2004, 12:20 AM   #4
king_nothingzzz
Member
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Red Hat Enterprise Linux 4
Posts: 120

Rep: Reputation: 15
The way i see it, there is no problem with the permissions etc...
I think when running as a normal user, you havent selected the proper input/output plugin.

1. Run Xmms as a normal user

2. Cntrl + P

3. Under Input Plugins, make sure all the plugins are enabled (like mp3, wav, ogg etc..)

4. In outout plugin, it should be either *OSS Driver* or *eSound Output Plugin* and NOT Disk Writer Plugin

What is probably happening is that you have Disk writer Plugin as your output plugin and xmms is converting all your mp3s into wav files and placing them in your home directory....

This is the solution to your problem if songs run 2-3 times faster than normal and no sound is output...

Cheers

king_nothingzzz
 
Old 02-27-2004, 08:49 AM   #5
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by king_nothingzzz
What is probably happening is that you have Disk writer Plugin as your output plugin and xmms is converting all your mp3s into wav files and placing them in your home directory....
unbelievable. that was exactly it. i love this site.


thanks so much!
 
Old 02-28-2004, 12:34 AM   #6
king_nothingzzz
Member
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Red Hat Enterprise Linux 4
Posts: 120

Rep: Reputation: 15
No worries,

Thanks anyways for letting other people know what the prob was...

Cheers

king_nothingzzz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
xmms doesnt play songs John_Emad Linux - Software 4 09-05-2005 08:02 AM
XMMS stops between songs. bad_andy Linux - Software 8 02-22-2005 07:28 AM
XMMS radio songs chocobanana Linux - Software 0 12-20-2004 12:53 PM
XMMS Rate songs for iPod use GT_Onizuka Linux - Software 0 06-06-2004 07:58 PM
xmms cannot play songs if user is not root zhangxd6 Debian 3 01-25-2004 12:54 PM

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

All times are GMT -5. The time now is 10:16 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration