01-Linux_Common_System_Customization
Linux System Login Credentials
Ubuntu Username/Password: kickpi/kickpi
ROOT Password: root
Change Default Login User
For Serial Port Login: Modify /lib/systemd/system/serial-getty@.service.d/override.conf

Enable ROOT Login for Desktop Environment
Modify
/etc/lightdm/lightdm.conf.d/22-autologin.conf:
[Seat:*]
autologin-user=root # Change to root
autologin-user-timeout=0
user-session=xfceModify
/etc/lightdm/users.conf:
[UserList]
minimum-uid=0 # Allow UID=0 (root) to log in
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin /sbin/nologinBackup eMMC System to New SD Card (System Backup)
Steps:
Insert a high-speed SD card (Class 10 recommended).
Format the SD card:
Clone the system:

Notes:
To disable auto-burn service:
Fix UUID conflicts by modifying
/etc/fstabor deleting the file before cloning.
Backup SD Card System
Mount the USB drive:
Run the packaging script:
Output format:
Ubuntu22.04.5LTS_ztl_ext4_202411131114.imgMount the image for modification:
Set Auto-Start Commands
Add commands to
/etc/rc.local.Or create service files in
/etc/systemd/system/.
Configure WiFi Hotspot (AP Mode)
Check AP mode support:
Install dependencies:
Create a virtual interface:
Use
create_aptool:
Connect to WiFi and Obtain IP
Configure
/etc/wpa_supplicant.conf:Connect:
VNC Remote Desktop Login
Start VNC server:
Modify
~/.vnc/xstartup:Restart VNC:
Connect using RealVNC Viewer:

Install Packages from Ubuntu Repository
Example for installing GCC:
Search for packages at: Ubuntu Packages
Troubleshooting
Issue: Desktop sound settings crash. Fix:

Last updated