
Providing a view-only password is optional.

#Ssh linux mac os x 5901 install
$ sudo apt install tightvncserver Complete the initial configuration and provide the setup password: $ vncserver
#Ssh linux mac os x 5901 update
Update list of packages: $ sudo apt update Install Xfce Desktop environment and wait for the installation to complete: $ sudo apt install xfce4 xfce4-goodies Install the VNC Server: Xfce is a free and open-source desktop environment for Unix and Unix like Operating Systems. We now need to install the required packages like Xfce desktop environment and VNC Server which are not bundled in the Ubuntu OS by default. Enter the password you’re prompted for to complete the Login as SSH. ssh just need to replace the your_user_name and IP_Address parts in the above command. Use the Connect menu of your VM and copy the SSH command to run in the Cloud shell. You can use the Cloud shell to connect to your VM using the non-root username and password to your machine via SSH. To spin up a new Linux VM, you can check out this post. Also, you’ll need a vnc client like RealVNC or you can also use the screen-sharing client available on your Mac.įirst you need to login to your Linux VM as a non-root user which you’ve created while setting up the VM.

Currently I’ve setup the Ubuntu Server 18.04 LTS from the Azure marketplace and I’m trying to access it via VNC Server setup on the Linux machine.
