Prime Techie

How to access oracle Linux GUI through TigerVNC/TightVNC viewer

In this tutorial, We will see how to access the Oracle cloud Linux GUI through TightVNC Server.

We have a private key(.ppk) created during the Putty key generation process.

We need to make an SSH connection between our local PC and remote Linux server.

To create an SSH connection, we need to convert the .ppk key to the OpenSSH key.

If we use the private key directly, we will get the 'Invalid format' error.

Follow the below steps to convert the PPK to the OpenSSH key.

Open the PUTTY Key generator and load the private key.

Enter the passphrase.

Go to conversions and click 'Export OpenSSH key.'

Save the key in the drive.

I have kept the key in D: Drive.

If we keep the key in D: drive, we will get the "Permissions for the key is too open" error.

That's because D: drive is accessible to everyone. So, we are getting this error.

So, copy the file to C:/users/<our user name> folder.

Now Open the command prompt and enter the following command.

> C:\Users\HP>ssh -L 5901:localhost:5901 opc@<remote_linux_server_ip> -i VNC_GUI_KEY

Enter the passphrase we have created during the Putty key generator process.

Linux server is connected now.

We need to install the TightVNC viewer desktop application for windows. Install it from the below link.

Open TightVNC application after the installation.

Enter the URL as 'localhost:5901'.

While installing the VNC server in Linux, we have created the password. 

Use that password. (Refer to the previous post for this)

Now oracle Linux GUI is connected remotely.

Please click and subscribe to the below channel to see this tutorial in video format.

Subscribe to this Blog via Email :