Suppose that there are two pc :pc-A and pc-B,both of them installed teamviewer.
First i boot pc-A,pc-B,no name and password inputted in pc-A,instead name and password inputted in pc-B.
At this time , i can't input name and password in pc-A from pc-B via teamviewer,because that teamviewer service have not started in pc-A.
I want to set teamviewer service started before login pc-A.
Here is my try:
sudo vim /etc/systemd/system/remote-desktop.service
[Unit]
Description=remote-desktop
After=network.target
[Service]
Type=oneshot
ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
sudo systemctl reload remote-desktop.service
sudo systemctl enable remote-desktop.service
Reboot pc-A and test, the name and password still can't input from pc-B via teamviewer.
And it is no use to set something in teamviewer's option.
How to fix it?