This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Loading of vpn monitoring service at startup fails.

Tags: None
(comma "," separated)
silocoder
Registered Member
Posts
24
Karma
0
Loading of VPN works fine (I am using nordvpn). Found this system tray monitoring code (https://github.com/jroddev/nordvpn-linux-system-tray) installed and works if I run it manually from CLI:

E.g. Manually running it loads fine:
Code: Select all
systemctl --user start nordvpn-system-tray.service


Here is the service:
Code: Select all
[Unit]
Description=System tray icon for NordVPN

[Service]
Type=simple
ExecStartPre=/bin/sleep 30
ExecStart=/usr/sbin/nordvpn-system-tray
Restart=no

[Install]
WantedBy=default.target


In the install.sh he has the following startup code:
Code: Select all
systemctl --user daemon-reload
systemctl --user enable nordvpn-system-tray.service
systemctl --user start nordvpn-system-tray.service


But at bootup time most of the time the service does not load and when I check status I get whats below. I am suspecting some other lib has to be loaded and this needs to be prioritized at the very end. Any thoughts?

Service status when I run to check it
Code: Select all
$ systemctl status nordvpn-system-tray.service
nordvpn-system-tray.service - System tray icon for NordVPN
     Loaded: loaded (/etc/systemd/system/nordvpn-system-tray.service; enabled; vendor preset: enabled)
     Active: failed (Result: core-dump) since Tue 2020-09-01 19:18:05 EDT; 12min ago
    Process: 973 ExecStartPre=/bin/sleep 10 (code=exited, status=0/SUCCESS)
    Process: 1159 ExecStart=/usr/sbin/nordvpn-system-tray (code=dumped, signal=ABRT)
   Main PID: 1159 (code=dumped, signal=ABRT)

Sep 01 19:17:47 silocoder-GT60-2PC systemd[1]: Starting System tray icon for NordVPN...
Sep 01 19:17:57 silocoder-GT60-2PC systemd[1]: Started System tray icon for NordVPN.
Sep 01 19:17:59 silocoder-GT60-2PC nordvpn-system-tray[1159]: qt.qpa.xcb: could not connect to display
Sep 01 19:17:59 silocoder-GT60-2PC nordvpn-system-tray[1159]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Sep 01 19:17:59 silocoder-GT60-2PC nordvpn-system-tray[1159]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the applic>
Sep 01 19:17:59 silocoder-GT60-2PC nordvpn-system-tray[1159]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, w>
Sep 01 19:18:05 silocoder-GT60-2PC systemd[1]: nordvpn-system-tray.service: Main process exited, code=dumped, status=6/ABRT


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]