-
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!
-
Additional info
BTW, reinstalling is not an option, I have too much stuff in this computer to start from scratch.
Thanks!
-
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
-
Senior Member
registered user
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
-
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!
-
Senior Member
registered user
-
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!
-
Senior Member
registered user
-
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
-
Senior Member
registered user
Re: How to get login prompt in Knoppix-style install?

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.
Similar Threads
-
By newbie_remaster in forum Customising & Remastering
Replies: 3
Last Post: 09-20-2004, 01:40 AM
-
By Markus in forum The Lounge
Replies: 19
Last Post: 05-29-2004, 03:52 PM
-
By erp in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 03-23-2004, 02:26 AM
-
By Bukowski in forum Customising & Remastering
Replies: 1
Last Post: 01-19-2004, 01:57 PM
-
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
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots
$745.00

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$248.00

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell Constellation ES.3 3TB Enterprise-class Hard Drive (Wiped & Tested)
$39.00