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:04] – 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. |
- | ==== Create a Service File for agetty ==== | + | 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 | + | |
- | </ | + | |
- | Replace '' | + | ---- |
- | Then uncomment | + | ==== Configuration ==== |
+ | Open the desired tty, e.g., tty1 runlevel file: | ||
< | < | ||
- | # command_args_foreground=" | + | nano / |
</ | </ | ||
- | ==== Ensure the File is Executable ==== | + | In this File insert: |
< | < | ||
- | chmod +x / | + | agetty_options=" |
</ | </ | ||
- | ==== Restart the System ==== | ||
- | Restart | + | Replace username with your actual username. |
- | < | + | |
- | reboot | + | |
- | </ | + | |
- | + | ||
- | After rebooting, your user should automatically log in. | + | |
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 50: | Line 33: | ||
sudo cat / | sudo cat / | ||
</ | </ | ||
- | |||
- | This should help you set up autologin on Artix Linux effectively. |
start/system/autologin.1723154699.txt.gz · Last modified: 2024/08/08 22:04 by marlonivo