Skip to content
Commit 383121b6 authored by Stefy Lanza (nextime / spora )'s avatar Stefy Lanza (nextime / spora )
Browse files

Complete autologin system overhaul: console autologin + SSH fixes + ISO tools

Major Changes:
- Replaced LightDM/SLiM with direct console autologin using SysV inittab
- Fixed root account locking that prevented autologin
- Added comprehensive SSH configuration for remote access
- Created robust auto-start X session with auto-installer launch
- Added terminal emulator support (xterm, lxterminal, xfce4-terminal)

Key Features:
- tty1: Auto-login as root → auto-start X → auto-installer appears
- tty2-6: Normal login shells for debugging access
- SSH: Uses root password from ISO creation (not hardcoded)
- Installed system: Auto-login + OpenVPN + MBetterClient with --web-host 0.0.0.0

Tools Added:
- extract_iso.sh / rebuild_iso.sh: Immediate ISO modification workflow
- fix_inittab_in_image.sh: Complete ISO analysis and rebuild
- Enhanced cleanup.sh with --no-cache option for faster rebuilds
- Comprehensive diagnostic tools and logging

Build System:
- SysV init compatible (no systemd dependencies)
- Clean package list (removed display managers, added xinit)
- Proper inittab format compliance (max 4 char ID fields)
- Enhanced post-installation system configuration

Files Modified:
- config/hooks/live/setup-console-autologin.hook.chroot (new)
- config/hooks/live/enable-ssh-root.hook.chroot (enhanced)
- config/hooks/live/run-autologin-debug.hook.chroot (new)
- config/package-lists/live.list.chroot (cleaned, added terminals)
- config/includes.chroot/root/.bashrc (auto-start X)
- config/includes.chroot/root/.xinitrc (auto-installer launch)
- config/includes.binary/setup-installed-system.sh (OpenVPN + MBetterClient)
- config/includes.chroot/usr/local/bin/live-autologin-debug.sh (new)
- Various diagnostic and logging enhancements
parent ea15fed4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment