Posts by vpeter
-
-
-
Do you see Memory line with kodi service?
Code
Display MoreLibreELEC:~ # systemctl status kodi -l |cat - ● kodi.service - Kodi Media Center Loaded: loaded (/usr/lib/systemd/system/kodi.service; disabled; vendor preset: disabled) Active: active (running) since Mon 2019-02-11 11:58:04 CET; 2h 14min ago Process: 1113 ExecStopPost=/usr/lib/kodi/kodi-safe-mode (code=exited, status=0/SUCCESS) Process: 1111 ExecStop=/bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS) Process: 1115 ExecStartPre=/usr/lib/kodi/kodi-config (code=exited, status=1/FAILURE) Main PID: 1120 (kodi.sh) Memory: 225.1M CGroup: /system.slice/kodi.service ├─1120 /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs └─1124 /usr/lib/kodi/kodi.bin --standalone -fs -
-
Code
Display MoreLibreELEC:~ # cat /storage/.config/system.d/service.tigervnc.service [Unit] Description=TigerVNC After=graphical.target [Service] Environment=DISPLAY=:0.0 ExecStart=/bin/sh /storage/.kodi/addons/service.tigervnc/bin/tigervnc.start TimeoutStopSec=1 Restart=always RestartSec=2 StartLimitInterval=0 MemoryMax=100M [Install] WantedBy=kodi.target LibreELEC:~ # systemctl status service.tigervnc -l | cat - ● service.tigervnc.service - TigerVNC Loaded: loaded (/storage/.kodi/addons/service.tigervnc/system.d/service.tigervnc.service; enabled; vendor preset: disabled) Active: active (running) since Sun 2019-02-10 14:56:45 CET; 7s ago Main PID: 926 (sh) Memory: 1.0M (max: 100.0M) CGroup: /system.slice/service.tigervnc.service ├─926 /bin/sh /storage/.kodi/addons/service.tigervnc/bin/tigervnc.start └─933 x0vncserver -PasswordFile=/storage/.kodi/userdata/addon_data/service.tigervnc/passwd -rfbport=5900 Feb 10 14:56:45 LibreELEC systemd[1]: Started TigerVNC. Feb 10 14:56:45 LibreELEC sh[926]: Sun Feb 10 14:56:45 2019 Feb 10 14:56:45 LibreELEC sh[926]: Geometry: Desktop geometry is set to 800x600+0+0 Feb 10 14:56:45 LibreELEC sh[926]: XDesktop: Using evdev codemap Feb 10 14:56:45 LibreELEC sh[926]: XDesktop: XTest extension present - version 2.2 Feb 10 14:56:45 LibreELEC sh[926]: Main: Listening on port 5900 -
Are you also using path substitution?
Update: Yes you do. Seems there is some bug in Kodi which crashes with wake up enabled and using path substitution.
Update2: There is something wrong in class ProgressDialogHelper in WakeOnAccess.cpp.
CServiceBroker::GetGUI() is also null.
Update3: Have a patch ready.
-
You ad this parameter to one real service file or empty one?
I have added it to tigervnc service and it is in use.Code
Display Moresystemctl status service.tigervnc -l Main PID: 1000 (sh) Memory: 1.0M CGroup: /system.slice/service.tigervnc.service # add parameter to service and restart systemctl status service.tigervnc -l Main PID: 1017 (sh) Memory: 1.0M (max: 100.0M) CGroup: /system.slice/service.tigervnc.service -
Post kodi log with debug enabled.
And for me it works perfectly

-
Sorry, I'm out with ideas.
-
-
Ok, last test would be to add command sleep 120 to autostart.sh file: Autostart.sh [LibreELEC.wiki]
Wondering if this would help. Because only logical explanation would be that at the time kodi is started there is no network.
If this doesn't work I'm out of ideas.
-
-
-
-
-
can you add a reference to systemd-escape which automatically generates mount unit name?
No idea what this is so no

-
-