teamviewer.com link icon
or
Ask The Community

Stuck at "connecting" when trying to connect to teamviewer-host on Raspberry Pi 4

LimaKilo
LimaKilo Posts: 2 ✭✭

Hi! I'm unable to connect to my Raspberry Pi 4 running teamviewer-host. It used to work, but now I just get a "connecting" in the TV client and after a few minutes it says "connection cancelled". This happens both via "my computers" and via ID + password.

 sudo teamviewer info gives:

TeamViewer                          15.12.4 (DEB)

TeamViewer ID:                       <censored>

teamviewerd status                  ● teamviewerd.service - TeamViewer remote control daemon

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

  Active: active (running) since Sun 2020-12-13 14:58:02 CET; 23min ago

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

 Main PID: 4292 (teamviewerd)

   Tasks: 17 (limit: 4915)

  CGroup: /system.slice/teamviewerd.service

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




Dec 13 14:58:02 raspberrypi systemd[1]: Starting TeamViewer remote control daemon...

Dec 13 14:58:02 raspberrypi systemd[1]: teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) after start: No such file or directory

Dec 13 14:58:02 raspberrypi systemd[1]: Started TeamViewer remote control daemon.

I tried reinstalling the package, reinstalling but also deleting the global.conf, nothing works.

Can you help me?

Best Answer

  • LimaKilo
    LimaKilo Posts: 2 ✭✭
    Accepted Answer

    Well, mine got fixed with the most recent update instead :)

Answers

  • TomKan
    TomKan Posts: 5 ✭✭

    I finally got mine "fixed" by downgrading to version 15.7 with sudo apt-get install teamviewer=15.7.6 -V

  • LimaKilo
    LimaKilo Posts: 2 ✭✭
    Accepted Answer

    Well, mine got fixed with the most recent update instead :)

  • Travis90x
    Travis90x Posts: 1
    edited January 24

    EDIT: I choose to accept Preview Builds in setting, so I upgrade to V15.14.3 H and now I can connnect to Raspberry OS when it is in the Login Screen.

    I still have

    teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?)
    

    ###################

    Same issue with Version 15.13.6 H + Raspberry OS 10 (Raspbian Buster)

    Not Work for me: sudo apt-get install teamviewer=15.7.6 -V

    I cannot connect with TeamViewer when Raspberry OS in in the Login screen.

    Only after a correct Login, I can connect with TeamViewer, but if I use: dm-tool lock

    the connected TeamViewer kick me out.

    I tried to set display resolution in raspi-config too.

    If I use VNC Client from Windows, I can connect to Raspberry in Login Screen.

    I tried:

    In /etc/systemd/system/teamviewerd.service

    I changed /var/run/teamviewerd.pid --> /run/teamviewerd.pid

    I tried to comment "#PIDFile = /run/teamviewerd.pid" too, and after:

    systemctl daemon-reload
    systemctl start teamviewerd
    systemctl status teamviewerd
    

    I have no more

    teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) [...]
    

    But with all these attempts, I still can not connect when Raspberry OS in in the Login Screen.



Sign In or Register to comment.