Posted by cybermailer
Photon

how to change and/or show teamviewer password remotely over ssh without GUI?

For some reasons my teamviewer password does not work anylonger. I cannot change by GUI because of resolution problems in my rasperry and tightVNC (650x....).

I know that i get the id by /usr/bin/teamviewer -info - but is there a way to get also the password i have choosen? OR is there a possibility to change the password by console/terminal?

I have tried teamviewer -password <mypassword> which says afterwards OK while changing but i cannot connect with this credentials.

I can use the password created by random without problems but i want my default one.

thx for helping!

4 Replies
4 Replies
Posted by TeamViewer Staff
TeamViewer Staff

Re: how to change and/or show teamviewer password remotely over ssh without GUI?

Dear cybermailer,

Thank you for contacting TeamViewer.

Let's check if your ID is not switching when you're changing the password.

When you do the passwd command it should stay with no problem.

please run the following commands

teamviewer info
sudo teamviewer passwd [password]
teamviewer info

Please verify that TeamViewer info always show the same ID

Let's us know the result so we can determine a solution for you.

 

Best regards,

Christian

Did my reply answer your question? Accept it as a solution to help others, Thanks.
Posted by shailusuriyal
Photon

Re: how to change and/or show teamviewer password remotely over ssh without GUI?

After executing the commands @ChristianCay , I am seeing there Teamviewer License Agreement, which is hindering the connection. How to Accept it from ssh terminal.


@ChristianCay wrote:

Dear cybermailer,

Thank you for contacting TeamViewer.

Let's check if your ID is not switching when you're changing the password.

When you do the passwd command it should stay with no problem.

please run the following commands

teamviewer info
sudo teamviewer passwd [password]
teamviewer info

Please verify that TeamViewer info always show the same ID

Let's us know the result so we can determine a solution for you.

 

Best regards,

Christian


 

Posted by DumbledorePhys
Photon

Re: how to change and/or show teamviewer password remotely over ssh without GUI?

Hi, 

I did what you suggested, but this does not answer the question was asked.

assuming ID remains the same, 
How can one obtain the password via ssh?

all the best, 
Eitan

Posted by TeamViewer Staff
TeamViewer Staff

Re: how to change and/or show teamviewer password remotely over ssh without GUI?

Hey @shailusuriyal,

 

You can accept it when running "teamviewer setup" in a terminal.

Alternatively, you can accept them manually by adding "[int32] EulaAccepted = 1" into /etc/teamviewer/global.conf

 

Best regards,
Rene

Rene - 2nd Level Support