LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-29-2008, 02:59 PM   #1
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Rep: Reputation: 15
Fedora 9 X86 & K3B


When I click Application - sound & video - k3b nothing happens it will not open. tried yum install k3b already installed to newest version nothing to do. Can someone tell me how to get K3B to open please. I don't believe I have used k3b since I upgraded. So I am guessing it has not worked since the install.

Thank you Craig
 
Old 05-29-2008, 03:50 PM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Hello

Open a terminal and type:

Quote:
k3b
You will be able to see the errors that occurred that is preventing it from opening.

Bob
 
Old 05-29-2008, 04:35 PM   #3
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Original Poster
Rep: Reputation: 15
Thank you
This is the out put can you tell me how to fix it. Please
[craig@localhost ~]$ k3b
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/tmp-localhost.localdomain: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/socket-localhost.localdomain: Permission denied
trying to create local folder /home/craig/.kde/socket-localhost.localdomain: Permission denied
kdeinit: Aborting. bind() failed: : Permission denied
Could not bind to socket '/home/craig/.kde/socket-localhost.localdomain/kdeinit__0'
 
Old 05-30-2008, 02:10 AM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Ok, this is a permissions problem. It appears that the k3b app is owned by root. The easiest way to fix it is to open a terminal, change to root,and type:

Quote:
chown <yourusername> /usr/bin/k3b
You can also, as root, open the folder /usr/bin/k3b, right click on the folder, on the permissions tab, change the owner of the folder to your user name.

You should then be able to open the app.

When, upgrading, k3b sometimes does this, it assigns iteself to root ownership. Don't know why, by its easy to fix.

Bob
 
Old 05-30-2008, 09:28 AM   #5
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Original Poster
Rep: Reputation: 15
thank you for the reply
chown craig /usr/bin/k3b had no effect
/usr/bin/k3b opened the app not able to locate a way to change permissions
please advice
Craig
 
Old 05-30-2008, 01:42 PM   #6
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Did you run the command as root? As I mentioned in my post, you can log in to your desktop as root (only temporarily, don;t do this as a habit), and navigate to the /usr/bin/k3b folder. Right click on it, go to properties, click on the permissions tab, and change the owner of the folder to your user name.

You also need to make sure that /usr/bin/ is in your path. Type (in your normal username):

Quote:
$PATH
That is a long listing of the path to your home directory. Make sure you see /usr/bin/ in your path. If you do not see it, then add it to your path.

Bob
 
Old 05-30-2008, 01:47 PM   #7
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Original Poster
Rep: Reputation: 15
Yes sir,
owner craig -Craig last name

Group craig

[craig@localhost ~]$ k3b
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/tmp-localhost.localdomain: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/share: Permission denied
trying to create local folder /home/craig/.kde/socket-localhost.localdomain: Permission denied
trying to create local folder /home/craig/.kde/socket-localhost.localdomain: Permission denied
kdeinit: Aborting. bind() failed: : Permission denied
Could not bind to socket '/home/craig/.kde/socket-localhost.localdomain/kdeinit__0'
[craig@localhost ~]$

still not working
 
Old 05-30-2008, 02:26 PM   #8
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
I don't think you want to change the permissions on the actual application (k3b). Almost all applications are owned by root and yet still work fine for normal users.

It seems to me the problem here is the you don't have permissions to write to /home/craig/.kde for whatever reason. This could be because you don't own it, or because you don't have permission to write to it.
Code:
ls -ld ~/.kde
ls -ld ~/.kde/share
should tell you who the owner is. If it's you (craig), then do the following.

To correct the permissions (using my .kde directory as a template) try the following in a terminal:
Code:
chmod 700 ~/.kde
chmod 700 ~/.kde/share
That should allow k3b to write to the directory it needs to, and should eliminate the "trying to create local folder /home/craig/.kde/share: Permission denied" errors.

We'll see if there are any more directories that need chmodding after you've done that
 
Old 05-30-2008, 02:40 PM   #9
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
pwc101, thank you for adding that information. I was giving the OP the solution I used from a while back, and it worked for me, but this situation IS different and your solution is the correct one.

