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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am using Slackware 10 with kernel 2.4 (default).I have a LG CD writer which is having problems with eject in KDE, i think. It all works well before I start X-server. I can eject CD using "eject" command; even mounted CDs are ejected by simply using "eject". But when I start KDE using startx I can no longer eject the CD but I can still mount and unmount it. Whenever I try to eject the CD I get a KDE eject error "Eject /dev/hdc failed!". Initially I had 2 entries in my fstab one for /dev/hdc and other for /dev/cdrom. I removed one entry as I have only one CD-writer. This is how my fstab looks like:
The problem has become more complicated as sometimes I can eject in KDE from the shell using "eject". But if I mount it from Konqueror and then try to eject it from the terminal I get the error "eject: unable to eject, last error: Invalid argument". If I try again after sometime from the terminal(Konsole) using eject will eject the CD, only leaving me wonder more! SOMETIMES EVEN KONQUEROR WILL EJECT THE CD, but only sometimes. I am really clueless about the cause of the problem.
I tried Google but I couldn't get much help. Can someone provide me with some hint in the right direction so I can just eject the CD from the KDE, using Konqueror?
Originally posted by Biased turkey I think it's in the "start here " directory.
I think "start here" directory is for gnome, I tried " file:/home/UserName/.kde/Autostart/" though but the directory is empty. What bugs me is the inconsistency, sometimes Konquerror will eject the CD other times it won't giving a nice little error "Eject /dev/hdc failed!". I'll look for an application accessing the CDROM but why would an application Lock the unmounted CD-ROM? I've learned that CD-ROMs are locked when mounted, i wonder why that lock is not being removed after unmounting the CD.
I tried mounting and unmounting CD again as suggested by JNK but no luck.
I am still clueless about what is causing this problem.
I wanted to write and convey I too am having this problem. I had 11 disks of data I wanted to transfer to my system and it was a pain in the butt. During initial Slack install, the CD popped out, asked me to insert another disk and there was no problem.
When I wanted to add my data later via CD that is when I had problems. Maybe this is just a general permissions issue?
I changed my fstab file to various configurations based on information I found on this site and the Internet, I rebooted I tried again. I tried many many things.
I logged on as root and logged on as a user.
I could access the CD if the CD is in the drive with any user. Choosing to eject it fails. Most times. Other times, from the terminal, in a KDE enviorment, I could eject it with eject /dev/cdrom
Other times it would fail. SOMETIMES it works. I can mount and then unmount it but usually eject always fails. Here is another aspect. I was having this problem ejecting and then I installed k3b Burner (k3b.org) Using that program as root, I can eject, burn and load another disk From command prompt, from KDE alone choosing device eject, failure.
I also logged in in terminal only, and other options, not just KDE.
Back to what I was saying about loading the disks... I ended up, most times, logging out, and pushing the cd button, sometimes it would eject, other times it wouldn't so I rebooted, as the system came back up I ejected the disk and put another one in. Then as any user, I could access it via the command line or via KDE. I could copy the disk. But then trying to eject and put another disk in.. No Go. I would reboot and do the same procedure.
It really is the only issue I have. I moved all my data from CD to my system. IF want to burn, k3b works fine so it is not an issue I am that concerned about but it is an annoyance and like others have posted, it is just frustrating not knowing what is the issue.
Is that Audio CD Browser in the services tab causing the problem? I am gonna find out a way to disable it and then check if I can eject the CD or not. Any suggestions on how to disable the Audio CD Browser?
if you are using kde, go into the control center and check the boxes to have the unmounted and mounted cdrom icons on the desktop. This is under Control Center under appearance I think (sorry DLG user). It should now be as easy as right click to mount or unmount. You may have to eject by hand.
Thanks justin_p, the mount and unmount CD-ROM icons on the desktop seem to work.But I think I found a way to eject CDs in Konqueror.
I think the problem was caused by "Audio CD Browser" in the Services tab of the navigation panel. The services tab is the default tab in the konqueror. I made Devices tab my default tab by clicking on it and then by saving the profile, option for saving the profile is under Settings menu. Now every time I start konqueror I get Devices as the default tab and the CD ejects properly.
I tried to verify this by clicking on the services tab and yes, the eject failed!
I think I solved the problem for now. But I am looking for a way to disable Audio CD Browser permanently. Any suggestions on how to do that will be appreciated.