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

Thread: How to get login prompt in Knoppix-style install?

  1. #1

    How to get login prompt in Knoppix-style install?

    I have Knoppix 3.3 installed on my computer. I chose the Knoppix-style installation, I would have prefered the Debian-style installation but for some reason the installer would hang.
    Now I have several annoyances that I have to deal with, and would really love to fix them if possible
    1) No login prompt: The system logins as knoppix user by default. I looked into the KDE Login Manager, but no dice.
    2) Automatic hardware detection: This is nice for a LiveCD, but gets really annoying after a while if your distro is installed on your HD and nothing is changing from one bootup to the next. I would like at the least to have all my hard drives mounted and set to read-write (instead of read-only) a boot.

    Any suggestions?

    TIA!

  2. #2

    Additional info

    BTW, reinstalling is not an option, I have too much stuff in this computer to start from scratch.

    Thanks!

  3. #3
    Member registered user
    Join Date
    Oct 2004
    Location
    My computer
    Posts
    35
    I'm not a knoppix master myself(actually im a newb), but what if you backed up your data then reinstalled? Knoppix i know has CD-burning stuff in it(i used it once, dont remember how exactly tho), you can burn a CD with your data then reinstall. If your logged in as knoppix, you cant write to the /usr directory so you cant install programs until you fix it anyway...

    Just a thaught

  4. #4
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    http://www.knoppix.net/forum/viewtop...login&start=10

    The url for kdm-np is dead. Create your own:

    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

  5. #5

    Still having problems

    Hello shah,

    Thank you much for the instructions you posted, I followed them and did get the login prompt. However, it made my system unstable and I had to roll the changes back. Two questions if you don't mind:
    1) When you say delete S*xsession, do you mean that from all the rcX.d directories or just rc5? Knoppix only has 2 files in all of these directories: K10xsession and S90knoppix-halt. K10xsession is in various of these directories.
    2) What is that extra script you posted in your message about kdm-np? I am not sure I understand its purpose.

    Thanks!

  6. #6
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    1) Delete S*Xsession on all rcX.d. Command: update-rc.d -f xsession remove

    2) KDM by default cannot run in passwordless condition. When you install knoppix using knoppix style, you did not create any password...thus kdm will not be able to let you log in. kdm-np is used to fix this problem (it's not a script but a config file). You should create a password for user and root after login.

    3) If Kdm can't work, you could try GDM


  7. #7

    Almost

    Thank you much shah.
    Yesterday I did a dist-upgrade (which puts a bunch of links in the rcX directories) and moved the knoppix files to a different directory.
    It almost worked, I did get the KDE Login prompt, and was able to login fine. Two problems:
    1) My ethernet cards were not configured (I suppose I have to hunt down some info on how to set them up manually, but it was hard without an Internet connection )
    2) Even though the X session displayed the login prompt, all the other 4 terminals are logged in, and worse as root!
    Would you know how do I get the regular login (non-GUI) to display on the non-X terminals instead of having them automatically log in the root user?

    Thanks!

  8. #8
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    1) To configure ethernet card you need to run network card configuration utility (under knoppix menu). Select not to use DHCP and answer the Q.
    To check if your ethernet card is installed, run this command:
    lspci -v
    see what type of your card.
    lsmod
    see if the module of your card is loaded

    2) This happen because you don't have a user. Create a user and it's password using command : adduser

    To log in to command line upon boot you need to edit file /etc/inittab
    # /etc/inittab: init( configuration.
    # $Id: inittab,v 1.9 2001/05/31 10:37:50 knopper Exp $

    # The default runlevel.
    id:5:initdefault:

    Change the id:5:initdefault: to id:3:initdefault:

    You also can log in to command line from KDM. There is a button there which you can choose which Desktop you want to log to, choose console log in.


  9. #9
    Junior Member
    Join Date
    Oct 2004
    Posts
    1
    HI thors_hammer123

    I have same problem as you had.

    I have knoppix-like installation. I followed the instructions of shah but nothing happened.
    I have same kdm as described shah.

    Could you describe what exactly you did in order to get login prompt at booting and getting login prompt when su and sudo.

    Thank you in advance.

    neural

  10. #10
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: How to get login prompt in Knoppix-style install?

    Quote Originally Posted by thors_hammer123
    I have Knoppix 3.3 installed on my computer. I chose the Knoppix-style installation, I would have prefered the Debian-style installation but for some reason the installer would hang.
    Now I have several annoyances that I have to deal with, and would really love to fix them if possible
    1) No login prompt: The system logins as knoppix user by default. I looked into the KDE Login Manager, but no dice.
    2) Automatic hardware detection: This is nice for a LiveCD, but gets really annoying after a while if your distro is installed on your HD and nothing is changing from one bootup to the next. I would like at the least to have all my hard drives mounted and set to read-write (instead of read-only) a boot.

    Any suggestions?

    TIA!
    To mount your drive rw automatically, edit /etc/fstab change 'noauto' to auto & add umask=000 which will allow read/write for all users:
    /dev/hda6 /mnt/hda6 vfat auto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    Note this is for a vfat drive , yours may be different.
    Since you have a knoppix type install you will then have to edit /etc/lilo.conf adding 'nofstab' to the 'append=' line to prevent knoppix from overwriting it with each boot. Don't forget to rerun lilo to implement the changes.
    You could also add another boot option with knoppix 2 in the append line to boot up in terminal mode.
    You can edit /etc/init.d/knoppix-autoconfig to bypass some of the autodetection if you want but do it at your own risk! The startup sequence is the three files in /etc/rcS.d:knoppix-autoconfig, knoppix-hd-config, mountall.sh. Edit as much as you dare. I usually fiddle until I've broken it then regret the last move.

Page 1 of 2 12 LastLast

Similar Threads

  1. login prompt at bootup....HELP !!
    By newbie_remaster in forum Customising & Remastering
    Replies: 3
    Last Post: 09-20-2004, 01:40 AM
  2. Replies: 19
    Last Post: 05-29-2004, 03:52 PM
  3. Howto Get KDE login prompt at boot?
    By erp in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 03-23-2004, 02:26 AM
  4. Remastering from "Knoppix" style hard disk install
    By Bukowski in forum Customising & Remastering
    Replies: 1
    Last Post: 01-19-2004, 01:57 PM
  5. newbie question login prompt
    By hololi in forum General Support
    Replies: 2
    Last Post: 02-27-2003, 03:59 PM

Posting Permissions

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


Cisco Series 3845 Integrated Service Router picture

Cisco Series 3845 Integrated Service Router

$71.49



Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



Cisco 2900 Series CISCO2951/K9 v06 picture

Cisco 2900 Series CISCO2951/K9 v06

$76.49



Cisco Catalyst 48-Port Manage Gigabit Switch w/ 2x 10G SFP+ WS-C2960S-48FPD-L picture

Cisco Catalyst 48-Port Manage Gigabit Switch w/ 2x 10G SFP+ WS-C2960S-48FPD-L

$79.99



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$79.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$44.99



Cisco QSFP-40G-SR-BD BiDi Short-reach Transceiver, 1 Year Warranty picture

Cisco QSFP-40G-SR-BD BiDi Short-reach Transceiver, 1 Year Warranty

$17.25



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



Cisco Catalyst C9200-48P-A 48 Port Rack Mountable Network Switch picture

Cisco Catalyst C9200-48P-A 48 Port Rack Mountable Network Switch

$1000.00



Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested picture

Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested

$799.99