Enable teamviewer daemon ubuntu

Teamviewer 12

Ubuntu 

I have succesfully installed teamviewer on ubunty, but when i start it, it says the deamon is not running.

So i tried:

sudo teamviewer --daemon start 

But it says the daemon is already running, and the request will be ignored.

So i tried to stop it first, and than start it again. Nope

Tried enable instead of start, didn't work either..

Anny other ideas?

Comments

  • sudo teamviewer --daemon enable 

     

    this should work!1

  • Juksefantomet
    Juksefantomet Posts: 1

    Hello! i wanted to add to this as i had a weird case causing the OP message to occur regardless of daemon status.

     

    IF:

    sudo systemctl enable teamviewerd.service

    has been manually invoked prior to

    sudo teamviewer daemon enable

     

    then simply enabling daemon will not work.

    fix:

    1. sudo systemctl disable teamviewerd.service

    2. sudo teamviewer daemon enable

    ---

    the output is the same but it will allow teamviewer to manage the service - otherwise it fails silently.

  • janderson2k
    janderson2k Posts: 2 ✭✭

    So this all helped me a TON, got teamviewer running but I cant get "teamviewer setup" to run, I get :


    /opt/teamviewer/tv_bin/teamviewer-config: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory


    When I do "teamviewer status" I get :

    (Omitted the ID portion)

     teamviewerd status           ● teamviewerd.service - TeamViewer remote control daemon

      Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: enabled)

      Active: active (running) since Mon 2021-08-02 16:25:19 EDT; 1min 4s ago

     Process: 766 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)

     Main PID: 793 (teamviewerd)

      Memory: 14.9M

       CPU: 11.634s

      CGroup: /system.slice/teamviewerd.service

          └─793 /opt/teamviewer/tv_bin/teamviewerd -d


    Aug 02 16:25:19 FDTCloudKey002 systemd[1]: Starting TeamViewer remote control daemon...

    Aug 02 16:25:19 FDTCloudKey002 systemd[1]: teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) after start: No such file or directory

    Aug 02 16:25:19 FDTCloudKey002 systemd[1]: Started TeamViewer remote control daemon. 

  • janderson2k
    janderson2k Posts: 2 ✭✭

    Also - when I attempt to connect to the machine I get :


    No connection to partner! Partner did not connect to router. Error code: WaitforConnectFailed

  • dantesese
    dantesese Posts: 1
    The same happens to me