Teamviewer not ready check your connection

I tried to use teamviewer outside a toolbox:

rpm-ostree install teamviewer_14.6.2452.x86_64.rpm
systemctl restart teamviewerd.service
Failed to restart teamviewerd.service: Unit teamviewerd.service not found.

and failed. Inside a toolbox, the following error message appears:

Init…
CheckCPU: SSE2 support: yes
Checking setup…
Launching TeamViewer …
Starting network process (no daemon)
Network process already started (or error)
Launching TeamViewer GUI …

Any advice? Appreciate.

I think you need to reboot the system after the package install. Then you use systemctl to start the service.

Thanks! I did that but

$ teamviewer daemon status

returns

systemctl status teamviewerd.service
Unit teamviewerd.service could not be found.
fail

sudo teamviewer daemon enable
sudo systemctl enable teamviewerd.service
sudo systemctl start teamviewerd.service

works and reports

systemctl status teamviewerd.service
● teamviewerd.service - TeamViewer remote control daemon
Loaded: loaded (/usr/lib/opt/teamviewer/tv_bin/script/teamviewerd.service; ena>
Active: active (running) since Sat 2019-09-28 10:34:47 CEST; 2min 21s ago
Process: 1661 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, sta>
Main PID: 1691 (teamviewerd)
Tasks: 28 (limit: 4915)
Memory: 19.2M
CGroup: /system.slice/teamviewerd.service
└─1691 /opt/teamviewer/tv_bin/teamviewerd -d

Sep 28 10:34:47 freckle systemd[1]: Starting TeamViewer remote control daemon…
Sep 28 10:34:47 freckle systemd[1]: teamviewerd.service: Can’t open PID file /run>
Sep 28 10:34:47 freckle systemd[1]: Started TeamViewer remote control daemon.

but still Teamviewer not ready - check your connection. I am not inside a toolbox here.