Files
OrionOS/iso/profile/airootfs/root/.bash_profile
T
nmemmertandClaude Sonnet 4.6 1fa8f212b1 Auto-start X on boot: autologin root on TTY1, startx from .bash_profile
Also add all OrionOS binaries to file_permissions so archiso sets 755
on them in the squashfs (fixes Permission denied from xinitrc).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-31 13:20:03 -04:00

4 lines
75 B
Bash

if [[ -z $DISPLAY ]] && [[ $(tty) == /dev/tty1 ]]; then
exec startx
fi