Results 1 to 2 of 2

Thread: Yet another login problem

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    1

    Yet another login problem

    I've been using windows for a long time and pretty new for linux. However, I was so impressed by a Knoppix demo the passing Saturday, I decided to try a HD install on Monday and had a problem. Here is how I install it:

    1) I have a 40GB HD. The first 20GB (NTFS) is for win2k, another 10GB is FAT32, and 10GB for linux (750M swap, remaining ext3).

    2) I searched this site and decide to go for a HD install, so I chose debian-style and let Lilo write to MSR. Everything is fine works, but I just can't access internet and plug in my usb thumbdrive, and it's totally different from the Knoppix live CD, there I can have all the setup ready automatically.

    3) Thought I'm pretty new to linux, so I decided to go back Knoppix-style, and I format the linux space, and reinstall Knoppix and chose Knoppix-style this time. Everything is perfect and here came the problem.

    4) Since I found everytime I boot computer, Knoppix doesn't ask me any password, and it's secure, I searched the forum and decided to follow shah's instruction listed below:

    Check and Test:
    (1) Check your /etc/init.d, make sure there is kdm script in there.
    --Yes, I have kdm script there.
    (2) Check if KDM is install, run : locate kdm
    --Looks yes, after I type this command, a lot stuff come out.
    (3) Check your /etc/inittab, is there a line on top:
    id:5:initdefault: ..............to make sure you run on appropriate
    runlevel.
    --Yes, there is a line
    (4)Get out from Xsession : ctrl+alt+backspace
    --No problem
    (5) As root, run this command /etc/init.d/kdm start
    If you can see the login screen and able to login, proceed to editing
    procedure.
    --Not sure if this step is correct or not. I did setup a password
    for root. When I hit this command, nothing happened, no
    error message shown, but just reture to cursor.

    (1) Edit your /etc/rc5.d
    (a)remove symlink of S*xsession or move in to any backup folder
    (to be save). S*xsession is a script which let you boot directly to
    kde. -- I don't have S*xsession in /etc/rc5.d, only S20cypsys,
    But I did temporarily move it into another folder.
    (b)Create a new symlink to /etc/init.d/kdm
    root konsole:update-rc.d kdm start 90 5.
    --I forgot the exact command I typied, similar to this, which
    results in adding a K20kdm link to each folder from rc0.d ~
    rc6.d.
    (2) Shutdown/reboot
    (3) If something goes wrong after reboot and you can't enter xsession,
    restore S*xsession and remove kdm in /etc/rc5.d using mc.
    --My problem is, after reboot, it does show login window, but
    when I type root and password, it just goes back to the login
    window again! I can't enter anymore.

    Who knows how can I login again (yes I can login with live cd, but I just can't modify anything, even I check out the read only box) and how can I setup a secure login correctly?

    A little long, but I just hope some guru can help me with as much as info I provided.

    Thanks in advance.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    You didn't replace kdm-np in etc/pam.d/kdm-np.
    The url I gave last time doesn't work anymore.
    This is the kdm-np looks like:

    Code:
    #
    # /etc/pam.d/kdm - specify the PAM behaviour of kdm
    #
    
    # The standard Unix authentication modules, used with
    # NIS (man nsswitch) as well as normal /etc/passwd and
    # /etc/shadow entries.
    # Remove include common-auth line for no password logins
    #@include common-auth
    @include common-account
    @include common-password
    @include common-session
    
    auth       required     pam_nologin.so
    auth       required     pam_env.so
    session    required     pam_limits.so
    
    auth       required     pam_permit.so
    If above doesn't work
    Try delete this :
    /root/.kderc
    /root/.kde
    then reboot.

    If still doesn't work, go for GDM.

    Still doesn't work...Go for debian like installation. Less problematic.

    Still doesn't work.... Go for Kanotix.

Similar Threads

  1. Keyboard Problem at GUI Login
    By kaplan71 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 02-28-2005, 09:07 PM
  2. Kernel Login Bootup Problem
    By TheDDI in forum General Support
    Replies: 1
    Last Post: 10-18-2004, 03:19 AM
  3. permission problem, cannot login
    By jack-ren in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 10-12-2004, 09:25 PM
  4. login problem
    By patiscool in forum General Support
    Replies: 2
    Last Post: 03-26-2004, 02:16 AM
  5. login problem
    By schunn99 in forum The Lounge
    Replies: 1
    Last Post: 03-13-2004, 05:46 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
  •  


16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS picture

16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS

$65.00



128gb DDR4 Ram Hpyerx HX430C15PB3K8/128 16x8 3000 MHZ CL15 Tested Read DESC picture

128gb DDR4 Ram Hpyerx HX430C15PB3K8/128 16x8 3000 MHZ CL15 Tested Read DESC

$300.00



Corsair Vengeance RGB Pro 128GB 4x32GB DDR4 3600MHz C18 RAM Kit picture

Corsair Vengeance RGB Pro 128GB 4x32GB DDR4 3600MHz C18 RAM Kit

$770.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



Samsung 8GB DDR4 SO-DIMM PC4-3200AA 260-Pin RAM M471A1G44BB0-CWE Module picture

Samsung 8GB DDR4 SO-DIMM PC4-3200AA 260-Pin RAM M471A1G44BB0-CWE Module

$29.25



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



32GB (2X16GB) 3200mhz DDR4 RAM With EZDIY-FAB ARGB Heatspreaders picture

32GB (2X16GB) 3200mhz DDR4 RAM With EZDIY-FAB ARGB Heatspreaders

$130.00



MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT picture

MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT

$159.99



CORSAIR VENGEANCE DDR5 RAM 32GB 2x16GB 5600MHz CL36 Black CMK32GX5M2B5600C36 picture

CORSAIR VENGEANCE DDR5 RAM 32GB 2x16GB 5600MHz CL36 Black CMK32GX5M2B5600C36

$375.00



6x Kingston KSM24SES8/8ME 8GB ECC + 3x DDR4 SO-DIMM RAM Lot picture

6x Kingston KSM24SES8/8ME 8GB ECC + 3x DDR4 SO-DIMM RAM Lot

$222.00