Linux autologin without DM (tested on Fedora 38)
tty autologin
• install mingetty
• sudo nano /etc/systemd/system/getty.target.wants/getty@tty1.service
• go to [Service] and change ExecStart=... to:
ExecStart=-/sbin/mingetty --autologin user_name %I
and (optional) Type=... to:
Type=simple
autostart X
echo -en 'if [ -z "${DISPLAY}" ] && [ "\n{XDG_VTNR}" -eq 1 ]; then\n startx\nfi'>>.bash_profile
start openbox
echo openbox-session>.xinitrc
Комментариев нет:
Отправить комментарий