# Private Internet Access VPN

**URL:** <https://discuss.kde.org/t/private-internet-access-vpn/11975>\
**Category:** Help\
**Tags:** neon\
**Created:** [March 10, 2024, 1:06am UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975 "2024-03-10T01:06:34Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![baillou2](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/baillou2/32/8300_2.png) [@baillou2](https://discuss.kde.org/u/baillou2)\
**Post date:** [March 10, 2024, 1:06am UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/1 "2024-03-10T01:06:35Z")

</div>

Since the plasma 6 update my PIA VPN won’t work. When run from the terminal I get (among a lot of other stuff) this at the end:

Warning: Program ‘/opt/piavpn/bin/pia-client’ crashed.

file:///opt/piavpn/qml/QtQuick/Dialogs/DefaultFileDialog.qml:102:33: QML Settings: Failed to initialize QSettings instance. Status code is: 1  
file:///opt/piavpn/qml/QtQuick/Dialogs/DefaultFileDialog.qml:102:33: QML Settings: The following application identifiers have not been set: QVector(“organizationName”, “organizationDomain”)  
qt.qpa.wayland: Failed to load client buffer integration: “wayland-egl”  
qt.qpa.wayland: Available client buffer integrations: ()

Clearly Wayland is the issue, but I don’t know what to do to resolve the issue.  
If anyone has any suggestions I’d be greatly appreciative.

---

<div class="post-metadata">

**Author:** ![claydoh](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/claydoh/32/212_2.png) [@claydoh](https://discuss.kde.org/u/claydoh)\
**Post date:** [March 10, 2024, 1:32am UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/2 "2024-03-10T01:32:09Z")

</div>

Are you sure it isn’t also happening on X11? I _think_ mine is acting the same way there, but I will have to re-check. I will check when I return home shortly. Worst case is to tell it to use xwayland for the time being.

I am thinking it may be more of a Qt version problem at first glance.

**EDIT** yes, it works in X11.  
I get lots of crash reports from it, and have submitted a support request with PIA

---

<div class="post-metadata">

**Author:** ![claydoh](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/claydoh/32/212_2.png) [@claydoh](https://discuss.kde.org/u/claydoh)\
**Post date:** [March 10, 2024, 1:43am UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/3 "2024-03-10T01:43:32Z")

</div>

Ok, yes, an easy quick fix:

Open the menu editor (right-click on the Application Launcher icon)  
Find the PIA entry  
edit the “Program” line to add `QT_QPA_PLATFORM=xcb` in front of the text already there.

 ![Screenshot_20240309_204244-1](https://discuss-cdn.kde.org/uploads/default/original/2X/c/c5149d9310f66b478c79453f67348ee69a01e7bf.png)

It is still probably an Qt problem, as this is what PIA are using for the application. They are using some embedded Qt5 libraries. I remember Viber stropped working when KDE moved to Plasma 5/Qt 5 or somewhere around then, and the fix was to ditch its included Qt libs, which forced it to use the newer system ones.

---

<div class="post-metadata">

**Author:** ![nicolasfella](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/nicolasfella/32/41_2.png) [@nicolasfella](https://discuss.kde.org/u/nicolasfella)\
**Post date:** [March 10, 2024, 9:36am UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/4 "2024-03-10T09:36:46Z")

</div>

What’s the content of /opt/piavpn/plugins/wayland-graphics-integration-client ?

---

<div class="post-metadata">

**Author:** ![claydoh](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/claydoh/32/212_2.png) [@claydoh](https://discuss.kde.org/u/claydoh)\
**Post date:** [March 10, 2024, 2:04pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/5 "2024-03-10T14:04:20Z")

</div>

There isn’t one.

```auto
$ ls -1 /opt/piavpn/plugins
egldeviceintegrations
platforms
wayland-shell-integration
xcbglintegrations

```

The contents of /opt/piavpn/plugins/wayland-shell-integration/ :

```auto
$ ls -1 /opt/piavpn/plugins/wayland-shell-integration/
libfullscreen-shell-v1.so
libivi-shell.so
libwl-shell.so
libxdg-shell.so
libxdg-shell-v5.so
libxdg-shell-v6.so

```

PIA Version: v3.5.5 build 08091

---

<div class="post-metadata">

**Author:** ![nicolasfella](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/nicolasfella/32/41_2.png) [@nicolasfella](https://discuss.kde.org/u/nicolasfella)\
**Post date:** [March 10, 2024, 2:22pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/6 "2024-03-10T14:22:58Z")

</div>

That explains why it’s not working. The package is missing necessary files. Please contact PIA about this, they are distributing broken software

---

<div class="post-metadata">

**Author:** ![claydoh](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/claydoh/32/212_2.png) [@claydoh](https://discuss.kde.org/u/claydoh)\
**Post date:** [March 10, 2024, 4:34pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/7 "2024-03-10T16:34:13Z")

</div>

I have already filed a ticket, maybe others need to do so as well.

…/and have received a reply, providing info that they are working on it, and to edit the autostart :

> 1. If you prefer using Wayland over X11, you have to modify the PIA GUI client auto-start file. Follow the steps below for instructions
> 
> 2. If you do NOT want to edit anything, you need to manually start the PIA client each time using the following command: XDG\_SESSION\_TYPE=X11 /opt/piavpn/bin/pia-client

I don’t know why I never thought to modify the autostart script, probably because I don’t use it myself.

Of course it works fine in Gnome’s Wayland implementation 😕

---

<div class="post-metadata">

**Author:** ![baillou2](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/baillou2/32/8300_2.png) [@baillou2](https://discuss.kde.org/u/baillou2)\
**Post date:** [March 10, 2024, 7:58pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/8 "2024-03-10T19:58:01Z")

</div>

Thanks! This worked.  
I’ve sent those automated crash reports dmp files. Maybe that will help. Don’t know. 😕

---

<div class="post-metadata">

**Author:** ![nicolasfella](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/nicolasfella/32/41_2.png) [@nicolasfella](https://discuss.kde.org/u/nicolasfella)\
**Post date:** [March 10, 2024, 8:34pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/9 "2024-03-10T20:34:06Z")

</div>

> [@claydoh](#):
>
> Of course it works fine in Gnome’s Wayland implementation 😕

Qt5 applications default to running under XWayland on Gnome Wayland, so the issue is masked

---

<div class="post-metadata">

**Author:** ![claydoh](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/claydoh/32/212_2.png) [@claydoh](https://discuss.kde.org/u/claydoh)\
**Post date:** [March 10, 2024, 8:52pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/10 "2024-03-10T20:52:10Z")

</div>

So, why did it stop using xwayland like it did in Plasma 5?  
But that is moot I guess, as PIA are aware of and working on this.

---

<div class="post-metadata">

**Author:** ![claydoh](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/claydoh/32/212_2.png) [@claydoh](https://discuss.kde.org/u/claydoh)\
**Post date:** [March 10, 2024, 8:53pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/11 "2024-03-10T20:53:32Z")

</div>

I actually submitted a support ticket, in the hopes a human might see it 😃  
And apparently some did 😃

---

<div class="post-metadata">

**Author:** ![nicolasfella](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/nicolasfella/32/41_2.png) [@nicolasfella](https://discuss.kde.org/u/nicolasfella)\
**Post date:** [March 11, 2024, 8:12pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/12 "2024-03-11T20:12:19Z")

</div>

> [@claydoh](#):
>
> So, why did it stop using xwayland like it did in Plasma 5?

Note the _on Gnome_.

It was always using Wayland on Plasma, and presumably was always broken

---

<div class="post-metadata">

**Author:** ![claydoh](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/claydoh/32/212_2.png) [@claydoh](https://discuss.kde.org/u/claydoh)\
**Post date:** [March 21, 2024, 3:07pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/13 "2024-03-21T15:07:49Z")

</div>

Actually, [PIA have an update](https://www.privateinternetaccess.com/pages/changelog), will see if it fixes things here.

Edit: nope.

---

<div class="post-metadata">

**Author:** ![kc1di](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/kc1di/32/1373_2.png) [@kc1di](https://discuss.kde.org/u/kc1di)\
**Post date:** [March 21, 2024, 5:18pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/14 "2024-03-21T17:18:44Z")

</div>

I also filed with PIA.

---

<div class="post-metadata">

**Author:** ![mattybigback](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/mattybigback/32/13365_2.png) [@mattybigback](https://discuss.kde.org/u/mattybigback)\
**Post date:** [April 6, 2024, 7:06pm UTC](https://discuss.kde.org/t/private-internet-access-vpn/11975/15 "2024-04-06T19:06:49Z")

</div>

I got it to work by adding `WAYLAND_DISPLAY=` to the Environment Variable section of the properties window

 ![Screenshot_20240406_200539](https://discuss-cdn.kde.org/uploads/default/original/2X/2/2add0f7969b09e63089d29fcacd8abb1f864f753.png)
