LinuxQuestions.org
Review your favorite Linux distribution.
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 11-07-2003, 06:16 AM   #1
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Rep: Reputation: 15
Question DVD not playing as user!!!!


Hi people .

i have one short question. why can't i play DVDs with MPlayer logged as user. as root it is working perfect. i get the error message :

Couldn't open DVD device /dev/cdrom

any helpe would be appreciated!

thanks a lot!
 
Old 11-07-2003, 06:31 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Go into a console as root and type:
ls -l /dev/cdrom
You will probably get something including bits like this:

-r-xr-x--- [something] root root [something] /dev/cdrom --> /dev/hdx

(x will be a number)
or maybe:

-r-xr-xr-x [something] root root [something] /dev/cdrom --> /dev/hdx


If it's the first one, then you need to type:
chmod a+rx /dev/cdrom
if you want anyone to be able to use it.

If it's the second one, then you'll need to do:
ls -l /dev/hdx
And you should get something like
-r-xr-x--- [some other bits] root root [something] /dev/hdx
Then you'll need:
chmod a+rx /dev/hdx

If you don't want all users to be able to use it, you'll have to do the following:

groupadd dvd
chown :dvd /dev/cdrom
chown :dvd /dev/hdx


Then you'll have to edit /etc/groups and add the user names you want to be able to play DVDs to the group dvd.
Hope this helps
Guy

Last edited by guygriffiths; 11-07-2003 at 06:34 AM.
 
Old 11-07-2003, 07:08 AM   #3
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
Thanks a lot Guy,

that solved my problem! wow! one day maybe i will know as much as other cool users know!
Can you tell me why i can't eject my CD when i mount the DVD-Rom or why i can't mount it without CD inside it?

TheShemeta

Last edited by TheShemeta; 11-07-2003 at 07:13 AM.
 
Old 11-07-2003, 07:43 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
because it just doesn't mak sense.... what normally happens when you eject a CD in the middle of playing a game in widnows? BSOD? it shouldn't be possibloe to do it...

as for why not when it's empty.... well.. there's isn't anything there! what do you expect to happen??

Linux is deisgned to be stable... how stable is it to be able to physically remove a filesystem while it's in use??
 
  


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
DVD not playing Pr_009 Fedora 1 11-16-2005 01:24 PM
Ac3 Codec For .vob Dvd Needed, Playing a DVD lagu2653 Linux - Software 2 10-27-2005 10:13 AM
Playing a DVD cycletronic Linux - Hardware 3 08-07-2003 01:08 AM
DVD Writer / Playing DVD Problems MikeyCarter Linux - Hardware 3 02-07-2003 01:11 PM
dvd playing athenerx Linux - Newbie 14 01-11-2002 10:10 PM

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

All times are GMT -5. The time now is 03:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration