You are not logged in.
Pages: 1
Hello everyone,
I encrypted the hard drive of my computer and I would prefer not to enter my username and password each time I boot my computer. So I want to figure out a way to automatically start my .xinitrc session each time I decrypt my disk.
I searched on the Internet on how to accomplish that, and I found the solution may reside in a trick in systemd (as described here). I followed a guide that didn’t help. It basically told me to create a symlink from /etc/systemd/system/autorogin@.service to /etc/systemd/system/getty@tty1.service and change some settings in the file...
Is it possible to autologin (without entering the password) to X without using any Display Manager? If so, how would you do it?
Thanks in advance!
Last edited by Math3mat1x (2020-06-13 07:33:25)
Offline
Offline
I followed a guide that didn’t help. It basically told me to create a symlink from /etc/systemd/system/autorogin@.service to /etc/systemd/system/getty@tty1.service and change some settings in the file...
And how did it not help? That is the answer to your exact question. It even provided the link to the wiki page that provided those instructions. Follow them.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Sorry, all the answers were in the ArchWiki as Slithery pointed out. The thing is I didn’t understand anything I was doing. For me, everything was a "black box".
I modified files I didn’t expected to, used software I’ve never heard off... this is absolute nonsense to me. Can you explain me what getty, agetty, and the meaning of the file I had to change? What is mingetty?
Thanks a lot for your answers!
Offline
https://lmgtfy.com/?q=linux+getty
https://lmgtfy.com/?q=mingetty
https://lmgtfy.com/?q=agetty
`man agetty`
`man systemd`.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1