Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:system:autologin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:system:autologin [2024/08/07 22:40] – [Link the New Service] marlonivostart:system:autologin [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Autologin on Artix Linux ====== 
  
-Here's a guide on setting up autologin on Artix Linux without systemd. 
- 
-==== Create a Service File for agetty ==== 
- 
-Create a new file for the desired tty, e.g., for tty1: 
-<code> 
-mkdir /etc/init.d/agetty.tty1 
-</code> 
- 
-==== Link the New Service ==== 
- 
-Link the new service to the default runlevel: 
-<code> 
-ln -s /etc/init.d/agetty.tty1 /run/runit/service/ 
-</code> 
- 
-In this File replace: 
-<code> 
-#!/usr/bin/openrc-run 
-command_args="--autologin <username> --noclear tty1 38400 linux" 
-</code> 
- 
-Replace ''username'' with your actual username and without the ''<>''. 
- 
-Then uncomment the following line: 
-<code> 
-# command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}" 
-</code> 
- 
-==== Ensure the File is Executable ==== 
- 
-chmod +x /etc/init.d/agetty.tty1 
- 
-==== Restart the System ==== 
- 
-Restart your system: 
-<code> 
-reboot 
-</code> 
- 
-After rebooting, your user should automatically log in. 
- 
-===== Troubleshooting ===== 
- 
-If autologin doesn't work, check log files and permissions of configuration files. 
-<code> 
-sudo cat /var/log/messages.log 
-sudo cat /var/log/syslog.log 
-sudo cat /var/log/daemon.log 
-</code> 
- 
-This should help you set up autologin on Artix Linux effectively. 
start/system/autologin.1723070441.txt.gz · Last modified: by marlonivo