You are not logged in.

#1 2023-07-23 21:48:00

toxa
Member
Registered: 2023-07-23
Posts: 3

Autologin to sway

Hello everyone, it's my first time posting here.
So, I installed swaywm and I want it to start automatically after I enter my password for the disk encryption.
How can I achieve this behavior?

I tried:
installing autologin from AUR - it is pretty much what i need BUT I can't use sudo (and possibly some other things?).
Installing pam_autologin from AUR - still need to type in my username and start sway.

Offline

#2 2023-07-23 22:07:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: Autologin to sway


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2023-07-23 22:08:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Autologin to sway

Jeezus ... those are packages?  Get rid of that nonsense and follow the wiki:

https://wiki.archlinux.org/title/Getty# … al_console
https://wiki.archlinux.org/title/Sway#A … _TTY_login


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB