LinuxQuestions.org
Help answer threads with 0 replies.
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 03-29-2007, 08:08 PM   #1
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
Can't burn wiht k3b


I'm running Slackware 11.0, 2.6.20.

I'm trying to run k3b to burn my CDs.

Here are the things I installed:

kdelibs-3.5.4-i486-1
cdparanoia-IIIalpha9.8-i486-2
cdrtools-2.01-i486-1
cdrdao-1.2.1-i486-1

When I launch k3b, I get the following:

http://img402.imageshack.us/img402/9013/ssbv0.jpg

Since I got that error, I tried searching k3bsetup manually and found it in /opt/kde/bin/k3bsetup and
tried running it:

Code:
me@alkos333:~$ k3bsetup 
/opt/kde/bin/k3bsetup: line 20: kdesu: command not found
me@alkos333:~$ ICE default IO error handler doing an exit(), pid = 9151, errno = 0
I found that kdesu was located in kdebase-3.5.4-i486-7 and installed it. Ran k3bsetup again and it changed permissions
accordingly and said it was successful. I then tried running k3b and no errors were reported this
time. However, when I tried burning an ISO, I got the following again:

http://img253.imageshack.us/img253/8559/ssqq7.jpg

What's k3bsetup2 and where do I get it?

Last edited by alkos333; 03-29-2007 at 08:12 PM.
 
Old 03-29-2007, 08:21 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
In the K3b program it's in Settings --> Setup System Permissions. Your will need to enter your root password to continue.
 
Old 03-29-2007, 08:26 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I am fairly sure k3bsetup and k3bsetup2 are the same thing. I am not sure what the deal is with the two names, but I know that I have only ever used the k3bsetup binary to configure K3B.

Not sure why it isn't letting you burn if k3bsetup doesn't detect any errors though. It has been so long since I actually configured my burners that I don't recall if any special adjustments were required.
 
Old 03-29-2007, 09:18 PM   #4
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Ok, I set up my permissions, so that k3b starts and doesn't complain about a thing:

Code:
crw-rw-rw- 1 root cdrom   21, 1 2007-03-29 09:55 /dev/sg1
brw-rw-rw- 1 root cdrom   11, 0 2007-03-29 09:55 /dev/sr0
-rwxr-xr-x 1 root root  2263284 2006-08-23 22:49 /opt/kde/bin/k3b*
-rwsr-xr-x 1 root root   572308 2006-05-04 20:14 /usr/bin/cdrdao*
-rwxr-xr-x 1 root root   317404 2004-09-09 18:41 /usr/bin/cdrecord*
Looks like a scsi drive:

Code:
root@alkos333:~# dmesg | grep CD-ROM
scsi 1:0:0:0: CD-ROM            MATSHITA UJDA765 DVD/CDRW 1.70 PQ: 0 ANSI: 5
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0

However, if I go and try to burn an ISO onto my CD-ROM, I get the following:

http://img253.imageshack.us/img253/8559/ssqq7.jpg

Last edited by alkos333; 03-29-2007 at 09:23 PM.
 
Old 03-29-2007, 09:36 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Manually set the permissions for cdrecord to 755
 
Old 03-29-2007, 09:40 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I always run k3b as root, because it needs numerous permissions in order to burn properly. So, you already tried running it as root ?
 
Old 03-29-2007, 11:06 PM   #7
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Yeah, I just tried running k3b as a root and it worked flawlessly. I would prefer not to run it as a root. My root isn't even allowed to connect to X. I had to do 'xhost +' and DISPLAY=:0.0

I would not want to run it as a root. Others have been able to run it without root, so I see no reason why I should.
 
Old 03-30-2007, 01:48 AM   #8
anon243
LQ Newbie
 
Registered: Apr 2006
Location: Szeged, Hungary
Distribution: Debian "squeeze"
Posts: 27

Rep: Reputation: 15
Hi.

Try run kuser and include yourself in the cdrom group that should help.
 
Old 03-30-2007, 08:07 AM   #9
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
With the newer 2.6 kernels k3b is going to complain if cdrecord isn't set with the proper permissions. That's why the k3bsetup2 was released.

Unless it sees cdrecord set with 755 root.root it is simply going to refuse.

Use the super user file manager in KDE, right click /usr/bin/cdrecord and open the permissions tab. Under advanced permissions make sure that all 3 user boxes are checked and that group and others only have read and execute permissions. Also make sure all three "special" boxes are unchecked. Click ok, and ok. k3b should now run for you.
 
