Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
"Common flaw"? No. There are few distributions that allow root to log into a GUI environment. Red Hat 9 explicitly disables it in a straight install. I know other distributions do it as well. There are a number of people that consider it a security risk, for the same (if not more) reasons why a normal user should not use the root account to do day-to-day activity. Consider using sudo or su after logging into the GUI as a normal user. Or, if you must be root entirely, log into a console as root, and then issue startx.
Again, I would suggest trying to find some other means to accomplish what you need without logging in directly as root.
I use Gentoo and KDE 3.4 and it will not let me in as root either, not sure if it is Gentoo or KDE though. It is a really bad idea. If you mess up something as root it can be system wide. If you do it as a user then it only affects that one user, as a general rule.
I actually made two user accounts for mine. That way if I mess up dale, I can use dale2 to get help. It works I guess but I have never messed up dale yet. Give me time, I'll get there.
Well I logged into the root twice with the GUI before it all crashed. Apparently my permissions have been corrupted, altho I cannot find any which do not match 755. So I'm about ready to install again or try another distro.
My university -- whenever it's GUI boots I see KDE, where can I get that.
That should help. There is usually a way to install with your distro though. In Gentoo, I just type in emerge kde and it installs whatever packages it needs, which is a lot by the way. KDE is the biggest GUI, both in size and features.
With Mandrake I selected it during the install process for my GUI. Depends on your distro really.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
You can log in as root with SuSE. It just doesn't show an icon (like it does for the normal users), so you have to type "root" and "password" into the login-screen and get a nice desktop with bombs showing burning fuses ...
You may can do it but it is still a bad idea. I can tell it to let me in the login manager but I'm not going to because I don't feel like re-installing Gentoo. It takes longer since it compiles all the source code.
I say login in as a regular user. This is one of the reasons windoze sucks. Do we not learn anything from that?
You may can do it but it is still a bad idea. I can tell it to let me in the login manager but I'm not going to because I don't feel like re-installing Gentoo. It takes longer since it compiles all the source code.
I say login in as a regular user. This is one of the reasons windoze sucks. Do we not learn anything from that?
Later
Why cant people log in as root if they wanto?why should anybody tell other people what to do,If a person log in as root in kde and fuck the linux up,well that should be his problem.It is a stupid qusk to ask why poeple wanto log in as root.THe ansver are,it is more easy,If you wanto delete something,you cant do before you are logged in as root.Sure you can start a konsol and be root with su/sudo.But what is the point?I just wanto log in as root.If the distro gentoo dont support it,well then is a crap distro
I too choose to login to root occasionally, because that's the way I prefer to work.
It's all about choice.
You are right!, Linux gives you the choice to do it. But do you really need to'. By login as root in KDE you are compromising your system in many ways. I can't think of a task that needs to do this, maybe you can give us some examples?
There is a reason why KDE comes by default with this feature disabled, It is one of the most important principles of security.
Login as root in KDE is like playing with fire, most likely you get burned. If you want to do it, no problem but remember that you were warned!.
I rarely use a DE, and if I screw up the system, I recover it.
Simple.
As for security, turning off root is a very poor substitute for proper defences.
How is logging into the GUI as root more of a security/system damaging problem than just logging into a terminal as root?
It's not. Of course you can make worst things to a Linux System.
The point is that the security issues must be dealt carefully, an logging into the GUI as root is ONE of them. You certainly give us more examples of security issues that must be dealt with also. What I'm still wondering is why you need to logging into KDE as root?
So that those of us who don't know how to use vi or emacs can edit the config files. If there is another way to open those files up for editing in a graphical editor I would love to know about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.