Showing posts with label vncserver. Show all posts
Showing posts with label vncserver. Show all posts
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.


https://www.tightvnc.com/download.php


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.




Read More
Prime Techie

How to Install Tiger VNC server GUI in oracle cloud Linux?

 

This tutorial will see how to install a Graphical user interface for Linux and access the cloud Linux from our PC.

Connect the Linux instance using the PUTTY server and login into the terminal.

After login, We will install the required software using the Linux terminal.

First, We need to install “Server With GUI” using sudo command.

> sudo yum groups install “Server With GUI”




It might take some time to install all required packages.

We need to install tigervnc-server using sudo command once “Server With GUI” installation is completed.

>sudo yum install tigervnc-server


We need to start the vncserver after the installation is completed.

>vncserver


We need to set the password for vncserver. We will use this password to login using the vnc client on our PC.

 For the view-only password prompt, select ‘No’.

 Now vnc server is ready. In our following tutorial, we will see how to connect to this vnc server using the VNC client.

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



Read More