-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cosmic-session fails to launch and requires reboot #1338
Comments
The same thing happens to me and isn't happening every single time. |
Please post the output of |
I cannot get past through the login screen but I managed to gather what @Drakulix asked for |
Thank you, this doesn't look dissimilar from what I see
|
Any temporary fixes for now? Can I reset the config for workspaces or something? ec 10 22:11:45 pop-os cosmic-comp[3547]: failed to read local shortcuts config 'system_actions': NoConfigDirectory
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Key-Binding 'Period' only matched case insensitive for "period"
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Key-Binding 'Comma' only matched case insensitive for "comma"
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Key-Binding 'Period' only matched case insensitive for "period"
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Key-Binding 'Comma' only matched case insensitive for "comma"
Dec 10 22:11:45 pop-os cosmic-comp[3547]: tiling exceptions custom config error: GetKey("tiling_exception_custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Unable to become drm master, assuming unprivileged mode
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Unable to become drm master, assuming unprivileged mode
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Failed to restore previous state. Error: Permission denied (os error 13)
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Failed to restore previous state. Error: Permission denied (os error 13)
Dec 10 22:11:45 pop-os cosmic-comp[3547]: Xwayland terminated: exit status: 1
Dec 10 21:12:55 pop-os cosmic-comp[5000]: Failed to read config 'workspaces'
Dec 10 21:12:55 pop-os cosmic-comp[5000]: failed to read local shortcuts config 'system_actions': NoConfigDirectory
Dec 10 21:12:55 pop-os cosmic-comp[5000]: Key-Binding 'Period' only matched case insensitive for "period"
Dec 10 21:12:55 pop-os cosmic-comp[5000]: Key-Binding 'Comma' only matched case insensitive for "comma"
Dec 10 21:12:55 pop-os cosmic-comp[5000]: Key-Binding 'Period' only matched case insensitive for "period"
Dec 10 21:12:55 pop-os cosmic-comp[5000]: Key-Binding 'Comma' only matched case insensitive for "comma"
Dec 10 21:12:55 pop-os cosmic-comp[5000]: tiling exceptions custom config error: GetKey("tiling_exception_custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })
Dec 10 21:12:55 pop-os cosmic-comp[5000]: Unable to become drm master, assuming unprivileged mode
Dec 10 21:12:55 pop-os cosmic-comp[5000]: Unable to become drm master, assuming unprivileged mode
Dec 10 21:12:56 pop-os cosmic-comp[5000]: Failed to restore previous state. Error: Permission denied (os error 13)
Dec 10 21:12:56 pop-os cosmic-comp[5000]: Xwayland terminated: exit status: 1
Dec 10 21:12:56 pop-os cosmic-comp[5000]: Failed to restore previous state. Error: Permission denied (os error 13) |
Maybe related? pop-os/cosmic-session#92 |
and this? pop-os/cosmic-session#43 |
Nevermind, those are only warnings, the issue is in the:
On niri this is fine for some reason but I've seen issues with |
Does anybody know how to diagnose it further? There is something wrong with my user, for some reason creation of the new one resolves this issue when I'm trying to log in: Dec 12 12:57:17 pop-os cosmic-comp[20298]: thread 'main' panicked at 'called Result::unwrap() on an Err value: PermissionDenied': src/main.rs:196
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
12: __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
13: <unknown>
ec 12 13:06:13 pop-os cosmic-comp[25931]: Unable to become drm master, assuming unprivileged mode
Dec 12 13:06:13 pop-os cosmic-comp[25931]: Unable to become drm master, assuming unprivileged mode
Dec 12 13:06:13 pop-os cosmic-comp[25931]: Failed to restore previous state. Error: Permission denied (os error 13)
Dec 12 13:06:13 pop-os cosmic-comp[25931]: Failed to restore previous state. Error: Permission denied (os error 13)
Dec 12 13:06:13 pop-os cosmic-comp[25931]: Xwayland terminated: exit status: 1 I found that:
2024-12-12T10:31:03.837016Z ERROR cosmic_comp::config: Failed to read config 'workspaces' err=NoConfigDirectory
2024-12-12T10:31:03.839604Z ERROR cosmic_settings_config::shortcuts: failed to read local shortcuts config 'system_actions': NoConfigDirectory
2024-12-12T10:31:03.839752Z WARN cosmic_settings_config::shortcuts::sym: Key-Binding 'Period' only matched case insensitive for "period"
2024-12-12T10:31:03.839767Z WARN cosmic_settings_config::shortcuts::sym: Key-Binding 'Comma' only matched case insensitive for "comma"
2024-12-12T10:31:03.839777Z WARN cosmic_settings_config::shortcuts::sym: Key-Binding 'Period' only matched case insensitive for "period"
2024-12-12T10:31:03.839785Z WARN cosmic_settings_config::shortcuts::sym: Key-Binding 'Comma' only matched case insensitive for "comma"
2024-12-12T10:31:03.840362Z ERROR cosmic_settings_config::window_rules: tiling exceptions custom config error: GetKey("tiling_exception_custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })
2024-12-12T10:31:04.004998Z WARN smithay::backend::drm::device::fd: Unable to become drm master, assuming unprivileged mode
2024-12-12T10:31:04.138734Z WARN smithay::backend::drm::device::fd: Unable to become drm master, assuming unprivileged mode
2024-12-12T10:31:04.521831Z ERROR smithay::backend::drm::device::atomic: Failed to restore previous state. Error: Permission denied (os error 13)
2024-12-12T10:31:04.521940Z ERROR smithay::backend::drm::device::atomic: Failed to restore previous state. Error: Permission denied (os error 13)
2024-12-12T10:31:04.523220Z ERROR smithay::xwayland::xserver: Xwayland terminated: exit status: 1 |
I'm having the same problem.. cosmic-comp
Oddly, I created a new user and that user is able to login.. Any assistance would be appreciated |
@jurealeksic high five. I was troubleshooting it for too long and now I'm just doing CTRL + ALT + F2, log in with my user and type |
I was able to resolve this by adding @Psyhackological maybe this will help you too |
@jurealeksic I did thanks, but for some reason the solution to my problem was connecting my external monitor to my laptop. I was away from it, without it was crashing for my main user. I don't know why. |
So I fixed my outdated config for outputs with: |
After logging in as a user I do not get taken into DE but instead to a black screen with logs, featuring
ERROR panic
and a failure to start cosmic-session.Full logs displayed:
I am on PopOS 24.04 - Alpha 4
PS. This does not happen every single time, about 50% of the time I am logging in to COSMIC after boot.
The text was updated successfully, but these errors were encountered: