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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-09-2003, 11:02 AM
|
#1
|
LQ Newbie
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: Slackware
Posts: 21
Rep:
|
Can only watch dvd with xine as root user
hi i cant seem to play a dvd (in xine) when in logged in as my normal user.
When i run it as root is plays perfect....wats up???
btw i have installed the libdvdcss i
thanks
|
|
|
12-09-2003, 11:26 AM
|
#2
|
LQ Newbie
Registered: Aug 2003
Distribution: Slackware
Posts: 24
Rep:
|
Have you set permissions for your other users to use the application? To find out how to do this refer to the documentation of chmod by typing "man chmod" at a shell.
|
|
|
12-09-2003, 11:36 AM
|
#3
|
LQ Newbie
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: Slackware
Posts: 21
Original Poster
Rep:
|
yeh...i'd already done that....well i think what i tried was right.
I made the xine binary accessable for all users (chmod 777 xine)
here is the error message I get from xine :
-xine engine error-
input plugin failed to open mrl 'dvd:/'
and also:
The source can't be read.
Maybe you don't have enough rights for this
|
|
|
12-09-2003, 11:38 AM
|
#4
|
LQ Newbie
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: Slackware
Posts: 21
Original Poster
Rep:
|
yeh...i'd already done that....well i think what i tried was right.
I made the xine binary accessable for all users (chmod 777 xine)
here is the error message I get from xine :
-xine engine error-
input plugin failed to open mrl 'dvd:/'
and also:
The source can't be read.
Maybe you don't have enough rights for this, or source doesn't contain data (e.g. no disc in drive). (/dev/cdrom)
any further ideas?
|
|
|
12-09-2003, 01:24 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Indeed, the users will need read/write
permissions to the raw device... the
proper way to set that up is to create
a group dvd, add your user to that group,
and
chgrp dvd /dev/<rawdevice>
chmod ug=rwx,o=r /dev/<rawdevice>
Cheers,
Tink
|
|
|
12-09-2003, 11:25 PM
|
#6
|
Member
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173
Rep:
|
xine tends to make my machine reboot when it's playing video of any sort, but not audio only... anyone else having this weird occurance?
|
|
|
01-05-2004, 09:07 AM
|
#7
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 10 Official
Posts: 38
Rep:
|
G'day.
I'm having the same problem - can watch DVDs only as root user.
Tinkster,
I have followed your advice and set up a group called 'dvd'. Then I added the user in question to this group. Next I did the
Quote:
chgrp dvd /dev/<rawdevice>
chmod ug=rwx,o=r /dev/<rawdevice>
|
thingo, whereby I was not sure what the 'raw device' was. So I did it twice, once with /dev/cdrom (dvd combo drive) and once with /dev/dvd. Was this the right thing to do? How do I find out what my 'rawdevice' is, or do I actually type in <rawdevice>?
The problem remained unchanged. Still getting error messages as user (the same ones as mentioned in previous posts in this topic).
Please help. Thanks !
|
|
|
01-05-2004, 01:02 PM
|
#8
|
Senior Member
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168
Rep:
|
I believe the raw device is called /dev/rdvd by default, but it's shown on one of the tabs in xine's setup dialog (video tab I think). Might have to change to "expert" view on first tab though.
|
|
|
01-06-2004, 07:57 AM
|
#9
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 10 Official
Posts: 38
Rep:
|
Thanks for your reply.
The options in the Xine setup tabs (expert level) are:
Video tab - dev/syncfb......doesn't work with above chmod commands either (doesn't exist)
dxr3 tab -/dev/em8300-0.........haven't tried it yet
input tab - /dev/cdrom............tried and makes no diff.
there are other file paths to other files, but none in the /dev directory.
I've tried rebooting etc. I've checked that the user is part of the dvd group.
Any other ideas ....please
|
|
|
01-06-2004, 11:14 AM
|
#10
|
Member
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524
Rep:
|
Do this in a console:
ls -l /dev/dvd
You should find out what device it points to. It should be owned by root and the group dvd. If not:
It'll be something like /dev/hdd or /dev/scd0 (if you have SCSI drives, or SCSI emulation)
Then do something like:
chown root:dvd /dev/hdd
If you don't HAVE /dev/dvd then type "dmesg" and look for a line similar to this:
hdc: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive
This would imply that the DVD is /dev/hdc
Then do the above
Hope this helps
Guy
|
|
|
01-07-2004, 09:39 AM
|
#11
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 10 Official
Posts: 38
Rep:
|
Thanks Guygriffiths,
I did as you said and the following resulted:
Code:
lrwxrwxrwx 1 root dvd 3 Jan 2 22:40 /dev/dvd -> hdc
I then typed "chown root:dvd /dev/hdc"
I went through a file explorer (Konqueror) and checked out the permissions on the file /dev/hdc and found that under the 'Ownership' section of the properties window to this file :
User: root
Group: dvd
Everyone has read write and execute permissions except 'others'.
But still, can only use Xine as root user and still getting error messeages as mentioned my others above when trying as another user.
Is my prob maybe at a more fundamental level - perhaps I haven't set the group 'dvd' up correctly?
Going through KDE System Settings / Users and Groups, then choosing the Groups tab I can clearly see that there are two groups. one is called 'oliver' (the one and only user on the system other than the root user) and the other is called 'dvd'. Now behind that (in 'Group Members') I can clearly see that 'oliver' is part of both those groups.
I just don't know where the problem may be.
Thanks for your patience folks. Please help me solve this problem.
|
|
|
01-07-2004, 10:10 AM
|
#12
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 10 Official
Posts: 38
Rep:
|
SOLVED THE PROBLEM !!!!!
It was fundamental indeed. I assumed that Xine would set itself up in the user account, the same as it does in the root account. For some reason this was not so and therefore in the user account , in the 'Input' tab in the settings, the 'device used for dvd' was not pointing to my cdrom drive. I changed these settings in the user account (so that they are the same as in the root account) and ...elpresto, DVD fully working.
Hope you're not all as confused as I am now
Thanks for your patience and help everybody. It did enable me to find a solution in the end ....eve if it was the long way around.
|
|
|
01-07-2004, 11:36 AM
|
#13
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
Quote:
Originally posted by oliwally
SOLVED THE PROBLEM !!!!!
Thanks for your patience and help everybody. It did enable me to find a solution in the end ....eve if it was the long way around.
|
but by posting your solution, maybe it will be a shorter way around in the future for someone else with the same problem. thanks.
|
|
|
01-08-2004, 01:48 PM
|
#14
|
Member
Registered: Apr 2001
Distribution: Gentoo 1.4_rc3; Slackware 8.1; Red Hat 8.0
Posts: 49
Rep:
|
I get the exact same error as you were getting as a user, however I get this error as root also.
Code:
-xine engine error-
Code:
input plugin failed to open mrl 'dvd:/'
I read your resolution and don't really follow. What do you mean you thought XINE would set itself up in the user account. Is there a group or something that XINE creates that users need to be a part of?
|
|
|
01-08-2004, 02:30 PM
|
#15
|
Member
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524
Rep:
|
He means (I think) that you have to set up Xine with it's setup menu for every user you run it with, because it creates ~/.xine config files.
You will need to setup the dvd device in the setup (go to top level "master of the known universe" or something first)
|
|
|
All times are GMT -5. The time now is 10:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|