| 27 Aug 2024 |
aloisw | No autologin, SDDM simply seems to work properly. | 17:29:22 |
K900 ⚡️ | That's... interesting | 17:32:22 |
K900 ⚡️ | Oh god | 17:32:32 |
K900 ⚡️ | OF COURSE IT FUCKING WORKED PROPERLY | 17:32:38 |
K900 ⚡️ | BECAUSE THE ENVVAR WAS NEVER FUCKING SET | 17:32:43 |
K900 ⚡️ | https://github.com/sddm/sddm/blob/4ec29a8bba033d475f197693fac6cb0c383a1da2/src/common/Configuration.h#L50 | 17:33:11 |
K900 ⚡️ | BECAUSE GREETERENVIRONMENT IS COMMA SEPARATED | 17:33:17 |
K900 ⚡️ | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | 17:33:26 |
aloisw | Wait so LANG got set to C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell? | 17:34:02 |
K900 ⚡️ | YES | 17:34:30 |
K900 ⚡️ | AND THAT'S WHY HE GOT THE "FALLING BACK TO C.UTF-8" WARNING | 17:34:40 |
K900 ⚡️ | WHICH HE ENCODED WRONG | 17:34:46 |
K900 ⚡️ | FUCKASS | 17:34:50 |
K900 ⚡️ | God I want to revert this so bad | 17:35:00 |
K900 ⚡️ | Just to make a point | 17:35:04 |
aloisw | Mär 20 10:13:46 magnesium sddm-helper-start-wayland[1838]: "kwin_xkbcommon: XKB: couldn't find a Compose file for locale \"C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell\" (mapped to \"C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell\")\n"
It was right there from the beginning… | 17:36:58 |
aloisw | And the other question that remains: what the heck did it use other than layer-shell that seemed to work? | 17:37:57 |
K900 ⚡️ | xdg-shell probably | 17:38:17 |
K900 ⚡️ | And thankfully no one figured out how to spawn another window | 17:38:25 |
aloisw | Not that you can't spawn other windows with layer-shell, I think the Wayland socket should still be protected properly. | 17:39:24 |
K900 ⚡️ | Well yes but then you can alt-tab to that window from the greeter | 17:40:06 |
aloisw |
- Why does that not work with layer-shell? 2. How do you even get that window when the Wayland socket is protected properly?
| 17:41:33 |
K900 ⚡️ | layer-shell just makes the greeter the background, more or less | 17:42:19 |
K900 ⚡️ | Kind of like the X root window | 17:42:23 |
K900 ⚡️ | And for 2), uh, some weird qt/ime abuse thing? | 17:42:32 |
K900 ⚡️ | The socket is in /var/lib/sddm owned by the sddm user | 17:42:39 |
K900 ⚡️ | So it should not be directly exploitable without physical access at least | 17:42:50 |
aloisw | error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "layer-shell-qt" at /nix/store/qb3bg0gsfbzvi1mh07blgg5nmx6c7f0a-nixpkgs/pkgs/applications/display-managers/sddm/default.nix:5
Do you get that too or am I patching my nixpkgs wrong? | 17:46:40 |
K900 ⚡️ | Uhhhh | 17:47:36 |
K900 ⚡️ | I think I know what that is | 17:47:46 |