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!