How to start the teamviewer service before login my linux?
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
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?