I use a hardware KVM switch to swap between a windows laptop and a desktop running the latest POP-OS iso, when I switch inputs the cosmic session is lost.
Reproduce
I am logged into a pop-os session and have a few windows open Firefox, terminal.
I change inputs on my kvm onto the laptop.
I then change back to the pop-os desktop and I am still logged in but all my open programs have been lost.
This does not happen if I turn on and off my monitor even though the KVM switch. So I suspect it be due to the strange signal the switch sends when its swapping inputs.
Cosmic session errors:
process ' COSMIC_SESSION_SOCK=12 cosmic-comp ' failed with code 101
Aug 27 16:52:46 pop-os cosmic-session[1282]: cosmic-comp exited with error code 101
Cosmic Comp errors:
Aug 27 16:52:46 pop-os cosmic-comp[26679]: Failed to destroy old mode property blob: No such file or directory (os error 2)
Aug 27 16:52:46 pop-os cosmic-comp[26679]: thread 'main' panicked at 'called `Option::unwrap()` on a `None` value': src/shell/mod.rs:958
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
15: <unknown>
16: <unknown>
17: __libc_start_main
18: <unknown>
Aug 27 16:52:46 pop-os cosmic-comp[26679]: [EGL] 0x3001 (NOT_INITIALIZED) eglDestroySync: EGL_NOT_INITIALIZED error: In eglDestroySync: EGLDisplay (0x57b291964010) not intiialized
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Failed to read config 'workspaces'
Aug 27 16:52:48 pop-os cosmic-comp[31963]: failed to read local shortcuts config 'system_actions': NoConfigDirectory
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Key-Binding 'Period' only matched case insensitive for "period"
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Key-Binding 'Comma' only matched case insensitive for "comma"
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Key-Binding 'Period' only matched case insensitive for "period"
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Key-Binding 'Comma' only matched case insensitive for "comma"
Aug 27 16:52:48 pop-os cosmic-comp[31963]: shortcuts custom config error: GetKey("custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Unable to become drm master, assuming unprivileged mode
Aug 27 16:52:48 pop-os cosmic-comp[31963]: ignoring requested context priority, EGL_IMG_context_priority not supported
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Erroneous EGL call didn't set EGLError
Aug 27 16:52:48 pop-os cosmic-comp[31963]: ignoring requested context priority, EGL_IMG_context_priority not supported
Aug 27 16:52:48 pop-os cosmic-comp[31963]: ignoring requested context priority, EGL_IMG_context_priority not supported
Aug 27 16:52:48 pop-os cosmic-comp[31963]: ignoring requested context priority, EGL_IMG_context_priority not supported
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Unable to become drm master, assuming unprivileged mode
Aug 27 16:52:49 pop-os cosmic-comp[31963]: Failed to destroy old mode property blob: No such file or directory (os error 2)
I use a hardware KVM switch to swap between a windows laptop and a desktop running the latest POP-OS iso, when I switch inputs the cosmic session is lost.
Reproduce
This does not happen if I turn on and off my monitor even though the KVM switch. So I suspect it be due to the strange signal the switch sends when its swapping inputs.
Cosmic session errors:
Cosmic Comp errors: