Results 1 to 8 of 8

Thread: Root Login Gone after KDM update

  1. #1
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401

    Root Login Gone after KDM update

    Hey, I updated a bunch of kde stuff including kdm. Now it won't let me log in as root from the gui , only via the console. "Root logins not allowed"

    Hmmm I'm not sure that this is so bad, has anyone else seen it?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    Yes, Rusty. Same thing has happened to me. Figuring debian has just gone the way of other distros by making it "difficult" for root to log in that way. If you do want to bring up KDE as root, log in as user - all you can. Then escape X with ctrl-alt-F1. You get a login prompt, login as root, then type without quotes "startx". If KDM is your default x desktop environment it will bring up KDM as root.

    Before the upgrade, you could type "kdm start" and root could get in. You don't get an error now when you try that way, you got nothing happening. Not sure if it's a feature or a bug :P

    Note: you aren't supposed to login to root

  3. #3
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    It's for sure not a feature. Updating KDE to 3.3 will often break KDM.

    Anyway you could try delete your KDM root settings and let it recreate a new one. What you need to do is delete /root/.kderc and /root/.kde.


  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Try also setting in /etc/kde3/kdm/kdmrc AllowRootLogin=false to true.

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Posts
    171
    I use these tips and never goe wrong.

    When you are about to embark on a major apt-get dist-//upgrade and you notice many kde apps (especially kdm) use the download only flag (apt-get upgrade -d).

    Then reboot into runlevel 2 (or init 2) making sure that kdm is not active and complete your upgrade.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    thanks, Markus. When doing the KDE(incl. KDM) upgrade I was notified that there was a "custom" config file, probably kdmrc, and told it to go ahead and write a new one.

    I learned in upgrading to say no to debian base new configs and yes to the KDE ones. I don't know why, just my own pet method. So far, so good. Never had an upgrade break my install yet. Glitches, yes. Breakage, no.

    Kpackage, which I use, has an option to "see" the differences in the config files but when I choose that option, I get an error message about somethingorother text not supported there.

  7. #7
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    Thanks to all:
    Try also setting in /etc/kde3/kdm/kdmrc AllowRootLogin=false to true.
    Did that and while root doesn't show up on the user list, I can log in by typing root and the password and get an x session going.

    I believe this happened when updating kdesktop in a console (alt-f2) session. I have had kdm issues before and will sometimes remove (with --purge) kdm, install xdm or gdm etc.

    I wonder if losing the root login was a result of installing in a non gui shell. Anyway thanks again everybody.

  8. #8
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Quote Originally Posted by rusty
    Try also setting in /etc/kde3/kdm/kdmrc AllowRootLogin=false to true.
    Did that and while root doesn't show up on the user list, I can log in by typing root and the password and get an x session going.
    Same file a bit further down there's a line: HiddenUsers=root , remove the obvious or change the line ShowUsers=NotHidden to hmm, might be All but I haven't tested.

    BTW, I never dist-upgrade. IMHO it's asking for trouble. Nevertheless, kelmo's method is probably the safest when it comes to KDM/E.

Similar Threads

  1. Login as ROOT
    By ackelley in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-12-2005, 11:52 PM
  2. How do root login
    By mienque in forum General Support
    Replies: 1
    Last Post: 05-29-2004, 06:15 AM
  3. Root login
    By Dark19 in forum General Support
    Replies: 1
    Last Post: 10-15-2003, 03:41 AM
  4. login as root? how?
    By Mogiin in forum General Support
    Replies: 7
    Last Post: 10-13-2003, 11:02 AM
  5. Login as root
    By 1st_time in forum General Support
    Replies: 4
    Last Post: 07-17-2003, 04:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch picture

Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch

$109.99



Seagate Exos X20 16TB 7.2K 256MB 3.5

Seagate Exos X20 16TB 7.2K 256MB 3.5" SATA 6Gb/s Enterprise HDD - ST16000NM000D

$139.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.53



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD HDD Ultrastar DC HC520 HUH721212AL4205 12TB 3.5

WD HDD Ultrastar DC HC520 HUH721212AL4205 12TB 3.5" SAS Server Hard Disk Drive

$45.30