||09-16-2011 10:51 AM
Originally Posted by Robert.Thompson
If I am logged in as 'rob' how can I launch Dolphin with root privileges?
If I go to terminal and do su & password, can I launch Dolphin?
(Sorry if this is a real dumb question.)
Short answer = No. You can't just use "su". The default system will not allow you access to graphics w/o first doing something like "xhost +localhost" which is not generally a good idea. However in any DE that supports KDE you can, and in KDE you must
use "kdesu <command>", in this case "kdesu dolphin". You do not need to enter the full path since it should certainly already be in your $PATH. Incidentally, 'dumb" is relative and in forums usually means something easily available from a cursory Google. This one I wouldn't call an easy one for search terms and can have important consequences, so it's probably good that you asked here.
Originally Posted by SeRi@lDiE
Why are you trying to run Dolphin as root?
Not a bad question to see specifically what OP has in mind, but I wouldn't want a lot of people to assume this is a bad thing in and of itself. We are all creatures of habit and do mostly what we've become used to. For me, I came from DOS and although very comfortable in a text-only CLI screen, I distinctly remember the sense of revelation the first time I saw a File Manager which for me was PCTools' PCShell. I still love command line but there are some operations that are just faster or more comfortable from a File Manager. It also sticks in my mind how appalled and lost I felt on my first real GUI, IBM OS/2 2.0 which had no real File Manager and I bought one immediately.
When I first setup a Linux system I not only run File Managers as root (I also use Krusader) but I run KDE itself as root so I can setup an appearance that differs from User so I can know at a glance which one I am in. In over 11 years of Linux use this has never once created a problem for me on a Desktop/SOHO system. I suppose someone may tell me here of some issue I have never yet encountered, but for now, different strokes for different folks. :)