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.
So, somewhere along the line I seem to have really messed up my user account. It is suffering from repeated crashes, the cause for which I can't determine.
However, I'm finding that if I am logged in as root, everything is smooth as can be once again. So, I need to know if there is a way to get all the various settings and configurations from root copied over the settings and configurations for my user account. I understand that I can just create a new user account, but I suspect this will require alot of work getting things back to the way I like them, and root is already set up to suit my needs. I would just run as root from now on, but I read so often here that this is a very bad idea.
Any ideas? I'd just do a
#cp -r /root/* /home/jeff/*
but this would OBVIOUSLY not be right. But surely there is something similar I can do to quickly copy all of root's settings for EVERYTHING over to the user...right?
I wouldn't copy root's preferences to your user, if you can find what programs are causing the most trouble, just remove their config's from the users home directory and start over, reconfiguring it, etc.
If the trouble happens on certian programs then, as Trickykid said, delete that programs configuration files in your home directory. I don't know how familiar you are with Linux but program config files begin with a period. So do an
ls -a
to view them
If worse comes remove all the configuration files from your home directory and copy the ones that were present when your user account was created with
cp -r /etc/skel/* ~
Thanks for the replies. My problem is that I cant tell which programs are creating the problem.
But nothing is as it was. It boots up really slow now (unless I'm root, of course) and crashes with no discernible pattern. I've checked numerous logs, even posted some of them here, but can't seem to single out the root of problem.
I am curious about this /etc/skel idea. What is this directory? Are these back up configs files or something? Never heard about this before...I may have to try it...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.