Veyon server crashing
-
Hi,
when I open the veyon master, I can see the computers screen snapshot for almost a second before it goes unreachable.The veyon service has the following status:
sudo systemctl status veyon ● veyon.service - Veyon Service Loaded: loaded (/lib/systemd/system/veyon.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2021-09-16 15:55:01 -03; 23s ago Docs: man:veyon-service(1) Main PID: 3542 (veyon-service) Tasks: 4 (limit: 2007) Memory: 3.8M CGroup: /system.slice/veyon.service └─3542 /usr/bin/veyon-service set 16 15:55:01 Info-pc01 systemd[1]: Started Veyon Service.
It looks like the server is not running. If I restart the service, the server runs again, like here:
$ sudo systemctl restart veyon $ sudo systemctl status veyon ● veyon.service - Veyon Service Loaded: loaded (/lib/systemd/system/veyon.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2021-09-16 15:57:58 -03; 2s ago Docs: man:veyon-service(1) Main PID: 3631 (veyon-service) Tasks: 17 (limit: 2007) Memory: 31.4M CGroup: /system.slice/veyon.service ├─3631 /usr/bin/veyon-service ├─3635 /usr/bin/veyon-server └─3636 /usr/bin/veyon-worker {8e997d84-ebb9-430f-8f72-d45d9821963d} set 16 15:57:58 Info-pc01 systemd[1]: Stopping Veyon Service... set 16 15:57:58 Info-pc01 systemd[1]: veyon.service: Succeeded. set 16 15:57:58 Info-pc01 systemd[1]: Stopped Veyon Service. set 16 15:57:58 Info-pc01 systemd[1]: Started Veyon Service.
But when I open the veyon master, the server briefly closes itself again.
My log files are here:
cat VeyonFeatureWorker-8e997d84-ebb9-430f-8f72-d45d9821963d.log 2021-09-16T15:12:10.433: [ERR] ServiceDataManager: connection timed out 2021-09-16T15:12:10.433: [ERR] PersistentLogonCredentials: Empty data
sudo cat VeyonService.log 2021-09-16T15:14:08.891: [WARN] LinuxServiceCore: server for session "/org/freedesktop/login1/session/c1" still running - killing now 2021-09-16T15:14:11.929: [WARN] QProcess: Destroyed while process ("/usr/bin/veyon-server") is still running. 2021-09-16T15:14:11.931: [ERR] LinuxSessionFunctions: Could not query session property "State" "Unknown object '/org/freedesktop/login1/session/c1'."
sudo cat VeyonServer.log 2021-09-16T15:12:08.788: [WARN] VariantStream: none or invalid data read 2021-09-16T15:12:08.788: [ERR] PersistentLogonCredentials: Empty data
If you look for the timestamps in the log files, you will see that there isn't any error report after I restarted the service and let it "crash" again (15:57:58).
I'm running everything in Xubuntu 20.04.3 with Veyon 4.5.7.
Thank you for your help,
Nikolas Libert -
Since you're on (X)Ubunto 20.04, I recommend installing the latest test build for Veyon 4.5: https://github.com/veyon/veyon/releases/download/v4.5.7/veyon_4.5.7-56-ubuntu-focal_amd64.deb - it contains many service-related fixes and improvements.