Old 03-30-2007, 10:09 AM   #10
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Errotan
Hi.

Try run kuser and include yourself in the cdrom group that should help.

Already was included in the group:

Code:
[me@alkos333:~$ id
uid=1000(me) gid=100(users) groups=11(floppy),17(audio),18(video),19(cdrom),100(users),104(qemu)

Last edited by alkos333; 03-30-2007 at 10:12 AM.
 
Old 03-30-2007, 10:11 AM   #11
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by masonm
With the newer 2.6 kernels k3b is going to complain if cdrecord isn't set with the proper permissions. That's why the k3bsetup2 was released.

Unless it sees cdrecord set with 755 root.root it is simply going to refuse.

Use the super user file manager in KDE, right click /usr/bin/cdrecord and open the permissions tab. Under advanced permissions make sure that all 3 user boxes are checked and that group and others only have read and execute permissions. Also make sure all three "special" boxes are unchecked. Click ok, and ok. k3b should now run for you.

I don't use kde. Besides, I already did all those things manually and pasted an output of ls -l
of "all" files involved. Look above.

K3b used to complain about cdrecord permissions and all that stuff on startup. After I fixed all
all of my permissions manually, it stopped doing that, but when it gets to the burning part, it
says cdrecord doesn't have permissions to access the drive, which doesn't make any sense at all
because it should.
 
Old 03-30-2007, 10:25 AM   #12
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Here is a command that k3b ran. I decided to run it manually and see what output it gives me:

Code:
me@alkos333:~$ /usr/bin/cdrecord -v gracetime=2 dev=1,0,0 speed=24 -dao driveropts=burnfree -eject -data /home/me/testing/slackware-11.0-install-d2.iso 
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
/usr/bin/cdrecord: Warning: Running on Linux-2.6.20
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
/usr/bin/cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
/usr/bin/cdrecord: Permission denied. Cannot open '/dev/sg0'. Cannot open SCSI driver.
/usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Like I said, I ran it as a root and things worked fine. However, others said it runs fine from a normal user, which is what I'm trying to achieve.
 
Old 03-30-2007, 11:04 AM   #13
alibar
Member
 
Registered: Mar 2007
Posts: 44

Rep: Reputation: 15
Maybe this might help

Okay this is a complete newbie comment so please don't shoot me down, but i had problem buring cd's when i first installed, i wasnt aware that you dont mount the drive before burning. Oh and 1 more thing k3b has problems burning under kernel versions equal to or above 2.6.XX have you tried uninstalling it and downloading an uptodate version.

REMEMBER here.
 
Old 03-30-2007, 11:29 AM   #14
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Quote:
Originally Posted by alkos333
I don't use kde. Besides, I already did all those things manually and pasted an output of ls -l
of "all" files involved. Look above.

K3b used to complain about cdrecord permissions and all that stuff on startup. After I fixed all
all of my permissions manually, it stopped doing that, but when it gets to the burning part, it
says cdrecord doesn't have permissions to access the drive, which doesn't make any sense at all
because it should.
Sorry, I missed the post where you posted your permissions. I compared that with my own, which works fine as normal user, and this is the one thing I spotted that is different:

19032 -rws--x--x 1 root root 559K 2006-05-04 20:14 /usr/bin/cdrdao*
 
Old 03-30-2007, 12:14 PM   #15
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by masonm
Sorry, I missed the post where you posted your permissions. I compared that with my own, which works fine as normal user, and this is the one thing I spotted that is different:

19032 -rws--x--x 1 root root 559K 2006-05-04 20:14 /usr/bin/cdrdao*
The fact that your cdrdao executable doesn't have read permissions for anybody, but the owner is completely irrelevant in my case.

What kernel are you running?
 
  


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
k3b won't burn CD-R's but does burn DVDs. Livino Linux - Newbie 6 03-18-2006 05:51 PM
under 0.5x burn in k3b BluetoeN Linux - Newbie 1 01-04-2005 04:41 AM
pb to burn with k3b HyDroChrOnIK Linux - Software 0 10-04-2004 05:54 AM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM
Can't burn CD via K3b DarkDrive Linux - Hardware 2 08-19-2003 09:10 PM

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

All times are GMT -5. The time now is 07:44 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