Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I recently installed OpenSuSE 11, and I'm experiencing some strange problems when trying to run programs as root. Usually I would open xterm or konsole, type "su root", enter password, then type "kwrite" or "konqueror". For some reason since installing OpenSuSE 11, after becoming root at the terminal, anything I type just hangs. Currently the only way I can run a file manager as root is to choose "file manager - super user" from the menu.
Anyone have any suggestions why? Any help much appreciated.
Try using kdesu instead of su.
If you need root functionality on a gui application, I recommend logging in as root. But only if you *must* have root privileges. I don't recommend using root on a regular basis.
Btw, I assume that programs like ls and mv run with su. if they don't, then your problem could be very different.
All normal console commands seem to work fine under root, such as ls, chmod, mkdir etc. As google01103 pointed out, it's only gui apps that seem to fail. Further to this, I have noticed that if I run a command like "sudo kwrite" it asks me for root's password and then displays "kwrite: cannot connect to X server".
Kdesu works, as does the SSH command, so at least I can now use "kdesu kwrite /etc/fstab" which was what I was originally trying to accomplish.
I thought this was a kde4 bug at first, but I notice it also happens under gnome. I'm with google01103 on this also; I hope it is a bug and not intentional.
Anyway, at least I know the workaround now, thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.