LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-23-2005, 08:37 AM   #1
rgingels
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
KDE 3.4.1 Login Manager won't enter admin mode


Running Debian Sarge w/ KDE 3.4.1. I switched from default GDM to KDM, then decided to personalize the onscreen message at login via the Control Center/Login Manager/Appearance menu. However, after typing in the root password, it kicked me back to the Login Manager menu, still in user mode (and before anyone asks, no the capslock key was not on.) After multiple attempts, I decided that I am unable to enter Administrator mode for the Control Center.

So my question is:
1. Has this happened to anyone else, and how was it resolved?
2. Is there a way to bypass the Control Center and edit a text file? If yes, which one?

TIA,
-r-
 
Old 08-23-2005, 08:51 AM   #2
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
By default you can't login to root using KDM. This is a safety and for good reasons. If you think you realy need root access in X then you have to edit a file.

What you have to do is login as normal user open a terminal and:



Code:
$ su
password
# nano /etc/kde3/kdm/kdmrc
Find the line:

Code:
AllowRootLogin=false
Change that line to:

Code:
AllowRootLogin=true
Save the file and after logout you can login as root.

Darn, I see I miss read your question, never mind my answer.....

Last edited by powadha; 08-23-2005 at 08:57 AM.
 
Old 08-23-2005, 08:58 AM   #3
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
1. Yes, solution: went back to 3.3.2
2. edit /etc/kde3/kdm/kdmrc, change the GreetString
 
Old 08-23-2005, 09:00 AM   #4
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
powadha > running as root on the Desktop is incredibly Stupid. If all new Linux users start doing that we'll have virusses in no time to take over the pc's of all beginners...
 
Old 08-23-2005, 09:01 AM   #5
rgingels
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Slight misunderstanding here. I'm not trying to log into KDE as root. I'm logged in as a normal user and trying to enter administrator mode in the KDE control center, for which you have to enter the root password --same as if you run Synaptic.

That's a neat trick though; I'm writing that down for emergency use.

-r-
 
Old 08-23-2005, 09:12 AM   #6
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
Quote:
Originally posted by Moloko
powadha > running as root on the Desktop is incredibly Stupid. If all new Linux users start doing that we'll have virusses in no time to take over the pc's of all beginners...
As I said it's not recommended, but not a secret either. Being able to login as root is something different to login as root all the time. Some tasks can be very well executed as root to speed up things if you prefer X to do certain root tasks and if you're not at home at the terminal. I prefer the terminal anyway.....

@rgingels: I saw too late I missunderstood your question.

Last edited by powadha; 08-23-2005 at 09:30 AM.
 
Old 08-23-2005, 09:27 AM   #7
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
As user in konsole do: kdesu kcontrol
 
Old 08-23-2005, 09:51 AM   #8
rgingels
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Cool. Editing greetstring in kdmrc and su'ing kcontrol both work. Thanks powadha, makuyl, and moloko.
-r-
 
Old 08-23-2005, 09:07 PM   #9
jmanjeff
Member
 
Registered: Dec 2004
Distribution: Debian Sid/ Mepis/ XP for Gameing
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by rgingels
Slight misunderstanding here. I'm not trying to log into KDE as root. I'm logged in as a normal user and trying to enter administrator mode in the KDE control center, for which you have to enter the root password --same as if you run Synaptic.

That's a neat trick though; I'm writing that down for emergency use.

-r-
Yes a have the same problem have not had the time to try and fix
 
Old 08-23-2005, 09:28 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
The way I fixed it was to go into the kmenu menu editor by right click on the start menu icon. Then went to the Control Center. I highlighted then in the tabs on the top I select Edit. In the Edit tab select copy. Now hit the Edit tab again and this time select Paste. Now you have 2 Control Centers. Rename the new one to say ' Control Center (Super User) '. With Control Center (Super User) highlighted, check the box Run as adiffernet user. In the box below enter root as the user. Save and exit.

Now when you select Control Center (Super User) you are actually editing root's Control Center so that is why you need to leave the orginal Control Center so as to make changes to your own user account. But for the ones that required Administrator Mode can only be done as root so that will not cause any problems with your own Settings.

Brian1
 
Old 10-04-2005, 06:03 PM   #11
Matty-J
Member
 
Registered: Jun 2004
Distribution: SuSE 9.3, Debian Sarge
Posts: 65

Rep: Reputation: 15
Quote:
Originally posted by powadha
By default you can't login to root using KDM. This is a safety and for good reasons. If you think you realy need root access in X then you have to edit a file.

What you have to do is login as normal user open a terminal and:



Code:
$ su
password
# nano /etc/kde3/kdm/kdmrc
Find the line:

Code:
AllowRootLogin=false
Change that line to:

Code:
AllowRootLogin=true
Save the file and after logout you can login as root.

Darn, I see I miss read your question, never mind my answer.....

Hi,

I'm trying to edit the kdmrc for other reasons, but I cant find it anywhere. There's no kdm folder in /etc/kde3.

I'm new to Debian, so I don't know where to look. Any ideas?

Thanks,
Matt
 
Old 10-05-2005, 03:37 AM   #12
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
`updatedb` as root, then `locate kdmrc` should do it.
 
Old 11-09-2005, 03:20 PM   #13
kellemes
LQ Newbie
 
Registered: Oct 2005
Location: Amsterdam
Distribution: Arch
Posts: 26

Rep: Reputation: 18
Yes!! That worked, thanks!
It bothered me for some time...
 
  


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
Kde Login Manager lokirulez Linux - Software 2 09-27-2005 12:04 AM
Can't select Parellel printer with Cups Admin or KDE Print Manager EnigmaX Linux - Newbie 6 08-16-2004 08:29 PM
Starting File Manager in SU mode (Mandrake 10.0, KDE) JGJones Linux - Newbie 7 04-22-2004 07:18 PM
KDE Login Manager baldy3105 Linux - Software 2 05-19-2003 07:54 AM
Getting Redhat 8.0 to use KDE login manager psweetma Linux - Newbie 3 03-22-2003 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

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
Open Source Consulting | Domain Registration