I have the theme breeze dark. And optned a folder in super user mode. This is what it looks like.
Any suggestions?
I have the theme breeze dark. And optned a folder in super user mode. This is what it looks like.
Any suggestions?
This topic gets discussed regularly.
User and superuser use different settings. So when you change a theme as user, it wonât affect the superuser.
To change your root user theme:
su
kcmshell6 kcm_colors
Then exit.
The variant via kcmshell is the clean and secure variant.
Logging into a full graphical root session is often (unfortunately) recommended by unexperienced users. It is known since decades that you shouldnât login into a graphical root session if you have at least some basic linux security knowledge.
This sounds like the straightforward answer. But It has been flagged by the community and is temporarily hidden. And I donât know why. Is there some inherent risk to logging in with the root user in a graphical session and setting the theme that way?
Iâve been on Linux for years. And Iâve never even thought about logging in to a graphical session using route.
Whatâs the reasoning behind why logging in as root in graphical section would be a bad idea?
Because root
should only be used for those things that can only be done by root
. And running a GUI, which will create tons of files (configuration, logs, what all) and will do all sorts of things you would even never have thought of, does not fall into that category.
You may of course do what you want, after all it is your system (we assume). But advising bad practices in the forums should be commented on. There is already enough bad advice on the internet.
Most distributions donât even allow logging in as ârootâ to a graphical session.
openSUSE is more tolerant (following the âyour system, your choiceâ principle?)
Some minimal âsingle userâ distributions even configure ârootâ as the default and only user allowed on the system, but those are border cases.
Now, if you are the only user on the system perhaps you can login as ârootâ and live happily but be aware that you can screw up the entire system at any given time (or your cat walking on your keyboard).
If there are other users on the system, each user when logged in has access to files and creates files according to his/her uid/gid, normally âusernameâ/users, check e.g.:
bruno@LT-B:~> id -un && id -gn
bruno
users
bruno@LT-B:~>
But if ârootâ logs in a graphical session, tons of files (as @hcvv noted) are (unknowingly) created or modified with root/root permissions, check e.g.:
LT-B:~ # id -un && id -gn
root
root
LT-B:~ #
Sooner or later the graphical session becomes unusable for other users (files with group ârootâ not being even readable normally by users with group âusersâ) or strange malfunctions arise and we see odd requests for âhelp me fix thisâ here on the Forums (not talking about your cat being able to access every file in other users directories⌠)
Cool, thanks for the detailed response.
It never occurred to me to log in as root in a graphical user session.
Mostly because itâs never come up as an option before. I mean if you look at any of the answers to any questions in any Linux form they all use sudi commands.
Hi, you most likely meant sudo
not sudi
. Just replying to hopefully not create more confusion. This was an informative post.
-Thanks
Hi, you most likely meant opened
not optned
. I am still curious which command you pass to open Dolphin
in super user mode
? Or maybe itâs not a good idea to have that information in the thread?
-Thanks
Well, on my KDE there is (and always was) from the main starter menu: System â File Manager - Super User Mode.
I never use it, but it is there and I guess most that feel need to use a file manager as root will use this.
This is excellent information.
-Thanks
Lol, typos thanks to reply on mobile and general lazyness.
There is a way to do it from the terminal too. IDK what that is, but it surely exists.
WOW, you type fast ok.
You can use kdesu dolphin
from the terminal as well as from the âstarterâ with âAlt+F2â in KDE.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.