trailr8713: Follow the advice of pwc101. The /.kde/share is the source of the problem.

Bob
 
Old 05-30-2008, 08:45 PM   #10
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Original Poster
Rep: Reputation: 15
[craig@localhost ~]$ ls -ld ~/.kde
drwx------ 3 root root 4096 2008-05-23 09:51 /home/craig/.kde
[craig@localhost ~]$ ls -ld ~/.kde/share
ls: cannot access /home/craig/.kde/share: Permission denied
[craig@localhost ~]$ chmod 700 ~/.kde
chmod: changing permissions of `/home/craig/.kde': Operation not permitted
[craig@localhost ~]$ chmod 700 ~/.kde/share
chmod: cannot access `/home/craig/.kde/share': Permission denied

This isn't working either.
Any body else

Craig
 
Old 05-31-2008, 05:25 AM   #11
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by trailer8713 View Post
[craig@localhost ~]$ ls -ld ~/.kde
drwx------ 3 root root 4096 2008-05-23 09:51 /home/craig/.kde
[craig@localhost ~]$ ls -ld ~/.kde/share
ls: cannot access /home/craig/.kde/share: Permission denied
[craig@localhost ~]$ chmod 700 ~/.kde
chmod: changing permissions of `/home/craig/.kde': Operation not permitted
[craig@localhost ~]$ chmod 700 ~/.kde/share
chmod: cannot access `/home/craig/.kde/share': Permission denied

This isn't working either.
Any body else

Craig
If you look at the output of the ls -ld ~/.kde command, your .kde directory is owned by root:root. That's why this isn't working.

To fix it, as root, you need to fix the ownership of the direcory:
Code:
su -
<your root password>
chown -R craig.users /home/craig/.kde
Then if you try to run k3b again, it should work.
 
Old 05-31-2008, 05:33 AM   #12
seraphim172
Member
 
Registered: May 2008
Posts: 101

Rep: Reputation: 15
chown

Run this as root (assuming that the username and groupname for the user is 'craig':

Code:
chown -R craig.craig /home/craig/.kde
The .kde directory is supposed to hold settingfiles for the given user, so it should not be owned by root. Same for all it's contents.

I assume you run Gnome as the Window Manager and K3B as the only KDE application, because your current state of .kde would be a problem for almost all KDE applications.

It's rather surprising how permissions for .kde came to be set to root ownership.

Linux Archive

Last edited by seraphim172; 06-25-2008 at 05:48 AM.
 
Old 05-31-2008, 05:39 AM   #13
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
That's a good point about the group. Check what groups you should chown the directory to by checking the permissions on another directory in your home folder:
Code:
ls -l ~
Look at the output in the 3rd and 4th columns. It may be "craig users", or it may be "craig craig" - it depends on how your distro does things. Amend the chown -R command accordingly.
 
Old 05-31-2008, 07:31 AM   #14
trailer8713
Member
 
Registered: Jun 2007
Distribution: Fedora 9
Posts: 109

Original Poster
Rep: Reputation: 15
chown -R craig.users /home/craig/.kde That worked Thank you, you are correct I run Gnome K3B, and google earth are the only 2 programs I have found to do this.
Again Thank you
 
Old 08-03-2008, 09:05 AM   #15
filegrepper
LQ Newbie
 
Registered: Aug 2008
Distribution: fedora*
Posts: 1

Rep: Reputation: 0
Just wanted to say thanks. I just did a fresh install of fedora9 and had the same problem. Changing ownership got k3b all fixed up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem with K3b in 2007 X86-64 rrsc16954 Mandriva 13 04-17-2007 07:03 PM
Dual booting win xp 32 bit & fedora core 4 X86-64 badsha316 Linux - Newbie 2 03-20-2006 02:35 PM
Mandriva 32-bit X86, 64-bit x86-64 & i586. La Dima Mandriva 9 10-07-2005 07:12 AM
iMovie (Mac) to k3b (x86)? thas Linux - Software 0 11-27-2004 08:22 AM
x86-64 & Linux aes12 Linux - General 3 04-25-2003 10:53 PM


All times are GMT -5. The time now is 04:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration