• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

KDE: How to Transfer Settings From One User to Another?

clicknext

Banned
I'm using KDE 3.1 and I've set up my account the way I want, with the panels arranged right, nice icons, view settings, etc. But being the noob that I am, I set all those on the root account, and when I made a new user and switched to it, it was all default. How can I transfer all those settings from the root account to my normal account?

Also, is it really that important to not use the root account normally? I've read how you can easily screw up the system, but is it really that different from an administrator account in WindowsXP? I've been using it for a week now and nothing catastropic has happened.
 
You could try this (as root):

cp -R ~/.kde* ~clicknext/
chown -R clicknext.users ~clicknext/.kde*


And yes, it is most definitely a good idea to refrain from running as root unless you absolutely need to be.

Here is a single example of where you could run into trouble:

rm -rf / foo/bar (notice the extra space).

Oops, just wiped out everything under /. Oh well.

😀
 
Uh, for example, DON'T paste the code from xcript's sig into a shell. On any given day, your house is not very likely to get broken into, but you still lock the door, right?
 
thanks a bunch, xcript! That worked for the most part, except when I started up I got this error:

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (Permission denied)
The sound server will continue, using the null output device.

How can I make it so that it lets my user load the sound driver?
 
There is no audio group on my system. Right now I'm using aRTs with the ALSA sound drivers, if that helps any.

What would happen if I added myself to the root group? Would that be pretty much the equivelent of being "root"? And also, which user groups should I add myself to? Right now I'm just in "users"
 
Originally posted by: clicknext
What would happen if I added myself to the root group? Would that be pretty much the equivelent of being "root"?

Better way would be to create an audio group. This can be done as follows (as root):

# groupadd audio
(add root/users to this group)
# chown root.group /dev/dsp
# chmod 660 /dev/dsp


Originally posted by: clicknext
And also, which user groups should I add myself to? Right now I'm just in "users"

Add yourself to the 'wheel' group if you want the ability to su to root.

Note:

You'll need to logout/login for any group changes on your user account to take affect.
Running 'groups' will output the groups you are currently a member of.
 
You just need to be able to write to /dev/dsp. Find out what its permissions are, and add yourself to the proper group to be able to write to it.
 
EDIT: When I run
chown root.group /dev/dsp
it says
chown: `root.group': invalid group

I ran
ls -l /dev/dsp
and it said that it belonged to the group "root".
 
Originally posted by: clicknext
There is, however, /usr/sbin/groupadd, but when I run that, I get the error: Unable to lock group file.

Sounds like you're not running it as root. If you were it should be in your default path.

For now you could try a 'chmod a+rw /dev/dsp' (as root), then login as a user.
 
Back
Top