Jump to content

TeamViewer Docker?


landS

Recommended Posts

I took a look at this. It's kinda a pain.

 

First, the so-called 64-bit binary actually depends on 32-bit libraries. So the Phusion base, which is Ubuntu 14.04 64-bit, needs quite a lot of libraries to get 32-bit support. See my draft Dockerfile below.

 

Even after all that, the package seems to want to start a daemon, and fails:

 

/etc/init.d/teamviewerd: line 56: /opt/teamviewer/tv_bin/teamviewerd: cannot execute binary file: Exec format error

 

No matter, I think, who needs the daemon? Let's just start the "teamviewer" app! No luck:

 

TeamViewer:        10.0.41499 - DEB
Profile:           /home/user_99_100 ()
Desktop:           DS: ''       XDG: ''
XServer TTY:       none

*** TeamViewer can not be executed with sudo! ***
Either use your normal user account without sudo
or use a the real root account to log in to your desktop (not recommended!).

 

I'm guessing this is some oddity of docker or the rdp base.

 

Here's my attempt at the Dockerfile:

 

FROM hurricane/dockergui:x11rdp1.2
#FROM hurricane/dockergui:x11rdp
#FROM hurricane/dockergui:xvnc

MAINTAINER David Coppit <[email protected]>

ENV DEBIAN_FRONTEND noninteractive

# Speed up APT
RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup \
  && echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache

# Create dir to keep things tidy. Make sure it's readable by $UID
RUN mkdir /files
RUN chmod a+rwX /files

RUN set -x \
  && apt-get update \
  && wget -O /files/teamviewer_i386.deb http://download.teamviewer.com/download/teamviewer_i386.deb \
  && dpkg --add-architecture i386 \
  && apt-get update \
  && apt-get install -y gdebi \
  && gdebi -n /files/teamviewer_i386.deb

# Default resolution
ENV WIDTH=1280
ENV HEIGHT=720

COPY startapp.sh /startapp.sh

 

startapp.sh is just:

 

#!/bin/bash
teamviewer

Link to comment

This happens because unraid is 64 bit only and doesn't support 32 bit libraries.

 

Are you saying that the host of a docker container needs to be multiarch enabled for a container to run in multiarch mode? I'm not sure what libraries in the container have to do with libraries in the host...

Link to comment

If you have a spare Windows 7 key, I'd suggest a Win7 VM with Teamviewer Host. The host version of Teamviewer only allows incoming connections, and I set it up so it only allows requests from my Teamviewer account and blacklists all others. The kicker is that after I did all the Windows updates, the "Upgrade to Win 10 for free" dialog came up, so now I have a third home computer that will be upgrading at no extra cost!

 

The Unraid VM installation guide on the wiki was easy to follow, and worked fantastically for me (good job guys!)

 

Works great on my old Q6600 with Cores #2 and #3 allocated (#0 and #1 are not allocated to the VM), 50GB image size (windows updates required ~30GB minimum), and 4GB RAM(of 8GB installed).

Link to comment

Time to give Mint VM another shot ;)

Guacamole is great for Local access... this is only for remote access (i.e. Starbucks WiFi in NY)

OpenVPN is nice, but I am really looking for RDP esque desktop for Web Unraid GUI interface.

Link to comment

Logmein is a very cool tool -> but I do not need/want direct out of network file access (no desire to be able to copy personal files to work laptop while on business trips).

 

What I really want is just to be able to access the Unraid Web Gui (with Dockers) to manager the server/docker/VMs when I am out.

 

Link to comment

Personally, I don't use it to access files, but use it as you'd like to, i.e. accessing unRAID remotely to manage the server and Dockers.  Perhaps you can give it a shot to see if it suits your needs... at least until a TeamViewer docker is created.

 

Logmein is a very cool tool -> but I do not need/want direct out of network file access (no desire to be able to copy personal files to work laptop while on business trips).

 

What I really want is just to be able to access the Unraid Web Gui (with Dockers) to manager the server/docker/VMs when I am out.

Link to comment

Time to give Mint VM another shot ;)

Guacamole is great for Local access... this is only for remote access (i.e. Starbucks WiFi in NY)

OpenVPN is nice, but I am really looking for RDP esque desktop for Web Unraid GUI interface.

Why do you need a desktop to access a web? Once you're on the network all you need is a browser. OpenVPN will let you get on the network.
Link to comment

If you trust ssh on the Internet, you could expose port 22 from your server. Then set up an ssh tunnel from some port through 22 into your server, to port 80. Then you'd hit localhost:<port> and get your unraid UI. But that requires your remote computer to have SSH installed...

Link to comment

What I did was port forward my guacamole port and they I can access my unraid box using a vm

 

 

Yes yes I took precautionary measures to ensure that no one can break in.

pfSense keeps safe or at least lies to me really well.

 

But if you going to get attack its going to happen no matter how much you prepare.

Link to comment

'pfSense keeps safe or at least lies to me really well.'  ---This cracks me up (also a pfsense/snort user)!

 

WHY I like teamviewer is because I have no need to open any ports... it uses 2048 bit RSA key exchange and 256 Bit AES session encryption on top of https.  Is it perfect? No... but gives the appearance of being far more secure than pricking a hole in my home network.

 

Anyways... I am traveling a LOT these next few weeks so I have time to ponder direction to try next (Mint/Ubuntu VM with Teamviwer for 'RDP', OpenVPN with Guacamole access for 'RDP', Logmein Hamachi for local Web UI, etc)

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...