How to start TeamViewer on remote Linux server through SSH? A quick try shows that the TeamViewer aborted:
$ teamviewer Init... xprop: unable to open display '' CheckCPU: SSE2 support: yes Checking setup... Launching TeamViewer ... Launching TeamViewer GUI ... Aborted
It seems require a GUI. I am sure the X server on the remote Linux server is running.
Any way to solve this?
If you are sure the remote side's X server is running (assume it's the first one), then you may specify the DISPLAY environment variable so that TeamViewer can use it.
$ DISPLAY=:0 teamviewer Init... CheckCPU: SSE2 support: yes Checking setup... Launching TeamViewer ... Launching TeamViewer GUI ...
Then TeamViewer will start. You can then connect to it if you knows the Partner ID and pass or the remote Linux' TeamViewer is already registered to your account.
Please note that the TeamViewer window will jump out on your remote Linux' screen.