Hello.
I run knoppix off my laptop HDD. I had it setup to autologin, but then I removed the xdm and kdm and it has been booting straight into the root console, not really a problem since I then just su into my account (not great I know).
Anyway, now I want to add another user to my computer but I can't get it to stop booting straight into root. I really just want a console login, but I tried reinstalling xdm and kdm but they do not work.
Aat boot it says
"starting xdm" but then it just goes straight to console. startx starts the x manager just fine, so I know x is not the problem. Also, typing xdm starts X and has the login window.
At the console, runlevel returns N 5, so I know it should be running graphical.
I guess I must have bodged a script somewhere, but where, and which one?
To summarise, I would like the computer to boot to a non-graphical login session, but instead automagically logs into root. What script controls this?
Thanks for any help you can give,
Luke

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS
$189.98
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Lenovo ThinkStation P500 Xeon E5-2699v3 32GB RAM 512GBSSD Nvidia K2200 4G
$499.00
Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS
$144.98
Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49
Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor
$199.99
Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km
$11.99
Intel Xeon E5-2667V4 8-Core 3.20GHz SR2P5 CPU Processor *km
$17.99
Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W
$35.00
DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11
$149.00