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/08 22:19] – [Restart the System] 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. 
- 
-First you want to find out which init-system (service-manager) you use with the command: 
-<code> 
-rc-status -m 
-</code> 
- 
-==== IF YOU ARE A DINIT USER ====  
-Create a new file for the desired tty, e.g., for tty1: 
-<code> 
-mkdir /etc/init.d/agetty.tty1 
-</code> 
- 
-In this File insert: 
-<code> 
-type              = process 
-command           = /sbin/agetty -a negative --noclear tty1 38400 linux 
-restart           = true 
-depends on        = loginready 
-termsignal        = HUP 
-smooth-recovery   = true 
-inittab-id        = 1 
-inittab-line      = tty1 
-</code> 
- 
-==== Ensure the File is Executable ==== 
-<code> 
-chmod +x /etc/init.d/agetty.tty1 
-</code> 
- 
-==== IF YOU ARE A OPENRC USERS ====  
-Open the file `inittab` for the desired tty, e.g., for tty1: 
-<code> 
-sudo nano /etc/inittab 
-</code> 
- 
-In this File insert: 
-<code> 
-c1:12345:respawn:/sbin/agetty -a username tty1 linux 
-</code> 
- 
-Replace username with your actual username. 
- 
-==== Ensure the File is Executable ==== 
-<code> 
-chmod +x /etc/inittab 
-</code> 
- 
- 
-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.1723155547.txt.gz · Last modified: by marlonivo