![use vnc through ssh tunnel use vnc through ssh tunnel](https://think.unblog.ch/wp-content/uploads/2018/10/KiTTY-Configuration-SSH-Tunnel-2.png)
Confirm that the vncserver will start and stop cleanly.Įdit /etc/sysconfig/vncservers, and add the following to the end of the file.You will perform the following steps to configure your VNC server: These will be 'larry', 'moe', and 'curly' If you are running CentOS 6, the server is: tigervnc-server not: vnc-server If you are running CentOS 5, yum groupinstall "GNOME Desktop Environment" may complain about a missing libgaim.so.0. If you are running CentOS 6, the command is yum groupinstall Desktop If you are a minimalist, or simply testing, however, it is sufficient to have yum install a simple XTERM client: yum install xterm
![use vnc through ssh tunnel use vnc through ssh tunnel](https://call155.files.wordpress.com/2013/03/ssh_ssh.png)
XFCE is more light-weight than Gnome or KDE and available from the "extras" repository. Other popular desktop environments are "KDE" and "XFCE-4.4". You can use the command yum groupinstall "GNOME Desktop Environment" to install the Gnome Desktop and requirements, for example. Make sure to install a window manager in order to get a full-featured GUI desktop. You can use the command: yum install vnc to install the client if: rpm -q vnc shows that it is not already installed. If the server is not installed, install it with the command: yum install vnc-server The result will be either package vnc-server is not installed or something like 4. The server package is called 'vnc-server'.
Use vnc through ssh tunnel how to#
This HOWTO shows you how to configure VNC using the 'vncserver' service as supplied by CentOS.
![use vnc through ssh tunnel use vnc through ssh tunnel](http://3.bp.blogspot.com/-5HEalCVDteY/UFGYeuJNfdI/AAAAAAAABP4/2bFNNOi9o6k/s1600/7.png)
There are several ways to configure the vnc server. Your workstation ( Linux or Windows ) is only displaying a copy of the display ( real or virtual ) that is running on the remote machine. Unlike a remote X connection, the xserver is running on the remote computer, not on your local workstation. VNC is used to display an X windows session running on another computer.