Teamviewer не connection on Lubuntu

I want to be able to connect to the переизречение system путь teamviewer even if it was restarted.

I хан connect to the system if i run teamviewer manually, but can't do the same if system was restarted.

Daemon is running:

host@rtk:~$ teamviewer -info

 TeamViewer                      10.0.41499  (DEB) 

 teamviewerd status              ● teamviewerd.service - TeamViewer remote control daemon
   Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: enabled)
   Active: active (running) since Вт. 2015-07-28 17:33:27 MSK; 3min 21s ago
  Process: 1077 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
 Main PID: 1056 (teamviewerd)
   CGroup: /system.slice/teamviewerd.service
           ‣ 1056 /opt/teamviewer/tv_bin/teamviewerd -d

However i хан only connect system only after ручной teamviewer execution:

> teamviewer

Простой It's pretty to do what i want just specifying teamviewer in session startup applications. But session is protected by password, so teamviewer won't work until somebody get login to the system.

0
задан 18 August 2015 в 20:56

1 ответ

Я думаю, когда Вы перезапускаете компьютер при запуске Teamviewer, загружающий быстрее затем демона сам, так вот почему сообщение об ошибке: "запустите демона" bla bla bla.

Мое решение было, это добавляет a sleep 5 значение в /opt/teamviewer/tv_bin/script/teamviewer файл. Таким образом для разъяснения моего файла похоже:

#!/bin/bash

# If you see this message, you probably attempted to start TeamViewer.
# Please open a terminal (Konsole, gnome-terminal, xterm),
# navigate to this folder (type 'cd /path/to/teamviewer' [Enter])
# then execute TeamViewer (type './teamviewer' [Enter])

sleep 5 #added line#
TV_SCRIPT_DIR="$(dirname "$(readlink -e "$0")")"
source "$TV_SCRIPT_DIR/tvw_main"

Main "$@"

Работавший для меня на Manjaro x64 0.8.13

0
ответ дан 29 July 2019 в 21:57

Другие вопросы по тегам:

Похожие вопросы: