Closed ywnkmn closed 3 months ago
same issue under sddm and gdm on arch and fedora. where it was fine yesterday!
2024-02-23T05:53:21.761520Z ERROR panic: thread 'main' panicked at 'failed to start /usr/libexec/xdg-desktop-portal-cosmic': src/main.rs:405
cosmic-session can't start xdg-desktop-portal-cosmic
for some reason. You could check what permissions /usr/libexec/xdg-desktop-portal-cosmic
has, if the file was copied correctly (shasum) etc.
2024-02-23T05:53:21.761520Z ERROR panic: thread 'main' panicked at 'failed to start /usr/libexec/xdg-desktop-portal-cosmic': src/main.rs:405
cosmic-session can't start
xdg-desktop-portal-cosmic
for some reason. You could check what permissions/usr/libexec/xdg-desktop-portal-cosmic
has, if the file was copied correctly (shasum) etc.
We are both using it on Arch, did sudo just install
2024-02-23T05:53:21.761520Z ERROR panic: thread 'main' panicked at 'failed to start /usr/libexec/xdg-desktop-portal-cosmic': src/main.rs:405
cosmic-session can't start
xdg-desktop-portal-cosmic
for some reason. You could check what permissions/usr/libexec/xdg-desktop-portal-cosmic
has, if the file was copied correctly (shasum) etc.We are both using it on Arch, did
sudo just install
Arch and Fedora and Ubuntu is my testing ground FYI
BTW, simply did: sudo ln -s /usr/local/libexec/xdg-desktop-portal-cosmic /usr/libexec/xdg-desktop-portal-cosmic
to resolve it for now
There doesn't seem to be a mention of using sudo just install
in the README yet
So maybe this isn't yet intended to work, but nice for someone to test it (once it does work, perhaps the README can be updated)
Related issue: #87
It may be helpful to take a look at the AUR package, particularly the PKGBUILD which handles the issue raised here.
Install defaults to /usr/local
as the prefix, which causes the panic by default. Setting that to /usr
fixes this for most cases.
This needs better detection for the right directory for the portal, but isn't any worse than the previous justfile was. So I am closing this in favour of the portal-issue.
epoch works when
just sysext
, yet panics withsudo just install
while starting with GDM, SDDM or from a TTY`2024-02-23T05:53:21.753269Z INFO cosmic-notifications: cosmic_session::notifications: 2024-02-23T05:53:21.752116Z INFO i18n_embed::requester: Current Locale: [LanguageIdentifier { language: Language(Some("en")), script: None, region: Some(Region("US")), variants: None }]
2024-02-23T05:53:21.753375Z INFO cosmic_session::comp: sending 1 fds 2024-02-23T05:53:21.753409Z INFO launch_pad: starting process ' WAYLAND_DISPLAY=wayland-1 DISPLAY=:2 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=50 PORTAL_WAYLAND_SOCKET=44 /usr/libexec/xdg-desktop-portal-cosmic '
2024-02-23T05:53:21.761520Z ERROR panic: thread 'main' panicked at 'failed to start /usr/libexec/xdg-desktop-portal-cosmic': src/main.rs:405
0:::default
1: log_panics::Config::install_panic_hook::{{closure}}`
However,
term
,settings
andfiles
just work under the GNOME session.What am I missing here?