Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
This is my second day of using Linux Mint and I have bunch of questions. Let's start with this one. I tried to play dvd movie yesterday night. I put disc in drive. And nothing happened. Like it's not in there. So I tried to double click (I'm old Windows user trying to learn new stuff) on cd/dvd disc in computer. It's unresponsive. I try right click run with application some kind of movie player. It says 'Could not open location. You might not have permission to open the file'.
So I installed VLC and did the same thing but same message appears.
So I look at google for the answer and didn't find much. And I was tired and went to sleep.
Today I wake up, turn on my laptop and surprise, surprise! There is some icon on my desktop saying 'Name of the show' (that was the dvd I was trying to open). So I double click it and there are all episodes. And I can now browse it and play any episode I want. So I say, 'hey, there must be something if I eject this dvd, and put it in again, I would have same problem as last night'. And I have. And problem is back. Now I cant play anything again. Please help.
You would need to mount the DVD or CD so that you can read it. When the DVD or CD is in the drive when you boot up, then it is mounted by the init process. You can change this behaviour if you would like to.
Read the man pages for mount under iso9660. A quick way:
Code:
mount -t iso9660 /dev/dvd /media/dvd
If you have the directories /media/dvd. You can add options to the mount for read permissions and write permission for different users.
^ i dont think you have to mount a dvd in order to watch it.
i never used linux mint but i always heard that media codecs are installed by default because they are based in ireland which is a non interpol country.
in a terminal, can you please show us what movie players you have installed:
Code:
which mplayer gmplayer vlc xine gxine totem
mplayer dvd://1 # would play the first chapter of a dvd using mplayer
xine dvd://1 # would play the first chapter of a dvd using xine
can someone post how to check if libdvdread libdvdnav libdvdcss is installed.
i use fedora and when i put in a dvd a pop-up asks me what i want to use to play it.
You would need to mount the DVD or CD so that you can read it. When the DVD or CD is in the drive when you boot up, then it is mounted by the init process. You can change this behaviour if you would like to.
Read the man pages for mount under iso9660. A quick way:
Code:
mount -t iso9660 /dev/dvd /media/dvd
If you have the directories /media/dvd. You can add options to the mount for read permissions and write permission for different users.
Code:
man mount
That might be a workaround, but there is something else going on. Linux Mint defaults to HAL/D-BUS either automounting removable media or creating the dekstop/file manager icon, which should mount it when clicked on. The basic process should be kernel detects the media, sends message to HAL, HAL dynamically creates a mount point under /media, sends message to D-BUS aware apps, like the Nautilus File Manager, Nautilus creates a desktop icon and file manager icon. That's changing some with the new devicekit-disks and gnome-device-manager as HAL is out as of Ubuntu 10.04/Mint 9.
Why this isn't working properly I don't know. Or why it would not mount and then later finally mount itself. Insert a disc and check the output of
i dont think you have to mount a dvd in order to watch it.
Yes, you need to mount the dvd device. Either Linux will automount it, or you need to mount it! No way around that one.
EDIT: in the default install of Linux Mint 8, it should automount the DVD and ask if you want to play it. And, it will play movie DVDs with libdvdcss. It defaults to Totem 2.28.1 using GStreamer 0.10.25. You don't need Linux Mint to play movie DVDs, you need a Linux distribution with libdvdcss installed.
For those who run Linux Mint 8, there seemed to be a problem with it switching sound output devices from "Internal Audio Analog Stereo" to "HDA ATI HDMI Digital Stereo (HDMI)" in that movies would play in fast forward mode without sound when doing so with Totem. You could tell Linux Mint about this so they can fix it.
Problem seem to be vanished. Now every time I put CD/DVD in DVD drive, Mint automatically mounts it and creates a desktop icon of the disk. I really don't know what happened the other day nor do I know how's it working now. Thanks all one more time.
Now it wouldn't mount automatically again. When I write in terminal:
Code:
mount -t iso9660 /dev/dvd /media/dvd
I get message:
Code:
mount: only root can do that
Where did I go wrong?
I have all libraries I think...
Code:
$ dpkg -l | grep libdvd
ii libdvdcss2 1.2.10-0.3medibuntu1 Simple foundation for reading DVDs - runtime
ii libdvdnav4 4.1.3-3 DVD navigation library
ii libdvdread4 4.1.3-5ubuntu2 library for reading DVDs
Hari
Last edited by Hari_Linoob; 02-24-2010 at 06:32 PM.
fyi: /dev/sr0 is the device node of your first scsi cd-rom device.
what the mount command does is make its file-tree available inside the directory /media/dvd
i think there is a program called udev which dynamically mounts removable media like usb harddrives, cd's/ dvd's ...
but for some reason it aint actin' rite ?
have you tried with more than 1 dvd; maybe its dirty or something ?
yea i tried several: dvd movie, cd music and dvd with divx on it.
all act the same: if i reboot with disc that is inside dvd drive, it automatically mounts on boot.
if however i eject them and then put them back in dvd drive, they can't be mounted automatically nor manually using terminal unless i reboot with disk inside.
my cd music is playing right now, so it isn't dirt.
do i have udev on helena by default, or i must install it manually?
Last edited by Hari_Linoob; 02-26-2010 at 09:23 AM.
i would assume so but i guess installing it again wouldnt break anytjing,
also it could be something wrong with something called hal
according to man hald
Quote:
Please also attach the output of lshal(1) in the bug report if possible (it's not possible if the hald daemon crashed). If the nature of the bug has to do with hotplugging, attach two outputs of lshal(1) - one before the device hotplug event and one after.
do this if you want to install: sudo apt-get install udev hal hald
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.