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
  •  


VINTAGE DEC DIGITAL DISK FOR RK 05 HARD DRIVE / DECPACK 2200 BPI-16 picture

VINTAGE DEC DIGITAL DISK FOR RK 05 HARD DRIVE / DECPACK 2200 BPI-16

$95.00



Vintage Intel UPI-41  Universal Peripheral Interface User's Manual picture

Vintage Intel UPI-41 Universal Peripheral Interface User's Manual

$24.99



Vintage 1991 Hewlett Packard  DeskJet 500 Printer Manual Bundle W Floppy Disk picture

Vintage 1991 Hewlett Packard DeskJet 500 Printer Manual Bundle W Floppy Disk

$23.99



Vintage Atari STM1 Rollerball Two-Button Mouse Serial X5045136618 picture

Vintage Atari STM1 Rollerball Two-Button Mouse Serial X5045136618

$69.99



Vintage Microsoft Windows 95 Upgrade CD-ROM Edition picture

Vintage Microsoft Windows 95 Upgrade CD-ROM Edition

$12.12



Vintage COMPUTER BASEBALL GAME- SSI- Retro- 48k Atari, Commodore 64 Floppy Disk picture

Vintage COMPUTER BASEBALL GAME- SSI- Retro- 48k Atari, Commodore 64 Floppy Disk

$35.00



Vintage Tandy Radio Shack Model 102 Portable Computer picture

Vintage Tandy Radio Shack Model 102 Portable Computer

$140.00



Vintage CARDCO Vic-20 C64 +4 C16 and C128 Parallel Printer Interface Card - QTY picture

Vintage CARDCO Vic-20 C64 +4 C16 and C128 Parallel Printer Interface Card - QTY

$19.99



Vintage Retro AT PC Tower - Pentium MMX 166 24MB 3.5 5.25

Vintage Retro AT PC Tower - Pentium MMX 166 24MB 3.5 5.25" Sound Keyboard POSTS

$199.00



Vintage 1986 IBM 1389262 Model M buckling spring terminal keyboard -1 keycap picture

Vintage 1986 IBM 1389262 Model M buckling spring terminal keyboard -1 keycap

$150.00