I was able to use teamviewer host following the link’s steps on the TX2 dev kit running L4T R32.1 Ubuntu 18.04
But once I restarted the tx2, I get the error:
$ ./opt/teamviewer/tv_bin/TeamViewer
ERROR: ld.so: object ‘libgtk3-nocsd.so.0’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Gtk-Message: 12:54:22.329: Failed to load module “unity-gtk-module”
Gtk-Message: 12:54:22.495: Failed to load module “canberra-gtk-module”
Gtk-Message: 12:54:22.502: Failed to load module “canberra-gtk-module” QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Aborted (core dumped)
The same seems to happen when I try remote in.
Teamviewer shows the tx2 as available for remote connection, and when I click to remote in, tt shows the TX2 desktop on the client for a split second and closes immediately.
If I run glxinfo -B on the tx2, I get
“bash: glxinfo: command not found”
Do you have a monitor plugged into the TX2? TeamViewer doesn’t like headless environments. I know you use to have to get a dummy HDMI monitor and plug it into your Pi/NUC in order to use TeamViewer on it.
No. I haven’t got any further on that. Also, teamviewer would sometimes halt/pause the booting process for 1:30min with a… job? I don’t know what that was supposed to do, but not nice as well.
I gave it a go with NoMachine instead of teamviewer for the tx2, and it works like a charm over the local network. I haven’t managed to use NoMachine over the internet, though.
I heard it is possible using SSH. NoMachine has the option when you go to connect to choose between their off-the-shelf NX protocol, which works over the local network, or SSH, if you set it up to work over the internet. I haven’t looked at it, as I don’t need it now.
Has anybody found a solution for this problem? I can install teamviewer and it runs fine until I reboot. Then every time I try and start it, the screen comes up and it crashes. I assume the installer makes a change that isn’t persistent after reboot (such as environmental variables, but I checked and they are all the same) so I am at a loss.