install tmate or anydesk ( teamviewer alternative ) [debian, ubuntu]

tmate (only for sharing terminal):
based on:
https://linuxundich.de/gnu-linux/tmate-der-teamviewer-fuer-das-terminal/
https://github.com/tmate-io/tmate/releases

for tmate 64bit:
wget https://github.com/tmate-io/tmate/releases/download/2.2.1/tmate-2.2.1-static-linux-amd64.tar.gz
tar xzf tmate-*amd64.tar.gz
cd tmate-*
./tmate

for tmate 32bit:
wget https://github.com/tmate-io/tmate/releases/download/2.2.1/tmate-2.2.1-static-linux-i386.tar.gz
tar xzf tmate-*i386.tar.gz
cd tmate-*
./tmate

anydesk (sharing screen):
based on:
http://anydesk.com/platforms

check if you are using 32 or 64 bit:
uname -m #shows your bit version

list all autostarted programs:
cd /etc/xdg/autostart/ && ls

if you have 64 bit:
get the deb file and install it:
#wget http://download.anydesk.com/linux/anydesk_2.3.6-1_amd64.deb
#wget http://download.anydesk.com/linux/anydesk_2.5.0-1_amd64.deb
#wget https://download.anydesk.com/linux/anydesk_2.6.1-1_amd64.deb
#wget https://download.anydesk.com/linux/anydesk_2.7.1-1_amd64.deb
#wget https://download.anydesk.com/linux/anydesk_2.9.1-1_amd64.deb

wget https://download.anydesk.com/linux/anydesk_2.9.3-1_amd64.deb
sudo dpkg -i anydesk_*.deb
rm anydesk_*.deb

if you have 32 bit:
get the deb file and install it:
#wget http://download.anydesk.com/linux/anydesk_2.3.6-1_i386.deb
#wget http://download.anydesk.com/linux/anydesk_2.5.0-1_i386.deb
#wget https://download.anydesk.com/linux/anydesk_2.6.1-1_i386.deb
#wget https://download.anydesk.com/linux/anydesk_2.7.1-1_i386.deb
#wget https://download.anydesk.com/linux/anydesk_2.9.1-1_i386.deb

wget https://download.anydesk.com/linux/anydesk_2.9.3-1_i386.deb
sudo dpkg -i anydesk_*.deb
rm anydesk_*.deb

if you got dependencies problems run:
sudo apt-get install -f

sometimes the progam does not show in list so simply reboot or start it from terminal:
anydesk

if you do want not autostart anydesk in gnome:
based on:
http://support.anydesk.com/forums/251923-general/suggestions/10908474-autostart-linux-kde

simply run in terminal:
sudo rm /etc/xdg/autostart/anydesk.desktop

enable anydesk in ufw firewall:
sudo gufw
add:
Allow,In,TCP,7070
Allow,Out,TCP,7070

to remove anydesk:
sudo apt purge anydesk

install anydesk on android:
https://play.google.com/store/apps/details?id=com.anydesk.anydeskandroid

install teamviewer on raspberrypi:
based on: https://www.raspiprojekt.de/machen/basics/software/177-teamviewer-host-installieren.html

wget https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb
sudo dpkg -i teamviewer-host_armhf.deb
sudo apt-get install -f

remove teamviewer:
cd /etc/apt/sources.list.d
sudo rm teamviewer.list

cd /var/lib/apt/lists/partial
sudo rm -r linux.teamviewer.com_deb_dists_*

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s