flathub / me.proton.Mail

https://flathub.org/apps/details/me.proton.Mail
0 stars 0 forks source link

App Fails to Launch on Wayland #1

Open cameronbosch opened 3 weeks ago

cameronbosch commented 3 weeks ago

I cannot run the app. When I do using flatpak run me.proton.Mail, I get the following output before the crash:

[2:0702/191909.429428:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory 19:19:09.831 (main) › Settings not found, using default settings 19:19:09.833 (main) › Settings saved { spellChecker: true, overrideError: false, releaseCategory: 'Stable', rolloutProportion: 0.1320419814214202 } 19:19:09.855 (main) › App start is mac: false is windows: false isLinux: true version: 1.0.4 19:19:09.855 (main) › Desktop features: InAppPayments:true, ThemeSelection:true, EarlyAccess:true, MultiAccount:true 19:19:09.858 (main) › AppID generated { id: 'ab238b9e-c5c8-4ae0-b9d4-c157652afa1e', hash: '807f797e30ecdb6a7daf0dfd2486e89b71f6358199a5f5b2dfa2ae098ac28f1d', distribution: 0.5019451077541136 } 19:19:09.875 (main) › App is not default mailto client [2:0702/191909.878163:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY [2:0702/191909.878176:ERROR:env.cc(257)] The platform failed to initialize. Exiting.

Occurs on the following system: OS: EndeavourOS (Arch) DE: KDE Plasma 6.1 (Wayland session)

This appears to not be an issue when I disable Wayland support in Flatseal or flatpak-kcm on KDE Plasma; the app will start up normally, but this is not a great out of box experience.

polluxau commented 2 weeks ago

same issue over here also

flatpak run me.proton.Mail [2:0710/080518.587203:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory 08:05:18.662 (main) › Settings saved { spellChecker: true, overrideError: false, releaseCategory: 'Stable', rolloutProportion: 0.9473244936496865 } 08:05:18.672 (main) › App start is mac: false is windows: false isLinux: true version: 1.0.4 08:05:18.672 (main) › Desktop features: InAppPayments:true, ThemeSelection:true, EarlyAccess:true, MultiAccount:true 08:05:18.685 (main) › App is not default mailto client [2:0710/080518.686346:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY [2:0710/080518.686353:ERROR:env.cc(257)] The platform failed to initialize. Exiting.

mmcnutt commented 2 weeks ago

If you use either flatseal or other flatpak permissions tool to take away its wayland permissions you can work around this issue to launch it under Xwayland - but yeah not a proper fix