XIBO Player for Linux autostart - CentOS

I have get everything works on Centos 7.6 gnome desktop. However, only thing left is to start the player automatically.

(gnome-session-properties, Manually create .desktop files, crontab)

I have followed everything I know about auto start. however, it’s not playing the ball.

Appriciate if anyone get this working on Centos

I have 3 xibo player running in 7 centers with kde graphic environment, configure the automatic start of xibo player with the option “auto start” of kde, the only thing I did was choose xibo player and automatically place it to start along with the system.

sorry for my english i use google translator

Hello, you can use systemd for to autostart your xibo player :
cat <<EOF> /etc/systemd/system/start-xibo.service
[Unit]
Description=Service Xibo-client
[Service]
Environment="HTTP_PROXY=your.proxy:port/"
Environment="HTTPS_PROXY=your.proxy:port/"
Environment="NO_PROXY=localhost,127.0.0.1"
Environment="http_proxy=your.proxy:port/"
Environment="https_proxy=your.proxy:port/"
Environment="no_proxy=localhost,127.0.0.1"
Type=simple
RestartSec=30
Environment=DISPLAY=:0
User=xibo
ExecStart=/snap/bin/xibo-player
Restart=always
[Install]
WantedBy=default.target

EOF

/bin/systemctl enable start-xibo.service
/bin/systemctl daemon-reload
Environments line are optionnal, it’s only if you have an proxy.
User=xibo => use your user (but don’t use root)