Suppose that there are two pc :pc-A and pc-B,both of them installed teamviewer(version 15.13.6).
First i boot pc-A,pc-B,no name and password inputted in pc-A,instead name and password inputted in pc-B,i login pc-B,the below is a screenshot for pc-A.
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/script/teamviewer
KillMode=process
[Install]
WantedBy=multi-user.target
sudo systemctl reload remote-desktop.service
sudo systemctl enable remote-desktop.service
The remote-desktop.service can't be started at boot time until login.
● remote-desktop.service - remote-desktop
Loaded: loaded (/etc/systemd/system/remote-desktop.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Sat 2021-01-23 16:33:58 CST; 3min 3s ago
Process: 871 ExecStart=/opt/teamviewer/tv_bin/script/teamviewer (code=killed, signal=ABRT)
Main PID: 871 (code=killed, signal=ABRT)
CPU: 922ms
Jan 23 16:33:33 systemd[1]: Started remote-desktop.
Jan 23 16:33:36 teamviewer[871]: Init...
Jan 23 16:33:37 teamviewer[871]: xprop: unable to open display ''
Jan 23 16:33:37 teamviewer[871]: CheckCPU: SSE2 support: yes
Jan 23 16:33:37 teamviewer[871]: Checking setup...
Jan 23 16:33:37 teamviewer[871]: Launching TeamViewer ...
Jan 23 16:33:37 teamviewer[871]: Launching TeamViewer GUI ...
Jan 23 16:33:58 systemd[1]: remote-desktop.service: Main process exited, code=killed, status=6/ABRT
Jan 23 16:33:58 systemd[1]: remote-desktop.service: Unit entered failed state.
Jan 23 16:33:58 systemd[1]: remote-desktop.service: Failed with result 'signal'.
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.
My teamvierwer is the free version,there is no option such as Full access control when a partner is connecting to the Windows logon screen
in my version,maybe you can introduce some other free remote control software (important:pay no money ) which can start before logoning the login screen
.I accept it as a solution too when you have done,give the 500 bounty point.
Sum up:after remotely waking my pc,how can input account name and passwrod remotely,i can't do it with teamviewer.
How to fix it?