TeamViewer used to work great; how do I fix: Launching TeamViewer GUI ... Aborted (core dumped)?

travishardiman
travishardiman Posts: 6 ✭✭
edited July 2022 in Linux only

I'm running Pop!_OS 22.04 LTS jammy, and TeamViewer used to work great but I haven't been able to get it to launch the past few times I've tried and I'm not sure what's going on. I just tried downloading the latest deb but no luck.

❯ teamviewer

Init...
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Launching TeamViewer GUI ...
Aborted (core dumped)

❯ teamviewer --version

 TeamViewer                          15.32.3 (DEB)

❯ uname -a
Linux pop-os 5.18.10-76051810-generic #202207071639~1659108431~22.04~c9172fb SMP PREEMPT_DYNAMIC Fri J x86_64 x86_64 x86_64 GNU/Linux 



Answers

  • travishardiman
    travishardiman Posts: 6 ✭✭
    edited August 2022
    ❯ sudo teamviewer info
    
     TeamViewer                           15.32.3  (DEB)
    
     TeamViewer ID:                        [removed per Community Guidelines]
    
     teamviewerd status                   ● teamviewerd.service - TeamViewer remote control daemon
         Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: enabled)
         Active: active (running) since Tue 2022-08-02 00:35:07 EDT; 3min 40s ago
        Process: 172165 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
       Main PID: 172167 (teamviewerd)
          Tasks: 21 (limit: 18799)
         Memory: 2.7M
            CPU: 693ms
         CGroup: /system.slice/teamviewerd.service
                 └─172167 /opt/teamviewer/tv_bin/teamviewerd -d
    
    Aug 02 00:35:07 pop-os systemd[1]: Starting TeamViewer remote control daemon...
    Aug 02 00:35:07 pop-os systemd[1]: teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) after start: Operation not permitted
    Aug 02 00:35:07 pop-os systemd[1]: Started TeamViewer remote control daemon.
    
  • travishardiman
    travishardiman Posts: 6 ✭✭

    I tried uninstalling and reinstalling, per the gui.log:

    Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Available platform plugins are: xcb.
    
    
    


  • Justin
    Justin Posts: 802 [Former Staff]

    Hello @travishardiman,

    Welcome to the TeamViewer Community and thank you for providing the information! 🎉


    Please go ahead and follow these steps:

    • Edit the custom.conf file which is located in /etc/gdm3 (Ubuntu)
    • Uncomment WaylandEnable=false by deleting the # at the beginning of the line
    • Reboot the VNC Server computer


    • Uninstall and then install by using these commands:
    sudo apt purge teamviewer
    wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb (this can vary based on the package)
    sudo apt install ./teamviewer_amd64.deb
    sudo teamviewer setup
    


    Try to follow these steps and let us know if the installation worked now.


    Best,

    Justin

    German Community Moderator

  • travishardiman
    travishardiman Posts: 6 ✭✭

    startup.log

    Init...
    TeamViewer:        15.32.3 - DEB
    Profile:           /home/travis (travis)
    Desktop:           DS: 'pop-wayland'    XDG: 'pop:GNOME'
    XServer TTY:       none
    
    ok (info)
    
    CheckCPU: SSE2 support: yes
    ok (profile)
    


    TeamViewer_FI_15.32.3_2022-08-02-012512.amd64.stack

    /opt/teamviewer/tv_bin/TeamViewer[0x140d0c5]
    /opt/teamviewer/tv_bin/TeamViewer[0x140bbff]
    /opt/teamviewer/tv_bin/TeamViewer[0xd770ad]
    /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f0122042520]
    /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f0122096a7c]
    /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f0122042476]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f01220287f3]
    /opt/teamviewer/tv_bin/RTlib/qt/lib/libQt5Core.so.5(+0xa86bb)[0x7f0127ca86bb]
    /opt/teamviewer/tv_bin/RTlib/qt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0xb88)[0x7f012830d916]
    /opt/teamviewer/tv_bin/RTlib/qt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x13)[0x7f012830dce5]
    /opt/teamviewer/tv_bin/RTlib/qt/lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate4initEv+0x210)[0x7f0127dd38e0]
    /opt/teamviewer/tv_bin/RTlib/qt/lib/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate4initEv+0x19)[0x7f012830ee95]
    /opt/teamviewer/tv_bin/RTlib/qt/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate4initEv+0x9)[0x7f012777aecf]
    /opt/teamviewer/tv_bin/TeamViewer[0x4bf2bc]
    /opt/teamviewer/tv_bin/TeamViewer[0x4c03d2]
    /opt/teamviewer/tv_bin/TeamViewer[0x425590]
    /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f0122029d90]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f0122029e40]
    /opt/teamviewer/tv_bin/TeamViewer[0x4a62ae]
    

    I

  • travishardiman
    travishardiman Posts: 6 ✭✭
    edited August 2022

    @Justin

    Please go ahead and follow these steps:

    Edit the custom.conf file which is located in /etc/gdm3 (Ubuntu)

    Uncomment WaylandEnable=false by deleting the # at the beginning of the line

    Reboot the VNC Server computer

    I use Wayland for other apps and fractional scaling on my device, so I can't disable it.


    I tried this:

    sudo apt purge teamviewer

    wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb (this can vary based on the package)

    sudo apt install ./teamviewer_amd64.deb

    sudo teamviewer setup


    Output:

    ❯ sudo apt purge teamviewer
    Place your right index finger on the fingerprint reader
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following package was automatically installed and is no longer required:
     libminizip1
    Use 'sudo apt autoremove' to remove it.
    The following packages will be REMOVED:
     teamviewer*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 269 MB disk space will be freed.
    Do you want to continue? [Y/n] Y
    (Reading database ... 373725 files and directories currently installed.)
    Removing teamviewer (15.32.3) ...
    Removed /etc/systemd/system/multi-user.target.wants/teamviewerd.service.
    Clearing assignments ...
    done
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
    Processing triggers for dbus (1.12.20-2ubuntu4) ...
    Processing triggers for dbus-broker (29-4build1) ...
    Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
    Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
    (Reading database ... 373273 files and directories currently installed.)
    Purging configuration files for teamviewer (15.32.3) ...
    
    ❯ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
    --2022-08-02 10:04:33--  https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
    Resolving download.teamviewer.com (download.teamviewer.com)... [removed per Community Guidelines]
    
     ...
    Connecting to download.teamviewer.com (download.teamviewer.com)[removed per Community Guidelines]connected.
    HTTP request sent, awaiting response... 302 Found
    Cookie coming from download.teamviewer.com attempted to set domain to downloadprovider.teamviewer.com
    Cookie coming from download.teamviewer.com attempted to set domain to downloadprovider.teamviewer.com
    Location: https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.32.3_amd64.deb [following]
    --2022-08-02 10:04:33--  https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.32.3_amd64.deb
    Resolving dl.teamviewer.com (dl.teamviewer.com)... [removed per Community Guidelines] ...
    Connecting to dl.teamviewer.com (dl.teamviewer.com)[removed per Community Guidelines]... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 70812228 (68M) [application/octet-stream]
    Saving to: ‘teamviewer_amd64.deb’
    
    teamviewer_amd64.de 100%[===================>] 67.53M 21.1MB/s   in 3.2s   
    
    2022-08-02 10:04:37 (21.1 MB/s) - ‘teamviewer_amd64.deb’ saved [removed per Community Guidelines]
    
    ❯ sudo apt install ./teamviewer_amd64.deb
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'teamviewer' instead of './teamviewer_amd64.deb'
    The following NEW packages will be installed:
     teamviewer
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/70.8 MB of archives.
    After this operation, 269 MB of additional disk space will be used.
    Get:1 /home/travis/Downloads/teamviewer_amd64.deb teamviewer amd64 15.32.3 [70.8 MB]
    Selecting previously unselected package teamviewer.
    (Reading database ... 373269 files and directories currently installed.)
    Preparing to unpack .../Downloads/teamviewer_amd64.deb ...
    Unpacking teamviewer (15.32.3) ...
    Setting up teamviewer (15.32.3) ...
    Processing triggers for dbus-broker (29-4build1) ...
    Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
    Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
    Processing triggers for dbus (1.12.20-2ubuntu4) ...
    N: Download is performed unsandboxed as root as file '/home/travis/Downloads/teamviewer_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
    
    ❯ sudo teamviewer setup
    
    
    TeamViewer daemon is not running, setup cannot continue. Please activate the   
    TeamViewer daemon before invoking setup.
    


  • LinuxAstronaut
    LinuxAstronaut Posts: 2 ✭✭
    edited October 2022

    I have the same issue. TeamViewer used to run fine, but as of late whenever I try to launch the app, it crashes to the desktop.  I have tried uninstalling and reinstalling Teamviewer, but the app keeps crashing to the desktop. I'm on Ubuntu 20.04.5 LTS (Focal Fossa) (64 bit).

    Terminal output:

    stuart@ubuntu:~$ teamviewer
    Init...
    CheckCPU: SSE2 support: yes
    Checking setup...
    Launching TeamViewer ...
    Launching TeamViewer GUI ...
    Aborted (core dumped)
    
    stuart@ubuntu:~$ sudo teamviewer info
    [sudo] password for stuart: 
     TeamViewer                          15.34.4 (DEB) 
     TeamViewer ID:                       Redacted 
     teamviewerd status                  ● teamviewerd.service - TeamViewer remote control daemon
        Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: enabled)
        Active: active (running) since Sun 2022-10-16 12:19:23 CEST; 30min ago
       Process: 42117 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
      Main PID: 42119 (teamviewerd)
         Tasks: 22 (limit: 77067)
        Memory: 6.0M
        CGroup: /system.slice/teamviewerd.service
                └─42119 /opt/teamviewer/tv_bin/teamviewerd -d
    Oct 16 12:19:23 ubuntu systemd[1]: Starting TeamViewer remote control daemon...
    Oct 16 12:19:23 ubuntu systemd[1]: teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) 
    after start: Operation not permitted
    Oct 16 12:19:23 ubuntu systemd[1]: Started TeamViewer remote control daemon. 
    
  • LinuxAstronaut
    LinuxAstronaut Posts: 2 ✭✭
    edited October 2022

    I don't know if it's any help, but my issue resolved itself. After rebooting my computer, TeamViewer works again. I don't know what happened and how it fixed itself. Can't find anything in the log files nor in the terminal output. No more Aborted (core dumped), maybe something crashed in the background (X11)? Well, I'm happy it's working again, because TeamViewer is an essential tool for me.

    stuart@ubuntu:~$ teamviewer
    Init...
    CheckCPU: SSE2 support: yes
    Checking setup...
    Launching TeamViewer ...
    Launching TeamViewer GUI ...
    


  • travishardiman
    travishardiman Posts: 6 ✭✭

    I just tried again, since it's been several reboots and updates since my last post, and it still doesn't work for me:

    ❯ sudo apt purge teamviewer
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages will be REMOVED:
     teamviewer*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    (Reading database ... 383225 files and directories currently installed.)
    Purging configuration files for teamviewer (15.32.3) ...
    


    ❯ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
    --2022-10-16 15:43:16--  https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
    Resolving download.teamviewer.com (download.teamviewer.com)... 104.16.62.16, 104.16.63.16, 2606:4700::6810:3e10, ...
    Connecting to download.teamviewer.com (download.teamviewer.com)|104.16.62.16|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Cookie coming from download.teamviewer.com attempted to set domain to downloadprovider.teamviewer.com
    Cookie coming from download.teamviewer.com attempted to set domain to downloadprovider.teamviewer.com
    Location: https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.34.4_amd64.deb [following]
    --2022-10-16 15:43:17--  https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.34.4_amd64.deb
    Resolving dl.teamviewer.com (dl.teamviewer.com)... 104.16.63.16, 104.16.62.16, 2606:4700::6810:3f10, ...
    Connecting to dl.teamviewer.com (dl.teamviewer.com)|104.16.63.16|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 70836048 (68M) [application/octet-stream]
    Saving to: ‘teamviewer_amd64.deb’
    
    teamviewer_amd64.de 100%[===================>] 67.55M 16.4MB/s   in 4.3s   
    
    2022-10-16 15:43:21 (15.6 MB/s) - ‘teamviewer_amd64.deb’ saved [70836048/70836048]
    


    ❯ sudo apt install ./teamviewer_amd64.deb
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'teamviewer' instead of './teamviewer_amd64.deb'
    The following additional packages will be installed:
     libminizip1
    The following NEW packages will be installed:
     libminizip1 teamviewer
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 20.2 kB/70.9 MB of archives.
    After this operation, 269 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://apt.pop-os.org/ubuntu jammy/universe amd64 libminizip1 amd64 1.1-8build1 [20.2 kB]
    Get:2 /home/travis/teamviewer_amd64.deb teamviewer amd64 15.34.4 [70.8 MB]
    Fetched 20.2 kB in 1s (26.9 kB/s)
    Selecting previously unselected package libminizip1:amd64.
    (Reading database ... 383223 files and directories currently installed.)
    Preparing to unpack .../libminizip1_1.1-8build1_amd64.deb ...
    Unpacking libminizip1:amd64 (1.1-8build1) ...
    Selecting previously unselected package teamviewer.
    Preparing to unpack .../travis/teamviewer_amd64.deb ...
    Unpacking teamviewer (15.34.4) ...
    Setting up libminizip1:amd64 (1.1-8build1) ...
    Setting up teamviewer (15.34.4) ...
    gpg: keybox '/root/.gnupg/pubring.kbx' created
    Processing triggers for dbus-broker (29-4build1) ...
    Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
    Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
    Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
    Processing triggers for dbus (1.12.20-2ubuntu4) ...
    N: Download is performed unsandboxed as root as file '/home/travis/teamviewer_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
    


    ❯ sudo teamviewer setup
    
    TeamViewer daemon is not running, setup cannot continue. Please activate the   
    TeamViewer daemon before invoking setup.
    


    ❯ sudo teamviewer info
    
     TeamViewer                          15.34.4 (DEB) 
    
     TeamViewer ID:                       
    Try restarting the TeamViewer daemon (e.g. teamviewer --daemon restart)
    
     teamviewerd status                  ● teamviewerd.service - TeamViewer remote control daemon
        Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: enabled)
        Active: active (running) since Sun 2022-10-16 15:44:37 EDT; 2min 29s ago
       Process: 719034 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
      Main PID: 719036 (teamviewerd)
         Tasks: 21 (limit: 18795)
        Memory: 3.0M
           CPU: 225ms
        CGroup: /system.slice/teamviewerd.service
                └─719036 /opt/teamviewer/tv_bin/teamviewerd -d
    
    Oct 16 15:44:37 pop-os systemd[1]: Starting TeamViewer remote control daemon...
    Oct 16 15:44:37 pop-os systemd[1]: teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) after start: Operation not permitted
    Oct 16 15:44:37 pop-os systemd[1]: Started TeamViewer remote control daemon.
    


    ❯ teamviewer --daemon restart
    
    systemctl restart teamviewerd.service
    


    ❯ teamviewer
    
    Init...
    CheckCPU: SSE2 support: yes
    Checking setup...
    Launching TeamViewer ...
    Launching TeamViewer GUI ...
    Aborted (core dumped)
    


    ❯ teamviewer --version
     TeamViewer                          15.34.4 (DEB) 
    


    ❯ uname -a
    Linux pop-os 5.19.0-76051900-generic #202207312230~1663791054~22.04~28340d4 SMP PREEMPT_DYNAMIC Wed S x86_64 x86_64 x86_64 GNU/Linux