Skip to content

How to install Ubuntu 18.04 (desktop environment) with teamviewer remote access

License

Notifications You must be signed in to change notification settings

teddybugs/teamviewerongooglecloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Google Cloud VM: How to install Ubuntu 18.04 (desktop environment) with teamviewer remote access

  1. Login to your google cloud console
  2. Click on Resources - Computer Engine
  3. Click on Create Instance
  4. Click on SSH button to remote into the ubuntu instance
  5. change the default user password by typing :
sudo passwd username (your username)

(we will need password to login to GUI later)

  1. type:
sudo su -

to become root

  1. change the root user password as well type:
passwd
  1. enable password for SSH login by edit the file: (not sure if this needed, but i just do that)
nano /etc/ssh/sshd_config

change PasswordAuthentication no
to PasswordAuthentication yes
add: PermitRootLogin yes

service ssh restart
  1. type following command 1 by 1:
apt update
apt-get upgrade
apt-get install ubuntu-desktop ( require some time, please wait )
apt-get install xserver-xorg-video-dummy
  1. edit the xorg conf:
nano /etc/X11/xorg.conf

add following:

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "dummy"
EndSection
Section "Monitor"
    Identifier  "Configured Monitor"
    HorizSync 31.5-48.5
    VertRefresh 50-70
EndSection
Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1600x900"
    EndSubSection
EndSection
  1. reboot the server:
reboot
  1. login as root again using:
sudo su -
  1. install teamviewer:
apt install gdebi -y
cd /tmp
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
gdebi teamviewer_amd64.deb
teamviewer license accept
teamviewer daemon enable
teamviewer daemon start
teamviewer passwd thenewpassword
teamviewer info

on the teamviewer info you should able to get the teamviewer ID and password use the password you set above.

View Recorded video at:

Ubuntu

Enjoy, dont forget to Like my video on Youtube :))

About

How to install Ubuntu 18.04 (desktop environment) with teamviewer remote access

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published