SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Hello,
I recently ran into a problem with my install. I accidentally messed with the bottom panel in my KDE on my root account. This caused my desktop to freeze up. Every time I attempt to restart into my root, it loads, but is completely frozen. Is there some way I can overwrite my KDE config files without starting X server or from a standard user account?
It's typically a bad idea to log into your GUI as root. Use the su and sudo commands to temporarily get root privileges when logged in as a normal user.
Quote:
Is there some way I can overwrite my KDE config files without starting X server or from a standard user account?
Is there some way I can overwrite my KDE config files without starting X server or from a standard user account?
One option is to open a konsole terminal window and use su - to login as root. The dash will ensure you login with root's environment and home directory rather than the environment of your user account.
If you don't use the dash you still can use su to login as root. Just remember to change to root's $HOME directory (cd /root) because without the dash, the terminal session will be in your user acccount's home directory. You probably do not want to delete the .kde directory from there.
Another option is to boot the system in run level 3 and login as root.
In either case, from there you can rename root's $HOME/.kde directory (or delete if you don't care about losing settings).
When you next start X as root KDE will create a new default desktop. You will have to re-tweak your settings to your comfort, but if you rename the existing directory you will be able to copy most of the KDE configuration files. Just don't copy those files associated with the panel.
i've been logging into kde as root since version 10. updating user accounts and operating on user files with permission changes, etc... is just plain simpler with the kde apps. when it comes to managing network interfaces with wicd, that must be done through the gui. there are no hand edited config files for wicd. with earlier versions of slack, there were a lot of things in X that wouldn't work when logged in as root, but that seems to have been changed in more recent versions. i still do most of my root stuff from a terminal window su'ing from a regular user account, but there are just some things that have to be done logged in AS root, and some of them either MUST be done in a gui, or may go smoother in X using gui apps. one in particular i have run into is the TI DSP compiler, where it must be done in a gui logged in as root. su'ing or sudo'ing just doesn't cut it, as the installer gets hung up on file permissions and executable permissions. and it's a gui installer as well.
Last edited by unclejed613; 05-19-2011 at 12:42 PM.
but there are just some things that have to be done logged in AS root, and some of them either MUST be done in a gui, or may go smoother in X using gui apps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.