Commit graph

22 commits

Author SHA1 Message Date
Josh Megnauth
bba692eecb Fix login deadlocks
Logins seem to spuriously fail with both correct or incorrect passwords.
The failure is not related to the password. `cosmic-greeter` hangs but
the GUI still works. The password text area disappears as well.

I traced this issue down to the socket. It seems like accessing the
socket deadlocks with one thread waiting for the socket to become
readable while another waits for it to become writable.

Switching to `greet-ipc`'s `TokioCodec` and adding a lock to the socket
seems to have fixed this issue. I successfully logged in and inputted
incorrect passwords consecutively without experiencing a deadlock.
2024-06-03 08:02:56 -06:00
Jeremy Soller
d11501c43d
Update dependencies 2024-05-17 09:11:50 -06:00
Jeremy Soller
93d4818823
Add localization 2024-05-07 10:07:48 -06:00
Ryan Brue
cf1c7579f8 chore: bump dependencies 2024-04-29 14:31:53 -06:00
Jeremy Soller
df5564e55a
Update libcosmic, fixing race conditions 2024-04-05 09:45:20 -06:00
Lily Foster
cb8762180e
Search all XDG_DATA_DIRS and XDG_DATA_HOME for sessions 2024-02-23 18:55:05 -05:00
Jeremy Soller
6747366724
Load theme from proxy 2024-02-06 15:48:57 -07:00
Jeremy Soller
fd049483c3
Add daemon to proxy user backgrounds 2024-02-06 15:03:07 -07:00
Jeremy Soller
195525d450
Implement power icon 2024-01-17 12:37:22 -07:00
Jeremy Soller
d4d2773715
Update libcosmic 2024-01-17 09:37:15 -07:00
Jeremy Soller
13e3dcd911
Implement suspend with logind 2023-11-29 08:02:14 -07:00
Jeremy Soller
8645382110
Update dependencies 2023-10-19 10:46:18 -06:00
Jeremy Soller
1c52e63715
Use themeable branch of libcosmic, adjust date/time spacing 2023-10-12 09:18:04 -06:00
Jeremy Soller
0b187db42c
Parse cosmic background config 2023-10-09 10:59:07 -06:00
Jeremy Soller
7cb1c89474
Implement design items 2023-10-06 13:07:53 -06:00
Jeremy Soller
bec5cb5b7d
Switch to layer-shell for locker 2023-10-06 10:44:05 -06:00
Jeremy Soller
7b8777457b
Add WIP locker 2023-10-05 17:47:23 -06:00
Jeremy Soller
f374bd1cc5
Add session list 2023-10-04 09:52:13 -06:00
Jeremy Soller
ce0f2984c6
Improve design 2023-10-02 16:00:34 -06:00
Jeremy Soller
4077ff0949
Partially implement greetd IPC 2023-10-02 14:38:00 -06:00
Jeremy Soller
cb07b6255e
WIP: open GREETD_SOCK if set 2023-09-29 16:02:45 -06:00
Jeremy Soller
ba83df34ff
cargo init 2023-09-29 09:24:35 -06:00