LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kde 3.3 no root login (https://www.linuxquestions.org/questions/linux-software-2/kde-3-3-no-root-login-278053/)

efi360 01-15-2005 08:17 AM

kde 3.3 no root login
 
I upgraded from KDE 3.2 to 3.3 and now when KDM starts the icon for root is gone.
If I manually type in root and password a window pops up saying root login is not allowed. I am thinking its a permission thing but don't know how to change it and get icon back. I looked in control center under system administration login manager but everything looks OK ( maybe I missed somthing) ?????

any help would be appreciated. Thanks in advance from efi360

reddazz 01-15-2005 08:26 AM

You need to tinker around with your KDM settings coz it's disabled login by root. The option is there in the under Kcontrol -> Sysystem Administration -> Login Manager. not using KDE at the moment so can't be more precise.

efi360 01-15-2005 10:04 AM

I'm still not the boss (root)
 
Thank for reply Reddazz

But as I mentioned I already did that and did not find anything to change, it all looks OK to me. I made shure that root was not cheked under hidden user and even reset the root icon and hit apply. ( still no go) Any Help out there would be great ???? Thanks

reddazz 01-15-2005 11:35 AM

Ok, got the solution, apparently newer bversions of KDE disable root logins by default (unless changed by the distro). To enable root logins via kdm, you need to edit /etc/kde/kdm/kdmrc and change this line
AllowRootLogin=false
to
AllowRootLogin=true
Hope this helps.

efi360 01-15-2005 11:54 AM

OK reddaz.

opened up konquerer and migrated over to file tried to change it but it said I don't have privilege to over wright . since I cant log in to root don't know how to do this other way , I am not real great around the command line, can you help

reddazz 01-15-2005 12:39 PM

Do it from the command line. You can use emacs (if you don't have it, install it).
1) Start a console session
2) su to root by doing
$su
and entering your root password
3) change into /etc/kde/kdm by doing
#cd /etc/kde/kdm
4) edit the file with emacs by doing
#emacs -nw kdmrc

Save the changes by doing ctrl-s and quit by doing ctrl-x.

If that seems baffling, you can use kwrite, by doing,
1) start a console
2)$kdesu kwrite
3)enter root password and open /etc/kde/kdm/kdmrc and edit the file and save.

efi360 01-15-2005 03:23 PM

Thank You reddaz.

Worked Great ! Icon is back and login under root woks good again.
I understood both options but apt-get install emacs (debian installer ) failed for emacs , Couldn't find the package by that name, So I opted for the Kwrite way. that worked but failed in regular console had to use root console

reddazz 01-15-2005 03:50 PM

Well, I'm glad you got it sorted, You may need to familiarise yourself with doing basic administration as root via your console/terminal coz logging into a GUI as root can be dangerous, especially on computers connected to the net.

ValidiusMaximus 01-15-2005 06:05 PM

Quote:

Originally posted by reddazz
Well, I'm glad you got it sorted, You may need to familiarize yourself with doing basic administration as root via your console/terminal coz logging into a GUI as root can be dangerous, especially on computers connected to the net.
He is right. I would recommend the orielly book "Linux in a Nutshell" and "Essential System Administraton Pocket Guide" for learning the command line. The command line is VERY powerful. It is a VERY BAD thing to do to run GUI as root. It makes you FAR more hackable plus Wine wownt run. In case your wondering, by default you use the bash shell in Linux.

efi360 01-15-2005 07:32 PM

Thanks for all the help
 
Thanks for posts,

I usually don't stay in root, I log in do what I have to then log out. That much I have learned but since I am short on linux / UNIX command line knowledge I usually try it the gui way.
You know I actually had the book "Linux in a nut shell" by orielly in my hand once it was at barns & noble book store and it was clearanced down to $5. us dollars and I did not buy it because I was low on cash. I have regretted it ever since


All times are GMT -5. The time now is 12:19 AM.