|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Start your journey to the next level of network computing
By combining NoMachine software with Google Cloud Platform (GCP) infrastructure, you can jumpstart your own remote access and desktop delivery solution for employees, partners and customers alike. Or if it's just for your own use, by installing NoMachine you can get remote access to your own personal desktop hosted in GCP and get the same benefits as you would as if the physical hardware was really yours. Google Cloud Platform is the Google's cloud-computing service. It provides resizable compute capacity in the cloud, suitable for any organization or individual which needs flexible cloud hosting services. Virtual hosts can be fired up on many OS’s and configurations according to specific needs. This particular tutorial will concentrate on the Linux desktop.
Fig. 1 - Go to https://cloud.google.com/gcp/
Fig. 2 - Click on "VM instances"
Fig. 3 - Once you've chosen the VM type, click on "Create instance" to proceed to create the new VM
Fig. 4 - Copy your SSH public key into the 'Enter entire key data' field if you want to use your own SSH key for this VM instance only
Fig. 5 - Your VM is almost ready
Fig. 6 - Connecting to the VM by SSH and key-based authentication
Fig. 7 - Connected to the Virtual Machine
sudo apt-get update
Then run:
sudo apt-get upgrade -y
Create the nomachine user (also set a password):
sudo adduser nomachine
Install a desktop environment to provide a graphical interface on it:
sudo apt-get install ubuntu-desktop
Configure the system SSHD on the VM to enable password-based authentication.
Edit /etc/ssh/sshd_config by changing "PasswordAuthentication" line from "No" to "Yes".
Save changes.
Go back to the GCP Dashboard, stop and start your VM.
Wait until it reboots (Fig. 8).
Fig. 8 - Stop and then start the Virtual Machine
Fig. 9 - SCP the NoMachine package to the Virtual Machine
sudo dpkg -i nomachine_6.3.6_1.amd64.deb
Fig. 10 - Select NX as protocol and insert the the IP of the VM hosted on GCP
Fig. 11 - Check that authentication is 'Password' and click 'Connect'
Fig. 12 - Provide username and password to log-in to the GCP's VM
Fig. 13 - NoMachine Welcome panel
Fig. 14 - You're in!
Free for personal use