Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Cannot login other than root, pls help

  1. #1
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    14

    Cannot login other than root, pls help

    After installing Knoppix 3.6 on my laptop, knoppix was working fine till one day I ran out of space .
    I created new extended partition on free space using qtparted as I had about 60% disk unused. After that I am not able to login to KDE as normal user. I can login as root and changed password for normal user but when I logout and try logging in using login screen , when I select another user and try logging in, it does something and shows me login screen again.
    If I enter wrong password, it immediately says login failed but on correct credentials, keep on getting login screen again and again
    Pls. help

  2. #2
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    What did you do after you created the extended partition? They can't be used by themselves, they have to have logical partitions inside them. Did you make a logical partition, or more than one maybe? Then what did you put on them?

    -- Ed

  3. #3
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    14
    Yes I did create logical partition on extended one. After logging in as root I could mount it as /mnt/hda5 (this was recognised and appeared in /etc/fstab). I have put in some mp3 files there
    Thanks,
    Bhushan

  4. #4
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    Hmmmm. What I'm wondering is whether something happened to your home directory /home/username. Root's home directory is /root, so it isn't affected by what goes on in /home.

    Could you show us the lines in your /etc/fstab that start with /dev/hd...?

    -- Ed

  5. #5
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    14
    /dev/hda2 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda1 none swap defaults 0 0
    /dev/hda5 /mnt/hda5 ext2 noauto,users,exec 0 0
    Thanks,
    Bhushan

  6. #6
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    Okay, well, so much for an easy answer - or at least, that easy answer. It's possible that QTParted stole some of your /home directory to make the new partitions, but it's supposed to be pretty safe.

    I think the next thing I'd do is check to make sure your user space is still okay, which would narrow down the possibilities to just losing some setting that affects X or KDE, probably.

    Try starting Knoppix in console (non-GUI) mode with the boot parameter (cheatcode) 2. That puts it in run-level 2 instead of the default 5, which is where KDE gets started up automatically.

    Log in as user instead of root and look around your home directory. In particular, see what configuration files you have. These are normally hidden by having names that start with a period, so the default ls command doesn't display them.
    Code:
    $ ls -d .*
    The -d option keeps ls from showing the contents of directories.

    -- Ed

  7. #7
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    14
    Thanks for immediate response, will check that. Also I tried selecting different window manager (IceWM) from GUI login box and was able to login as normal user. Pardon my ignorance but does that mean something with KDE setting is messed up as well.
    Thanks,
    Bhushan

  8. #8
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    There are system-wide settings for X stuff and KDE stuff that are stored in other places, and then user settings that are stored in your home directory. So if root can log into KDE and use the same applications as you used to be able to do as user, then the system-wide settings should still be good.

    With IceWM working, I'm wondering if it could be a memory problem. How much RAM is installed, and how big is your swap partition - and did you change its size when you repartitioned?

    In a situation where memory is marginal, it's theoretically possible that root could still run KDE because its configuration is pretty minimal - by default Knoppix/KDE doesn't want you to run the GUI as root for security reasons - but the user's configuration could be enough to swamp memory and crash KDE.

    At least you know that your display manager is working. That's the program that's responsible for putting up the login window. It does almost nothing else to speak of, just being the piece between X and the window manager (like IceWM) or window-manger-plus-kitchen sink (like KDE).

    KDE installations use kdm, Gnome installations use gdm, and there's also xdm. But they're all the same size, so there's no reason to think about the display manager any further.

    I'm really guessing here, but I'm still making somewhat ed-ucated guesses!

    -- Ed

  9. #9
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    14
    Thanks.
    I have 128M RAM and 300 M swap space. As far as I remember I did not modify swap space but will double check. Thanks again.
    Thanks,
    Bhushan

  10. #10
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    Well ... it sounds like enough RAM and swap. Here's what they say about minimum system requirements on http://www.knopper.net/knoppix-info/index-en.html:

    20 MB of RAM for text mode, at least 96 MB for graphics mode with KDE (at least 128 MB of RAM is recommended to use the various office products)
    According to that, you should be able to at least get into KDE, though you wouldn't want to run OpenOffice.

    -- Ed

Page 1 of 2 12 LastLast

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
  •  


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

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Samsung  8 GB PC4-17000 DDR4-2133 1Rx8 DDR4 Desktop Memory HP P/N  798034-001 picture

Samsung 8 GB PC4-17000 DDR4-2133 1Rx8 DDR4 Desktop Memory HP P/N 798034-001

$10.00



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL picture

32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL

$32.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM

$87.96