pop-os / cosmic-greeter

libcosmic greeter for greetd, which can be run inside cosmic-comp
GNU General Public License v3.0
41 stars 19 forks source link

Add cosmic greeter sysuser and tmpfile configurations for systemd-sysusers and systemd-tmpfiles #13

Closed ryanabx closed 4 months ago

ryanabx commented 4 months ago

This is currently a draft while I test to make sure this file works as intended. it works as intended Fixes https://github.com/pop-os/cosmic-greeter/issues/11

This PR creates a systemd-sysusers configuration file and a systemd-tmpfiles configuration file. The sysusers configuration file will tell systemd-sysusers to automatically create and clear a cosmic-greeter user on boot. This file must be placed in /usr/lib/sysusers.d/ The tmpfiles configuration file will tell systemd-tmpfiles to automatically create a specified directory (in this case cosmic-greeter's home directory). This file must be placed in /usr/lib/tmpfiles.d/

This will allow immutable/atomic distributions to make better use of cosmic-greeter.

References: https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html# https://www.freedesktop.org/software/systemd/man/latest/tmpfiles.d.html# I used https://github.com/sddm/sddm/blob/develop/services/sddm-sysuser.conf.in and https://github.com/sddm/sddm/blob/develop/services/sddm-tmpfiles.conf.in as a reference to make these files, also see the conversation in #11 for why this is needed on other distros.

CC @jokeyrhyme

jokeyrhyme commented 4 months ago

Ah, I was about to mention that this doesn't create the group, but actually it does :)

https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html#

u: Create a system user and group of the specified name should they not exist yet. The user's primary group will be set to the group bearing the same name unless the ID field specifies it.

jokeyrhyme commented 4 months ago

Note that systemd-sysusers needs to be executed to cause /etc/passwd, etc to be updated

On my system, there's a systemd unit that does this if it detects that files have been changed (the detection seems sort of brittle to me), but you may need to manually execute it yourself

ryanabx commented 4 months ago

Note that systemd-sysusers needs to be executed to cause /etc/passwd, etc to be updated

On my system, there's a systemd unit that does this if it detects that files have been changed (the detection seems sort of brittle to me), but you may need to manually execute it yourself

Yeah, I have to anyways because I'm on an atomic image right now and unless I want to recompile I need to instead create a temporary /usr overlay, copy the files to test it, and then run systemd-sysusers and systemd-tmpfiles. I will update soon with the results.

ryanabx commented 4 months ago

I was able to load into cosmic-greeter just fine! I had a PAM issue when logging in, but I assume that's a separate issue. This should be ready for review

jokeyrhyme commented 4 months ago

I wonder if it would be acceptable to also update the just file so that it installs these in the correct place in the cosmic-sysext directory?

I did something similar when I added a file to xdg-desktop-portal-cosmic ( https://github.com/pop-os/xdg-desktop-portal-cosmic/pull/16/files ), and the system extension directory is specifically for systemd, so I assume this wouldn't be out-of-scope for the repository

ryanabx commented 4 months ago

I wonder if it would be acceptable to also update the just file so that it installs these in the correct place in the cosmic-sysext directory?

I did something similar when I added a file to xdg-desktop-portal-cosmic ( https://github.com/pop-os/xdg-desktop-portal-cosmic/pull/16/files ), and the system extension directory is specifically for systemd, so I assume this wouldn't be out-of-scope for the repository

Good idea, feel free to check my work with my latest commit, since I haven't used justfiles before. It should copy the configuration files at debian/cosmic-greeter-sysusers.conf and debian/cosmic-greeter-tmpfiles.conf to usr/lib/sysusers.d/cosmic-greeter.conf and usr/lib/tmpfiles.d/cosmic-greeter.conf

jokeyrhyme commented 4 months ago

LGTM :)

ryanabx commented 4 months ago

I've updated my ostree image (https://github.com/ryanabx/fedora-cosmic-atomic/pkgs/container/fedora-cosmic-atomic) to test the commit from a just sysext run, and I'm happy to report that it "just works"! I didn't have to do any more tinkering to get cosmic-greeter to show up.

Quackdoc commented 4 months ago

I tested this out, however with the defaults as is I'm getting a "RuntimeDirNotSet" issue when trying to load up cosmic-greeter

ryanabx commented 4 months ago

I tested this out, however with the defaults as is I'm getting a "RuntimeDirNotSet" issue when trying to load up cosmic-greeter

I'm having a separate issue but I think mine is a new permissions issue with my GitHub actions build. I'll keep you posted if I get mine to work.

Can you send the output of journalctl --unit=cosmic-greeter ?

Quackdoc commented 4 months ago

sorry for the late reply journalctl --unit=cosmic-greeter didn't print anything useful so I ran journalctl --boot -g cosmic instead. I realized the issues with the runtimedir stuff are from me deactivating the service and running sudo greetd --config /etc/greetd/cosmic-greeter.toml so the malconformed config files are probably my issue, Ill rebuild my packaging script since I found the issue, when I get a chance to

```ps Feb 21 14:51:50 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter-daemon.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 14:51:50 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 14:51:53 quackdock sudo[4009]: quack : TTY=pts/0 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/systemctl enable --now cosmic-greeter-daemon.service Feb 21 14:51:53 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter-daemon.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 14:51:53 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter-daemon.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 14:51:54 quackdock systemd[1]: Started COSMIC Greeter Daemon. Feb 21 14:52:01 quackdock sudo[4143]: quack : TTY=pts/0 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/systemctl enable --now cosmic-greeter.service Feb 21 14:52:01 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 14:52:01 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter-daemon.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 14:52:01 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 14:52:01 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:52:01 quackdock greetd[4231]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:52:02 quackdock greetd[4234]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:52:02 quackdock systemd-logind[874]: New session 3 of user cosmic-greeter. Feb 21 14:52:02 quackdock (systemd)[4263]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[cosmic-greeter] ruser=[] rhost=[] Feb 21 14:52:02 quackdock (systemd)[4263]: pam_unix(systemd-user:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:52:02 quackdock systemd[1]: Started Session 3 of User cosmic-greeter. Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.875810Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.879163Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.879179Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.879189Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.879199Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.879208Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.879217Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.879226Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 2024-02-21T19:52:02.879235Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 8: cosmic_comp::config::Config::load Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 9: cosmic_comp::state::State::new Feb 21 14:52:02 quackdock cosmic-greeter[4283]: 10: cosmic_comp::main Feb 21 14:52:02 quackdock cosmic-comp[4283]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:52:02 quackdock greetd[4234]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:52:02 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:52:04 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 1. Feb 21 14:52:04 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:52:04 quackdock greetd[4298]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:52:04 quackdock greetd[4299]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:52:04 quackdock systemd-logind[874]: New session 5 of user cosmic-greeter. Feb 21 14:52:04 quackdock systemd[1]: Started Session 5 of User cosmic-greeter. Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319188Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319398Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319425Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319449Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319471Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319493Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319514Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319535Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 2024-02-21T19:52:04.319556Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 8: cosmic_comp::config::Config::load Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 9: cosmic_comp::state::State::new Feb 21 14:52:04 quackdock cosmic-greeter[4301]: 10: cosmic_comp::main Feb 21 14:52:04 quackdock cosmic-comp[4301]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:52:04 quackdock greetd[4299]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:52:04 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:52:05 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 2. Feb 21 14:52:05 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:52:05 quackdock greetd[4315]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:52:05 quackdock greetd[4316]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:52:05 quackdock systemd-logind[874]: New session 6 of user cosmic-greeter. Feb 21 14:52:05 quackdock systemd[1]: Started Session 6 of User cosmic-greeter. Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570036Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570280Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570313Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570339Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570365Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570390Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570414Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570439Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 2024-02-21T19:52:05.570463Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 8: cosmic_comp::config::Config::load Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 9: cosmic_comp::state::State::new Feb 21 14:52:05 quackdock cosmic-greeter[4318]: 10: cosmic_comp::main Feb 21 14:52:05 quackdock cosmic-comp[4318]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:52:05 quackdock greetd[4316]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:52:05 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:52:06 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 3. Feb 21 14:52:06 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:52:06 quackdock greetd[4332]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:52:06 quackdock greetd[4333]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:52:06 quackdock systemd-logind[874]: New session 7 of user cosmic-greeter. Feb 21 14:52:06 quackdock systemd[1]: Started Session 7 of User cosmic-greeter. Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812424Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812630Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812657Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812681Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812704Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812725Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812747Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812768Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 2024-02-21T19:52:06.812789Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 8: cosmic_comp::config::Config::load Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 9: cosmic_comp::state::State::new Feb 21 14:52:06 quackdock cosmic-greeter[4335]: 10: cosmic_comp::main Feb 21 14:52:06 quackdock cosmic-comp[4335]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:52:06 quackdock greetd[4333]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:52:06 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:52:07 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 4. Feb 21 14:52:07 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:52:07 quackdock greetd[4353]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:52:08 quackdock greetd[4365]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:52:08 quackdock systemd-logind[874]: New session 8 of user cosmic-greeter. Feb 21 14:52:08 quackdock systemd[1]: Started Session 8 of User cosmic-greeter. Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204191Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204338Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204388Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204403Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204416Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204430Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204442Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204455Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 2024-02-21T19:52:08.204468Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 8: cosmic_comp::config::Config::load Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 9: cosmic_comp::state::State::new Feb 21 14:52:08 quackdock cosmic-greeter[4386]: 10: cosmic_comp::main Feb 21 14:52:08 quackdock cosmic-comp[4386]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:52:08 quackdock greetd[4365]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:52:08 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:52:09 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 5. Feb 21 14:52:09 quackdock systemd[1]: cosmic-greeter.service: Start request repeated too quickly. Feb 21 14:52:09 quackdock systemd[1]: cosmic-greeter.service: Failed with result 'start-limit-hit'. Feb 21 14:52:09 quackdock systemd[1]: Failed to start COSMIC Greeter. Feb 21 14:52:18 quackdock (sd-pam)[4265]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[cosmic-greeter] ruser=[] rhost=[] Feb 21 14:59:43 quackdock sudo[6752]: quack : TTY=pts/0 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/systemctl restart cosmic-greeter.service Feb 21 14:59:43 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:59:43 quackdock greetd[6764]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:59:43 quackdock greetd[6767]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:59:44 quackdock systemd-logind[874]: New session 9 of user cosmic-greeter. Feb 21 14:59:44 quackdock (systemd)[6798]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[cosmic-greeter] ruser=[] rhost=[] Feb 21 14:59:44 quackdock (systemd)[6798]: pam_unix(systemd-user:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:59:44 quackdock systemd[1]: Started Session 9 of User cosmic-greeter. Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.510708Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.510926Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.510953Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.511002Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.511026Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.511048Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.511069Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.511090Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 2024-02-21T19:59:44.511111Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 8: cosmic_comp::config::Config::load Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 9: cosmic_comp::state::State::new Feb 21 14:59:44 quackdock cosmic-greeter[6819]: 10: cosmic_comp::main Feb 21 14:59:44 quackdock cosmic-comp[6819]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:59:44 quackdock greetd[6767]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:59:44 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:59:45 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 1. Feb 21 14:59:45 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:59:45 quackdock greetd[6834]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:59:45 quackdock greetd[6835]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:59:45 quackdock systemd-logind[874]: New session 11 of user cosmic-greeter. Feb 21 14:59:45 quackdock systemd[1]: Started Session 11 of User cosmic-greeter. Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860296Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860391Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860403Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860413Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860422Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860432Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860440Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860449Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 2024-02-21T19:59:45.860459Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 8: cosmic_comp::config::Config::load Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 9: cosmic_comp::state::State::new Feb 21 14:59:45 quackdock cosmic-greeter[6837]: 10: cosmic_comp::main Feb 21 14:59:45 quackdock cosmic-comp[6837]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:59:45 quackdock greetd[6835]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:59:45 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:59:46 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 2. Feb 21 14:59:46 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:59:46 quackdock greetd[6851]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:59:46 quackdock greetd[6852]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:59:46 quackdock systemd-logind[874]: New session 12 of user cosmic-greeter. Feb 21 14:59:46 quackdock systemd[1]: Started Session 12 of User cosmic-greeter. Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059814Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059921Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059933Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059943Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059953Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059962Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059971Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059980Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 2024-02-21T19:59:47.059988Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 8: cosmic_comp::config::Config::load Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 9: cosmic_comp::state::State::new Feb 21 14:59:47 quackdock cosmic-greeter[6854]: 10: cosmic_comp::main Feb 21 14:59:47 quackdock cosmic-comp[6854]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:59:47 quackdock greetd[6852]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:59:47 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:59:48 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 3. Feb 21 14:59:48 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:59:48 quackdock greetd[6869]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:59:48 quackdock greetd[6870]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:59:48 quackdock systemd-logind[874]: New session 13 of user cosmic-greeter. Feb 21 14:59:48 quackdock systemd[1]: Started Session 13 of User cosmic-greeter. Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364706Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364807Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364819Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364829Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364838Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364848Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364857Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364866Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 2024-02-21T19:59:48.364875Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 8: cosmic_comp::config::Config::load Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 9: cosmic_comp::state::State::new Feb 21 14:59:48 quackdock cosmic-greeter[6872]: 10: cosmic_comp::main Feb 21 14:59:48 quackdock cosmic-comp[6872]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:59:48 quackdock greetd[6870]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:59:48 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:59:49 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 4. Feb 21 14:59:49 quackdock systemd[1]: Started COSMIC Greeter. Feb 21 14:59:49 quackdock greetd[6911]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run" }, default_session: ConfigSession { command: "systemd-cat -t cosmic-greeter cosmic-comp cosmic-greeter", user: "cosmic-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } } Feb 21 14:59:49 quackdock greetd[6912]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 14:59:49 quackdock systemd-logind[874]: New session 14 of user cosmic-greeter. Feb 21 14:59:49 quackdock systemd[1]: Started Session 14 of User cosmic-greeter. Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799576Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799678Z ERROR cosmic_comp::config: err=GetKey("workspaces", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799690Z ERROR cosmic_comp::config: err=GetKey("input_default", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799701Z ERROR cosmic_comp::config: err=GetKey("input_touchpad", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799710Z ERROR cosmic_comp::config: err=GetKey("input_devices", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799720Z ERROR cosmic_comp::config: err=GetKey("xkb_config", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799729Z ERROR cosmic_comp::config: err=GetKey("autotile", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799739Z ERROR cosmic_comp::config: err=GetKey("autotile_behavior", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 2024-02-21T19:59:49.799748Z ERROR cosmic_comp::config: err=GetKey("active_hint", Os { code: 2, kind: NotFound, message: "No such file or directory" }) Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 8: cosmic_comp::config::Config::load Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 9: cosmic_comp::state::State::new Feb 21 14:59:49 quackdock cosmic-greeter[6936]: 10: cosmic_comp::main Feb 21 14:59:49 quackdock cosmic-comp[6936]: thread 'main' panicked at 'Malformed config file: SpannedError { code: Io("Is a directory (os error 21)"), position: Position { line: 0, col: 0 } }': src/config/mod.rs:212 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::config::Config::load 9: cosmic_comp::state::State::new 10: cosmic_comp::main 11: std::sys_common::backtrace::__rust_begin_short_backtrace 12: std::rt::lang_start::{{closure}} 13: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 14: main 15: 16: __libc_start_main 17: _start Feb 21 14:59:49 quackdock greetd[6912]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 14:59:49 quackdock systemd[1]: cosmic-greeter.service: Deactivated successfully. Feb 21 14:59:50 quackdock systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 5. Feb 21 14:59:50 quackdock systemd[1]: cosmic-greeter.service: Start request repeated too quickly. Feb 21 14:59:50 quackdock systemd[1]: cosmic-greeter.service: Failed with result 'start-limit-hit'. Feb 21 14:59:50 quackdock systemd[1]: Failed to start COSMIC Greeter. Feb 21 15:00:00 quackdock (sd-pam)[6800]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[cosmic-greeter] ruser=[] rhost=[] Feb 21 15:00:18 quackdock sudo[7120]: quack : TTY=tty3 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/greetd --config /etc/greetd/cosmic-greeter.toml Feb 21 15:00:18 quackdock greetd[7130]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 15:00:19 quackdock cosmic-greeter[7132]: 8: cosmic_comp::main Feb 21 15:00:19 quackdock cosmic-comp[7132]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: RuntimeDirNotSet': src/main.rs:145 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::main 9: std::sys_common::backtrace::__rust_begin_short_backtrace 10: std::rt::lang_start::{{closure}} 11: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 12: main 13: 14: __libc_start_main 15: _start Feb 21 15:00:19 quackdock greetd[7130]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 15:00:35 quackdock sudo[7183]: quack : TTY=tty3 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/vim /etc/greetd/cosmic-greeter.toml Feb 21 15:01:11 quackdock sudo[7359]: quack : TTY=tty3 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/greetd --config /etc/greetd/cosmic-greeter.toml Feb 21 15:01:11 quackdock greetd[7363]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 15:01:11 quackdock cosmic-greeter[7365]: 8: cosmic_comp::main Feb 21 15:01:11 quackdock cosmic-comp[7365]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: RuntimeDirNotSet': src/main.rs:145 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::main 9: std::sys_common::backtrace::__rust_begin_short_backtrace 10: std::rt::lang_start::{{closure}} 11: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 12: main 13: 14: __libc_start_main 15: _start Feb 21 15:01:11 quackdock greetd[7363]: pam_unix(greetd:session): session closed for user cosmic-greeter Feb 21 15:01:26 quackdock sudo[7415]: quack : TTY=tty3 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/systemctl stop cosmic-greeter Feb 21 15:01:28 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter-daemon.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 15:01:28 quackdock systemd[1]: Configuration file /usr/lib/systemd/system/cosmic-greeter.service is marked executable. Please remove executable permission bits. Proceeding anyway. Feb 21 15:01:29 quackdock sudo[7442]: quack : TTY=tty3 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/systemctl stop cosmic-greeter.service Feb 21 15:01:35 quackdock sudo[7478]: quack : TTY=tty3 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/pkill cosmic-greeter Feb 21 15:01:35 quackdock systemd[1]: cosmic-greeter-daemon.service: Deactivated successfully. Feb 21 15:01:37 quackdock sudo[7492]: quack : TTY=tty3 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/pkill cosmic-comp Feb 21 15:01:41 quackdock sudo[7515]: quack : TTY=tty3 ; PWD=/home/quack ; USER=root ; COMMAND=/usr/bin/greetd --config /etc/greetd/cosmic-greeter.toml Feb 21 15:01:41 quackdock greetd[7519]: pam_unix(greetd:session): session opened for user cosmic-greeter(uid=939) by cosmic-greeter(uid=0) Feb 21 15:01:41 quackdock cosmic-greeter[7521]: 8: cosmic_comp::main Feb 21 15:01:41 quackdock cosmic-comp[7521]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: RuntimeDirNotSet': src/main.rs:145 0: ::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: as core::ops::function::Fn>::call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/alloc/src/boxed.rs:2007:9 std::panicking::rust_panic_with_hook at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:709:13 3: std::panicking::begin_panic_handler::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 4: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 5: rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 6: core::panicking::panic_fmt at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 7: core::result::unwrap_failed at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/result.rs:1651:5 8: cosmic_comp::main 9: std::sys_common::backtrace::__rust_begin_short_backtrace 10: std::rt::lang_start::{{closure}} 11: core::ops::function::impls:: for &F>::call_once at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal::{{closure}} at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 std::panicking::try::do_call at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 std::panicking::try at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 std::panic::catch_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 std::rt::lang_start_internal at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 12: main 13: 14: __libc_start_main 15: _start Feb 21 15:01:41 quackdock greetd[7519]: pam_unix(greetd:session): session closed for user cosmic-greeter ```

EDIT: yeah it was a packaging issue

jokeyrhyme commented 3 months ago

Note that there's a possible gotcha here if you install cosmic-greeter as part of the systemd system extension (e.g. from cosmic-epoch): https://github.com/pop-os/cosmic-greeter/issues/25#issuecomment-2050932968

But, if you aren't using system extensions, then what we have here is fine