[GH-ISSUE #282] App crashes on Ubuntu 22.04.2 LTS #76

Closed
opened 2026-10-13 20:12:16 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @alienff on GitHub (Aug 11, 2023).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/282

When I start the app on Ubuntu 22.04.2 LTS I see this:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opt/AmneziaVPN/client/plugins//platforms:" 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: eglfs, offscreen, wayland-egl, linuxfb, minimal, wayland, minimalegl, xcb.

Aborted (core dumped)

Found the solution on askubuntu:

ldd plugins/platforms/libqxcb.so  | grep -i "not found"
	libxcb-cursor.so.0 => not found
	libxcb-cursor.so.0 => not found

So I run apt install libxcb-cursor0 and it now starts. I guess there is a bug in the app installer...

Originally created by @alienff on GitHub (Aug 11, 2023). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/282 When I start the app on Ubuntu 22.04.2 LTS I see this: ``` qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/opt/AmneziaVPN/client/plugins//platforms:" 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: eglfs, offscreen, wayland-egl, linuxfb, minimal, wayland, minimalegl, xcb. Aborted (core dumped) ``` Found the solution on [askubuntu](https://askubuntu.com/questions/1271976/could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found): ``` ldd plugins/platforms/libqxcb.so | grep -i "not found" libxcb-cursor.so.0 => not found libxcb-cursor.so.0 => not found ``` So I run `apt install libxcb-cursor0` and it now starts. I guess there is a bug in the app installer...
Author
Owner

@alienff commented on GitHub (Aug 11, 2023):

Oups, just noticed this in the release notes.

Maybe add it to the website for better visibility?..

<!-- gh-comment-id:1675269906 --> @alienff commented on GitHub (Aug 11, 2023): Oups, just noticed this in the release notes. Maybe add it to the website for better visibility?..
Author
Owner

@im7mortal commented on GitHub (Aug 14, 2023):

There should be snap or/and flatpak package better

<!-- gh-comment-id:1676880186 --> @im7mortal commented on GitHub (Aug 14, 2023): There should be snap or/and [flatpak](https://github.com/amnezia-vpn/amnezia-client/issues/81) package better
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#76
No description provided.