How To Install and Access TightVNC Remote Desktop In Linux?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-install-and-access-tightvnc-remote-desktop-in-linux/
PINTEREST
PINTEREST
INSTAGRAM

TightVNC is very handy remote desktop application which is based VNC protocol. TightVNC is mostly used for Linux systems in order to manage with remote desktop environment with GUI. In this tutorial we will look how to install and configure properly to run desktop environments like KDE, GNOME, XFCE etc. with TigthVNC.

Install

Ubuntu, Debian, Mint, Kali

We can use following command to install deb based distributions.

Ubuntu, Debian, Mint, Kali
Ubuntu, Debian, Mint, Kali

CentOS, Fedora, RHEL

We can use following command to install rpm based distributions.

Create VNC Session

Now we need to specify a desktop environment for our VNC session. Actually we have not create a VNC sessions yet but we will create a new one to create default configuration files. We run following command by providing password for the VNC session.

Create VNC Session
Create VNC Session

xstartup Configuration File

All VNC Server related configuration is hold in a file named xstartup which is located in users home directory .vnc folder. Lets print defualt configuration.

$ cat .vnc/xstartup

xstartup Configuration File
xstartup Configuration File

Set Desktop Environment For KDE

In order to enable KDE desktop environment with a new VNC session we need to add following line to the xstartup file.

Set Desktop Environment For GNOME

In order to enable GNOME desktop environment with a new VNC session we need to add following line to the xstartup file.

Set Desktop Environment For XFCE

In order to enable GNOME desktop environment with a new VNC session we need to add following line to the xstartup file.

LEARN MORE  Virt Install Tool For Virtualization With KVM and Qemu For Linux

Set Desktop Environment For LXDE

In order to enable GNOME desktop environment with a new VNC session we need to add following line to the xstartup file.

Kill VNC Server or Session

As we have started a VNC server or session to create default configuration files. We need to kill it we can kill VNC server with the -k option and the session ID. In this example we will kill session ID 1 .

Kill VNC Server or Session
Kill VNC Server or Session

Start Server or Session

Now we can start a new server with the vncserver  command where the default configured desktop will be fire-up.

Connect with VNC Client

VNC servers starts with port number 5900 and counts one by one with the session ID. For example if we have given session ID 3 the port number will be configured as 5903 . We can connect with a VNC client which is explained in the following tutorial in detail.

Best VNC Viewer Clients For Linux

Connect with VNC Client
Connect with VNC Client

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/how-to-install-and-access-tightvnc-remote-desktop-in-linux/
PINTEREST
PINTEREST
INSTAGRAM