Closed bocekm closed 1 year ago
After running unset SESSION_MANAGER
the Qt: Session management error
is gone.
BTW:
$ ll /sbin/udevadm
lrwxrwxrwx. 1 root root 14 Jul 20 19:04 /sbin/udevadm -> ../bin/udevadm
$ ll /sbin/ifconfig
-rwxr-xr-x. 1 root root 81392 Aug 6 2020 /sbin/ifconfig
The same happens on Fedora 34.
Fedora 34
The wayland and fallback-x11 sockets are enabled On Wayland, flatpak run com.synology.SynologyDrive initially produces:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
When launched with the QT_QPA_PLATFORM=wayland variable, the output changes to:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
It looks like a wayland-specific thing. Perhaps, the wayland platform plugin can be added in somehow? The AUR package for synology-cloud-station was patched to run on wayland, so it may be a good starting point: https://aur.archlinux.org/packages/synology-cloud-station-drive/
Setting the QT_QPA_PLATFORM=xcb variable as seen in the patch in the link above and having only x11 socket enabled solved the problem for me.
Does not start on Fedora 36 Silverblue.
[bryan@fedora ~]$ flatpak run com.synology.SynologyDrive
[bryan@fedora ~]$ Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: None of the authentication protocols specified are supported
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Gtk-Message: 08:52:04.361: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:52:04.361: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols specified are supported
[bryan@fedora ~]$ QT_QPA_PLATFORM=wayland flatpak run com.synology.SynologyDrive
[bryan@fedora ~]$ Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
I've tested in gnome boxes fedora silverblue gnome 37 and it work please update and if it doesn't work message me back here and I'll reopen
Fixed as of 3.2.1
Reproducer:
flatpak install flathub com.synology.SynologyDrive
flatpak run com.synology.SynologyDrive
and see the error belowflatpak repair com.synology.SynologyDrive
, uninstall & install => doesn't helpError: