LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-14-2005, 08:30 PM   #1
Halsafar
Member
 
Registered: Sep 2005
Posts: 37

Rep: Reputation: 15
Login loops to Login


A rather comical error if you ask me since some of my university Linux boxes where doing the same thing.

When I log into root using the GUI it validates, window close's, screen goes blank, then the same login screen reappears.

This must be a common flaw amongst Linux boxes since the university use's a much different distro.

Any advice?
 
Old 09-14-2005, 09:40 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
"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.
 
Old 09-14-2005, 11:39 PM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
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.

Why do you need to be root anyway?

Later

 
Old 09-15-2005, 12:29 AM   #4
Halsafar
Member
 
Registered: Sep 2005
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
Old 09-15-2005, 12:58 AM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
http://kde.org/

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.

Later

 
Old 09-15-2005, 04:42 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,951

Rep: Reputation: Disabled
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 ...

P.S.: SuSE uses KDE as default.
 
Old 09-15-2005, 09:19 AM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
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

 
Old 09-15-2005, 02:21 PM   #8
poolejj
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 1
Sounds like someone might have edited root's .profile and it has an error.
 
Old 02-19-2006, 05:57 PM   #9
exsat
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Angry

Quote:
Originally Posted by dalek
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

Exsat!
 
Old 02-19-2006, 06:44 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,838

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Don't flame Gentoo based on someone elses sayso.
Few, if any, distros give you as much freedom. The issue mentioned above is with KDE, not Gentoo.

I too choose to login to root occasionally, because that's the way I prefer to work.
It's all about choice.
 
Old 02-19-2006, 07:50 PM   #11
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Quote:
Originally Posted by syg00
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!.
 
Old 02-19-2006, 08:26 PM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,838

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Warning noted.

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.
 
Old 02-19-2006, 10:52 PM   #13
mbreith
Member
 
Registered: Feb 2006
Location: oregon
Distribution: PIII fedora2 | P4 fedora2 | Thinkpad fedora2
Posts: 54

Rep: Reputation: 15
How is logging into the GUI as root more of a security/system damaging problem than just logging into a terminal as root?

Is it more damaging to type
Code:
echo "alias ls=ls -l" > /etc/bashrc
or logging in as root, opening a cool text editor with syntax highlighting, adding the alias to the end of the file, and logging out?



ps. Do NOT use that code I just gave. The '>' redirect will overwrite the entire file. The '>>' redirect appends to the existing file.
 
Old 02-19-2006, 11:09 PM   #14
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
Quote:
Originally Posted by mbreith
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?
 
Old 02-19-2006, 11:20 PM   #15
mbreith
Member
 
Registered: Feb 2006
Location: oregon
Distribution: PIII fedora2 | P4 fedora2 | Thinkpad fedora2
Posts: 54

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphical login fail, text login works livewire98801 Linux - General 2 10-11-2004 07:09 PM
Crazy blank dialog boxes and windows at login. Can't login as user soren625 Linux - General 2 08-11-2004 07:30 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 12:39 PM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-06-2004 12:40 AM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 10:43 PM


All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration