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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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'
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.
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
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.
[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 ~]$
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
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.