teamviewerd.service: Can't open PID file /var/run/teamviewerd.pid

Hi,

I have installed and configured and also used TV the first time today in Nvidia jetson Xavier,

but after restart Im getting this issue:

teamviewerd.service: Can't open PID file /var/run/teamviewerd.pid (yet?) after start: No such file or directory

Please tell me why and how to fix it, it is of extreme importance !

Comments

  • hehe
    hehe Posts: 3

    I have the same problem too on my Ubuntu container

  • and me too.


    Is it possible to resolve the problem?

  • I use TeamViewer to connect to a machine (Ubuntu 20.04) that not always have a graphical user session started and I noticed that even with teamviewerd running the machine is offline.

    I fixed the problem running:

    sudo teamviewer setup

    From teamviewer --help:

    teamviewer setup Configure headless modes (non-gui/console)

    Without running this, the only way for me was to start manually a graphical user session and open the TeamViewer GUI on the host I wanted to use.

  • [bartosz@localhost ~]$ LANG=en_US.UTF-8 sudo teamviewer setup

    TeamViewer daemon is not running, setup cannot continue. Please activate the TeamViewer daemon before invoking setup.
    [bartosz@localhost ~]$ systemctl status teamviewerd
    ● teamviewerd.service - TeamViewer remote control daemon
    Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; preset: disabled)
    Active: active (running) since Mon 2024-11-04 09:46:23 CET; 2h 39min ago
    Process: 33571 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
    Main PID: 33573 (teamviewerd)
    Tasks: 25 (limit: 306073)
    Memory: 10.2M
    CPU: 4.222s
    CGroup: /system.slice/teamviewerd.service
    └─33573 /opt/teamviewer/tv_bin/teamviewerd -d

    lis 04 09:46:23 localhost.localdomain systemd[1]: Starting TeamViewer remote control daemon...
    lis 04 09:46:23 localhost.localdomain systemd[1]: teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) after start: Operation not permitted
    lis 04 09:46:23 localhost.localdomain systemd[1]: Started TeamViewer remote control daemon.

    Not resolve because Daemon don't see pid even when demon is ready ;) FUNY….
    4 years people sending issue and TeamViewer still not repaired this problem.

    Newest package:
    $ rpm -q teamviewer
    teamviewer-15.59.3-0.x86_64
    instaled from teamviewer.com side for RHEL9/ROCKY9.