I cannot use cd/dvd-burning, why

My odd is TS-L632H.

When I run a cd/dvd-burning program such as k3b or brasero. If I don’t insert a disc, the program can display my odd correctly. If I insert a disc whether open the program or not, when I run the program, no odd will be detected. Then I should log off then run the program again, it can display the odd, but if I click burn button, a error dialogue will appear to show burn fails.

I am using opensuse11.1 gnome.

Many thanks for helping me to solve it.

I don’t know if this is the problem. You need to be a member of “cdrom” group for k3b to work properly.

EDIT: Haha syampillai beat me to it.

Have you tried adding your username to the group cdrom?

where I can add k3b to “cdrom” group, thanks

I think this was a bug that has been fixed since? Make sure you update your system using YaST software management or running the command sudo zypper up. Try again, if it still fails the advice the others gave is explained below.

YaST Control Center > Security and Users > User and group management.
Click the 2nd tab “Groups” click the button at the top right “Set filter” set it to “System groups”.
Find the group “cdrom” click it (or double click it depending on mouse settings). At the right find your username, mark the checkbox next to it and hit OK, hit OK again and you should be all set.

FWIW, I had a similar but different problem; k3b came up complaining that the system had no optical device.

However, when I checked, I found that the device belonged to group “disk”, not “cdrom”; that’s what I added my user to.

The drive is an LG GH22ns40, the device name was /dev/sr0.

An old forum post (K3b Cannot Find Dvd And Cd Burner Open Suse 10.3 - openSUSE Forums) recommended chmod’ing the device 666; I think adding users to relevant groups is better.