amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
5.85k stars 368 forks source link

The Wayland connection experienced a fatal error: Protocol error (Ubuntu 22.04.4 LTS) #1233

Open elias137 opened 2 weeks ago

elias137 commented 2 weeks ago

AmneziaVPN version 4.8.1.9 d4fff4a won't start on Ubuntu 22.04.4 LTS for some reason. It worked previously fine, no problems at all. No system updates or changes were made. I am able to run Amnezia VPN as root, however. But as a user it ends up with an error:

QSystemTrayIcon::setVisible: No Icon set IpcClient::init succeed Started AmneziaVPN version 4.8.1.9 d4fff4a Ubuntu 22.04.4 LTS (x86_64) SSL backend: OpenSSL 3.0.2 15 Mar 2022 The Wayland connection experienced a fatal error: Protocol error

elias137 commented 1 week ago

I can temporarily resolve the issue with "export QT_QPA_PLATFORM=wayland" the running /usr/local/sbin/AmneziaVPN from cli, as someone advised on the Internet, but still I'd like to know the root of the problem and make things work just as them supposed to be. So, any help would be extremely appreciated!