Запустить teamviewer linux ssh

Blog de Toni Soto

Capturando algunas ideas, inspiraciones y reflexiones ocasionales

Launching Teamviewer remotely through SSH

Teamviewer is a wonderful tool to access your computer (or any other device) remotely if you need to use your a graphical screen. Probably is not as secure as other linux solutions (as VNC or a VPN) but the main advantage is that is very easy to install and configure.

Suppose that we are on holidays far from home and we need to accomplish a task on our home computer using the graphical desktop. We have in our hands another device (for example a nexus7 tablet) and we are connected to WiFi hotspot. There is Teamviewer Apps for Android and IOS. We need Teamviewer installed in both machines: Desktop at home and our tablet, So I’m going to explain how can you launch remotely Teamviewer in your remote computer at home just for the time you need it to perform a particular task. As soon as we finished our job, we will stop it again to be safer.

I assume that you’ve already installed Teamviewer in your linux box and you also have a ssh account to login into your remote linux machine at home ( user@home_machine:

Steps:

  1. Login into your home linux box through ssh. Don’t use root access unless it was necessary. Use ‘sudo’ instead.
  2. Locate where teamviewer is installed:
    user@home_machine:

$ whereis teamviewer

Now run this command to get the list of commands:
user@home_machine:

$ /usr/bin/teamviewer –help

Now we will check ID number for calling remotely our device and the current status of teamviewer daemon in our computer:
user@home_machine:

$ /usr/bin/teamviewer –info

If we don’t remember the password to connect to teamviewer in our home machine we can reset it using this command:
user@home_machine:

$/usr/bin/teamviewer –passwd MYnewpassword
Now it’s time to enable the teamviewer daemon and launch (start) it. check that it’s up and running:

$ sudo teamviewer –daemon start

We check again the status:
user@home_machine:

$ sudo teamviewer –info

… and now we check that new connections are opened to teamviewers servers:
user@home_machine:

$ sudo netstat -ntap | grep teamviewer

  • Now close your ssh session to your home computer otherwise you won’t be able to connect to teamviewer remotely. Once closed the ssh session try to connect to your home PC remotely using any other device you had in your hands.
  • Once you finish close the teamviewer session and reconnect to your home computer again with ssh. We will stop teamviewer until the next time we needed it again. Commands to perform this final step is:
    user@home_machine:

    $sudo teamviewer –daemon stop

    Источник

    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 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!

    Comments

    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

    Please verify that TeamViewer info always show the same ID

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

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

    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

    Please verify that TeamViewer info always show the same ID

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

    Источник

    Is there a TeamViewer for the Linux console?

    I have several Raspberry Pi’s running DietPi (debian based) distributed in different locations. My clients are companies and everyone has a different network infrastructure.

    I need to have access to my devices through ssh, but the problem is that I can’t always open a port in my client’s router.

    There are several solutions, like reverse ssh port forwarding, but as long as I can evaluate them, they are hacks that are not very reliable.

    I need to handle the possibility that the RPi might reboot, the client’s router will loose internet connection for a while, etc.

    So, my question is: Is there a TeamViewer like service for the Linux console? Robust, reliable and independent from the router configuration.

    3 Answers 3

    If you really just want a terminal, maybe plain ssh is perfect for you, and working on getting it going is the real issue.

    Otherwise, did you try a web search for «TeamViewer like service for the Linux»?

    • TeamViewer full version — Linux from teamviewer.com. Also see the Installation Notes for terminal installation.
    • Teamviewer for Linux as a service — hint: use /etc/init.d or an autostart file

    How does the terminal server support work?

    On server operating systems, TeamViewer operates without any special adaptation.

    However, please make sure to activate the Enhanced multi-user support Option (activated by default for TeamViewer 9 and later) in the Options under Advanced. This option generates an individual TeamViewer ID for every user who connects to the server using Remote Desktop (RDP) by Microsoft as well as for the physical console. Therefore, parallel and individual work of each session is possible.

    The Info Dialog now displays two different IDs:

    • Server ID:
      • TeamViewer ID of the console of the server operating system (as if one were physically sitting in front of the server)
    • User ID:
      • TeamViewer ID of the user logged into this server using RDP.

    Источник

    Установка и запуск Teamviewer через SSH

    Запуск программы через SSH
    Здравствуйте. Подключился к компьютеру по SSH, нужно запустить на нем программу: C:\program.exe .

    Установка софта через SSH
    Добрый день. Интересует вопрос, как установить на Unix софт через SSH-туннель? Конкретнее.

    запуск файла через ssh сервер
    здравствуйте! Столкнулся с проблемой, не могу открыть файл в python 3.6 с сервера ssh. У вас нет.

    Запуск shell — команды через SSH
    Добрый день! Использую модуль paramiko. Нужно выполнять различные команды через ssh на удаленном.

    Помощь в написании контрольных, курсовых и дипломных работ здесь.

    Запуск процесса через удаленный доступ (SSH)
    Я являюсь администратором сервера Counter-Strike:Source. Сервер находится у провайдера, к которому.

    Запуск SSH-клиента через BAT-файл с заданными IP-адресом, логином и паролем
    Требуется запустить SSH клиент через .bat файл(создать батник) с автозаполненным IP-адресом(если.

    Установка библиотеки php_ssh2.dll или libssh2 для удаленного подключения через ssh
    Как я понимаю для работы по протоколу SSH в php сначала нужно установить libssh2 и внести изменение.

    Запуск TeamViewer с параметрами
    Доброго времени суток! Столкнулся с проблемой, могу запустить тимку, но мне нужно что бы запуск.

    Источник

    Как установить teamviewer через консоль в Linux

    Сегодня поговорим как можно установить teamviewer через консоль в операционной системе Linux

    Teamviewer — пакет программного обеспечения для удалённого контроля компьютеров, обмена файлами между управляющей и управляемой машинами, видеосвязи и веб-конференций. TeamViewer работает на операционных системах Windows, Mac OS X, Linux, iOS и Android.

    Установка teamviewer через консоль

    Приведу пример для разных разрядностей.

    64bit

    32bit

    Запуск программы

    После установки запустить TeamViewer можно через меню приложений или не выходя из терминала, набрав:

    Амперсанд нужен здесь для того, чтобы после закрытия терминала процесс TeamViewer’а не завершился.

    Во время первого запуска программой будет предложено лицензионное соглашение:

    После этого уже можно пользоваться всеми возможностями удаленного управления:

    Для того, чтобы подключиться к удаленному компьютеру с установленным на нем TeamViewer’ом нужно вписать его ID в соответствующее поле и нажать подключиться. Если компьютер, к которому происходит подключение доступен в сети, то программа запросит пароль этого компьютера.

    Для того, чтобы подключится к локальной машине с только что установленным TeamViewer необходимо знать ID и пароль — они указаны слева под соответствующими пунктами.

    Сегодня разобрали пример как можно установить teamviewer через консоль в операционной системе Linux.

    Если есть вопросы, то пишем в комментариях.

    Также можете вступить в Телеграм канал, ВК или подписаться на Twitter. Ссылки в шапки страницы.
    Заранее всем спасибо.

    Источник

    Читайте также:  Как открыть windows system32 cmd exe
  • Оцените статью