LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2006, 09:51 PM   #1
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Rep: Reputation: 30
Cd permissions help


I can't seem to get my cdrom permissions right. I can play a cd and dvd. I can look though the files on a dvd movie. When I put a dvd in that I created with pictures and movies on it I can't look though the directories. The directories have locks on them. I can see a file if its not in a directory. I have tried chmod and chown. I have also edited my fstab:

Quote:
dev/hda3 swap swap defaults 0 0
/dev/hdb1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hdb3 /home/extra defaults 1 2
/dev/hda1 /win ntfs ro 1 0
/dev/hdb2 /home/extra_fat vfat auto,rw,umask=000 1 0
/dev/cdrom /mnt/cdrom iso9660 ro,noauto,user,exec 0 0
/dev/cdrom1 /mnt/dvdrom iso9660 ro,noauto,user,exec 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/sda1 /mnt/usb vfat noauto,user,rw 0 0
I do thank everyone for there help!

Last edited by natewlew; 04-19-2006 at 01:05 AM.
 
Old 04-19-2006, 01:16 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You might be tired of seeing me, but here goes.
Code:
/dev/cdrom       /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/hda         /dvd1            auto        noauto,users,ro  0   0
/dev/hdc         /dvd2            auto        noauto,users,ro  0   0
Those are permissions for these two drives:
Code:
mingdao@silas:~$ dmesg | grep -i atapi
hda: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
hdc: PIONEER DVD-RW DVR-109, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
hdc: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(66)
They mount as user, and read as user; write to them with the usual tools.
To mount I issue:
Code:
mingdao@silas:~$ mount /dvd2
mingdao@silas:~$ cd /dvd2/
mingdao@silas:/dvd2$ ls -alh
total 6.5K
dr-xr-xr-x  4 4294967295 4294967295 136 2001-01-10 23:59 ./
drwxr-xr-x 35 root       root       936 2006-04-17 03:36 ../
dr-xr-xr-x  2 4294967295 4294967295  40 2001-01-10 23:28 AUDIO_TS/
dr-xr-xr-x  2 4294967295 4294967295 612 2001-01-10 23:28 VIDEO_TS/
mingdao@silas:/dvd2$ cd
mingdao@silas:~$ umount /dvd2
mingdao@silas:~$ eject /dvd2
mingdao@silas:~$
That was a DVD movie, which will also play in Xine. But to play a DVD, or a regular music CD, you don't mount the disc. A data disc is different, though. I just mounted what was in the drive to show you how to mount.

You might want to issue "xine-check" (if you have a DVD) as user and follow it's instructions, also. That will help you setup your drive -- if it's a DVD.

Last edited by Bruce Hill; 04-19-2006 at 01:17 AM.
 
Old 04-19-2006, 11:47 AM   #3
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
No, not at all!

I changed my fstab information to match yours.

I mount my data dvd:

Quote:
root@:/mnt/cdrom# ls -alh
total 59K
dr-xr-xr-x 1 root root 2.0K 2006-04-13 23:56 .
drwxr-xr-x 6 nate root 144 2006-04-18 20:03 ..
-rw-r--r-- 1 500 500 39K 2006-04-13 23:34 bookmarks.html
drwx------ 21 500 500 4.0K 2006-04-13 23:49 documents
drwx------ 2 500 500 4.0K 2006-04-13 23:49 foamy
drwx------ 3 500 500 2.0K 2006-04-13 23:49 gramps
drwx------ 4 500 500 4.0K 2006-04-13 23:49 nates linix home
drwx------ 12 500 500 2.0K 2006-04-13 23:49 new
drwx------ 2 500 500 2.0K 2006-04-13 23:49 other
Now here is the weird part. This is a dvd movie.

Quote:
root@:/mnt/cdrom# ls -alh
total 8.5K
dr-xr-xr-x 1 root root 2.0K 2003-01-24 12:27 .
drwxr-xr-x 6 nate root 144 2006-04-18 20:03 ..
dr-xr-xr-x 1 root root 2.0K 2003-01-24 11:03 audio_ts
dr-xr-xr-x 1 root root 2.0K 2003-01-24 11:16 jacket_p
dr-xr-xr-x 1 root root 2.0K 2003-01-24 11:03 video_ts
The data dvd that I don't have access to, was made just recently with nero linux. I tested out a dvd that I made with K3b and I have permission to read.

Before I couldn't mount a windows nero multisession. Now I can mount them fine with Slackware. Now, I don't have permission to read a disc made with nerolinux. I guess the moral of the story is "Stay away from Nero".

I do like Slackware so far. I installed Gnome 2.12 with Jeff McCoys guide and everything went great. I installed gramps and it worked! I really like that I can have a directory full of software that I want to install, and run the command:
Quote:
installpkg *tgz
and it intalls everything with no errors. I did an update patch and I got "0" errors. I do like the "NO" dependencies.

Here is the solution to my screen problem:

When I boot linux, my screen goes blank and says "video mode not supported" and thats it. I changed /etc/inittab to runlevel4. When I boot linux, my screen goes blank and says "video mode not supported" just like before. Except now if I wait, my screen will turn back on when the login screen comes on.

Last edited by natewlew; 04-19-2006 at 11:52 AM.
 
Old 04-19-2006, 12:14 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by natewlew
When I boot linux, my screen goes blank and says "video mode not supported" and thats it. I changed /etc/inittab to runlevel4. When I boot linux, my screen goes blank and says "video mode not supported" just like before. Except now if I wait, my screen will turn back on when the login screen comes on.
That sounds like you have a wrong unsupported video mode in /etc/lilo.conf

Code:
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
Try other modes by uncommenting a 'vga=' line. Save the file and run lilo

Last edited by dive; 04-19-2006 at 12:15 PM.
 
Old 04-20-2006, 05:23 PM   #5
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
Thanks for the reply Dive. I have tried VGA=773 and it didn't seem to work. I will try some more.
 
Old 04-20-2006, 05:26 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Boot your comp and when you come to the LILO screen don't automatically enter on your Slackware image; but rather hit the up or down arrow keys and it will say boot: and then type in whatever your Slackware image name is and then a space and then "vga=normal" without the quotes and try that. For instance:

Slackware vga=normal

And please post your entire "/etc/lilo.conf" and "/etc/X11/xorg.conf"

Last edited by Bruce Hill; 04-20-2006 at 05:27 PM.
 
Old 04-20-2006, 07:00 PM   #7
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
You may need to copy the directories to your hard drive and "chmod u+x" them. If the directories are not "executable" you can see the contents. Check if you own them as well.

Dennisk
 
Old 04-21-2006, 10:53 AM   #8
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
I got it to work:

Quote:
# VESA framebuffer console @ 1024x768x256
#vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
Next time I install I will know to do:

Quote:
slackware vga=771

Last edited by natewlew; 04-21-2006 at 10:59 AM.
 
  


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
ATI Radeon: Blackscreen with TV-Software, Wine, ... Lvis Linux - Hardware 1 02-15-2005 11:40 AM
Log permissions AMMullan Linux - Security 3 08-12-2004 04:10 AM
WineX fades to Blackscreen taurin Linux - Software 0 05-08-2004 09:31 AM
help.. selected wrong video driver...blackscreen renotse Linux - Newbie 6 07-23-2003 02:29 PM
HardDrake blackscreen spy5600 Linux - Software 2 07-08-2002 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:55 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
Open Source Consulting | Domain Registration