Like the subject says: when there is an incoming connection, TeamViewer gets through the handshake, then TeamViewer_Desktop crashes. Relevant excerpt from the log:
Negotiating session encryption: client handshake received
Negotiating session encryption: client handshake received
Negotiating session encryption: server handshake sent, encryption established with AES key length 256
HandleSigChld: Child was dumped: 1744 signal 11
ProcessControlBase[4]: Process 1744 in session **Please do not post TeamViewer IDs** has terminated
(1744 is the PID of TeamViewer_Desktop)
Brief history if it's relevant:
- was on Ubuntu 12.04 LTS. Everything worked fine until when trying to connect I got an error that TeamViewer on the remote server was too old.
- Updated TeamViewer, but it wouldn't start due to something with the getRandom that some other people had problems with.
- Upgraded to Ubuntu 14.04 LTS. Reinstalled TeamViewer and could connect, but after logging in, it would hang and reconnect just left me with something about trying to initialize the display. (some point in here I tried various versions of 14)
- I dug into the logs and found some suspicious stuff (like a QT 5 X11Extras missing and the package not being found on the standard source lists)
- Upgraded to Ubuntu 18.04. Reinstalled TeamViewer. It crashes on connect.
Let me know if it would help to post the logs, or core/stack dump. Please help me.
EDIT: It's also potentially noteworthy that this is somewhat of a headless server. I say somewhat, because I've stuck a couple of resistors in certain pinholes of the VGA port, so the computer thinks it' connected to a monitor and starts up X normally (or at least it did in 12.04).