Set up teamviewer without installation in Ubuntu 20.04

In Ubuntu we can install teamviewer by downloading the deb package then use apt install to install it , also we can download the teamviewer tar file then extract it to run it directly.

1.Download teamviewer tar file using Firefox or command wget


2. Extract it using command tar or your gui file browser

tar xf teamviewer_amd64.tar.xz

3. Run teamviewer from command line or double clicking “teamviewer” in file browser

4. Probably you need to check if requried libaries been installed or not

./tv-setup checklibs

Share files between win 10 and ubuntu 20.04

This guide will show you how to share files using samba in ubuntu, in Windows 10 you can map the ubuntu share as a map drive

1.In ubuntu , open your file browser(Nautilus),right-click the folder you wanto share then select Local Network Share

2.If you don’t have samba installed , click Install service and follow the instruction to get samba installed

3.Create Share , here we enable guest access

4.In case you don’t have dns setup , you can use command “ip addr” to get your ip address of you ubuntu

5.In Windows 10 , open Run by pressing WIN+r , then type in \\ip_addr_ofubuntu , then press Enter, you should be able to access the ubuntu shared folder now

6.(Optional) Also you can map the share as a drive

Install Vnc server on ubuntu 20.04

Install xfce4 and tightvncserver

1.Install xfce4 using below command

sudo apt update;sudo apt install xfce4

2.Select a desktop manager ,here we chose ligthtdm

2.Install tight vnc server

sudo apt install tightvncserver

Setup vnc server

1.Create a test vnc session for password setup and xstartup file creation


2. kill the session created in step one because we need to modify xstartup file

vncserver -kill :1

3. Modify .vnc/xstartup from your home directory to let vnc use xfce4

j@j:~/.vnc$ cat xstartup

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work

startxfce4 &

3.Create a new vnc session using below command


Or add option -geomtry if you need bigger window

vncserver -geometry 1920x1080

Connect to vnc server from client

1.Here we are using windows 10 , download and install a Vnc viewer like

2.Connect to you vnc server via hostname:port or IpAddress:port

Enable ssh server on Ubuntu 18.04

By default Ubuntu desktop does not have ssh server enabled or installed , so we need to install openssh to get it enabled or you may get error like “Network error: Connection refused”
1.On your Ubuntu side, open a terminal by pressing Ctl+Alt+t , then run below command to install openssh-server

sudo apt-get install openssh-server

2.Optional you can check the running status of the ssh server service with below command

sudo service ssh status

The ssh server configuration file locates /etc/ssh/sshd_config in case you want to customize your ssh server configuration.

3.Now you should be able to ssh to your ubuntu machine ,good luck