Commit graph

26 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
d8c81ce3fb
Fix warnings 2024-05-17 09:17:02 -06:00
Jeremy Soller
d11501c43d
Update dependencies 2024-05-17 09:11:50 -06:00
Jeremy Soller
bfe8d8506b
Power off and restart dialogs 2024-05-07 10:08:03 -06:00
Jeremy Soller
93d4818823
Add localization 2024-05-07 10:07:48 -06:00
Jeremy Soller
df5564e55a
Update libcosmic, fixing race conditions 2024-04-05 09:45:20 -06:00
Lily Foster
1bded07bfd Update libcosmic 2024-04-05 08:57:41 -06:00
Jeremy Soller
b8530a9001
Do not use dbus-run-session, fixes #22 and #23 2024-03-22 08:13:14 -06:00
Jeremy Soller
1b13865ea0
use dbus-run-session and set XDG_CURRENT_DESKTOP 2024-03-19 21:11:21 -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
0d7624b76d Improved greetd error handling 2024-02-22 20:51:10 -07: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
3e2743a2e6
Use layer shell for greeter 2024-02-06 10:58:34 -07:00
Jeremy Soller
c3e530434d
Set XDG_SESSION_TYPE 2024-02-06 10:32:56 -07:00
Jeremy Soller
24ed38e3f8
Wrap x sessions in startx 2024-02-06 10:26:53 -07:00
Jeremy Soller
d4d2773715
Update libcosmic 2024-01-17 09:37:15 -07:00
Jeremy Soller
8d91f3c4ea
Add suspend to greeter 2023-11-29 08:05:09 -07:00
Jeremy Soller
49ee2c63b7
Add subscription for updating time 2023-11-27 08:57:02 -07:00
Ian Douglas Scott
3eac044e9c Use ext-session-lock protocol 2023-11-15 16:17:38 -08:00
Jeremy Soller
8a9d83632e Parse gecos csv 2023-10-25 10:05:13 -06:00
Jeremy Soller
55ef1dc54f
Scale background appropriately 2023-10-06 20:24:03 -06:00
Jeremy Soller
e028c2eac5
Reduce differences between greeter and locker 2023-10-06 15:02:25 -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