How to accept Teamviewer license agreement from / under the console at first launch

I have a remote Linux machine (ubuntu 14.04) with remote SSH access and a fresh TeamViewer 10.0.46203 (DEB) is installed.

I try to run teamviewer and get TeamViewer ID via ssh console using this command:

$ teamviewer --info 

which prints version, status, identifier.

But I did not have any success due to the fact that when it was first launched it had to accept a license agreement . Therefore, I try to start using the -X key through SSH, but this window with the application button "License Agreement" does not appear! Only when it does not accept a license window with an error message.

My question is: how to accept the Teamviewer license agreement from / under the console at the first start?

+5
source share
2 answers

I wrote the same question in support of teamviewer and got this answer:

When installing TeamViewer via SSH, keep in mind that there is an EULA agreement that must be accepted before the GUI can start to get the identifier.

This release will have a parameter to exit, but for now, stop the TeamViewer daemon with the following command:

teamviewer --daemon stop

and then just add the following lines to the / opt / teamviewer 9 / config / global.config file:

[int32] EulaAccepted = 1

[int32] EulaAcceptedRevision = 6

After that, please run the TeamViewer daemon with the following command:

teamviewer --daemon start

Alternatively, run the command (on debian-based distributions)

export DISPLAY=:0; nohup iceweasel &>/dev/null &

to allow the opening of the GUI and get the TeamViewer identifier.

You can then start TeamViewer with the sudo teamviewer & disown , as it removes this process from shell job management, but it still does not connect to the terminal.

Thank you in advance and let me know if you have any further questions ...

Fedora 20 Here are the steps:

1.) SSH into the machine for installing TeamViewer (follow the installation instructions. If the shell commands require the help of teamviewer --help ), 2.) After installing TeamViewer, configure the automatic password for teamviewer --passwd [PASSWD] 3.) After stop the daemon using sudo teamviewer --daemon stop 4.) Write the following lines to the global.conf file located in the /opt/teamviewer/config/global.conf file:

[int32] Always_Online = 1

[int32] EulaAccepted = 1

[int32] EulaAcceptedRevision = 6

5.) Then start the daemon using sudo teamviewer --daemon --start or restart sudo teamviewer --daemon restart if necessary

6.) Then restart GDM using the systemctl restart gdm.service

Then you should be good to go!

+4
source

TeamViewer 10 has a licence option with which you can accept EULA.

 $teamviewer license accept 

You may need to restart the TeamViewer daemon using $teamviewer daemon restart .

+1
source

All Articles