start:system:autologin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start:system:autologin [2024/08/08 22:11] – [(OPENRC USERS ONLY)] marlonivo | start:system:autologin [2024/08/25 02:03] (current) – marlonivo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Autologin on Artix Linux ====== | + | ====== Autologin on Artix Linux Open RC ====== |
- | Here's a guide on setting up autologin on Artix Linux without systemd. | + | Here's a guide on setting up autologin on Artix Linux with initsystem openrc. |
- | ==== DINIT USERS ==== | + | First you want to find out which init-system (service-manager) you use with the command: |
- | Create a new file for the desired tty, e.g., for tty1: | + | |
< | < | ||
- | mkdir / | + | rc-status -m |
</ | </ | ||
- | In this File insert: | + | When its openrc go ahead. If not don't. |
- | < | + | |
- | type = process | + | |
- | command | + | |
- | restart | + | |
- | depends on = loginready | + | |
- | termsignal | + | |
- | smooth-recovery | + | |
- | inittab-id | + | |
- | inittab-line | + | |
- | </ | + | |
- | ==== Ensure the File is Executable ==== | + | ---- |
- | < | + | |
- | chmod +x / | + | |
- | </ | + | |
- | ==== OPENRC USERS ==== | + | ==== Configuration |
- | Open the file `inittab` for the desired tty, e.g., for tty1: | + | Open the desired tty, e.g., tty1 runlevel file: |
< | < | ||
- | sudo nano /etc/inittab | + | nano /etc/runlevels/ |
</ | </ | ||
In this File insert: | In this File insert: | ||
< | < | ||
- | c1: | + | agetty_options=" |
</ | </ | ||
- | Replace username with your actual username. | + | Replace username with your actual username. After rebooting, your user should automatically log in. |
- | + | ||
- | ==== Ensure the File is Executable ==== | + | |
- | < | + | |
- | chmod +x / | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== Restart the System ==== | + | |
- | + | ||
- | Restart your system: | + | |
- | < | + | |
- | reboot | + | |
- | </ | + | |
- | + | ||
- | After rebooting, your user should automatically log in. | + | |
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 62: | Line 33: | ||
sudo cat / | sudo cat / | ||
</ | </ | ||
- | |||
- | This should help you set up autologin on Artix Linux effectively. |
start/system/autologin.1723155089.txt.gz · Last modified: 2024/08/08 22:11 by marlonivo