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 image-20250305115657169


Enable ROOT Login for Desktop Environment

  1. Modify /etc/lightdm/lightdm.conf.d/22-autologin.conf:

[Seat:*]
autologin-user=root  # Change to root
autologin-user-timeout=0
user-session=xfce
  1. Modify /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/nologin

Backup eMMC System to New SD Card (System Backup)

Steps:

  1. Insert a high-speed SD card (Class 10 recommended).

  2. Format the SD card:

  3. Clone the system:

    image-20250304192922929

Notes:

  • To disable auto-burn service:

  • Fix UUID conflicts by modifying /etc/fstab or deleting the file before cloning.


Backup SD Card System

  1. Mount the USB drive:

  2. Run the packaging script:

    Output format: Ubuntu22.04.5LTS_ztl_ext4_202411131114.img

  3. Mount 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)

  1. Check AP mode support:

  2. Install dependencies:

  3. Create a virtual interface:

  4. Use create_ap tool:


Connect to WiFi and Obtain IP

  1. Configure /etc/wpa_supplicant.conf:

  2. Connect:


VNC Remote Desktop Login

  1. Start VNC server:

  2. Modify ~/.vnc/xstartup:

  3. Restart VNC:

  4. Connect using RealVNC Viewer: image-20250317142654795


Install Packages from Ubuntu Repository

Example for installing GCC:

Search for packages at: Ubuntu Packagesarrow-up-right


Troubleshooting

Issue: Desktop sound settings crash. Fix:

05f3817bf038d6f1f138a290c0496e68

Last updated