Installing the required packages. The server package is called ‘vnc-server’.
Configuring un-encrypted VNC. We will be setting up VNC for 3 users.
VNC encrypted through an ssh tunnel.
Recovery from a logout ( Not implemented for CentOS 6 ) If you logout of your desktop manager,it is gone!
Remote login with vnc-ltsp-config.
How to run VNC server?
On the the system you want to run vnc-server,install vnc-server as noted above.
Edit/etc/X11/xorg.conf,as root,and add/create a ‘Module’ Section and add ‘Load “vnc”‘: Section “Module” Load “vnc” EndSection
For standard vnc authentication,edit/etc/X11/xorg.conf,as root,and add to the ‘Screen’ Section: Option “SecurityTypes” “VncAuth” Option “UserPasswdVerifier” “VncAuth” Option “PasswordFile” “/root/.vnc/passwd”
As root,run ‘vncpasswd” to create the password noted above.
Restart X11 (<Ctrl>+<Alt>+<BS> will work if on the console already)
You should be able to connect with a vncviewer client as normal.
To trouble shoot,check for errors in the/var/log/Xorg.0.log or verify that iptables or selinux is not interfering with remote connections. Additional information is at http://www.realvnc.com/products/free/4.1/x0.html
How to enable VNC server on Raspberry Pi?
– On your Raspberry Pi, boot into the graphical desktop. – Select Menu › Preferences › Raspberry Pi Configuration › Interfaces. – Ensure VNC is Enabled.
How to install Debian 10?
Download the appropriate iso image according to your processor architecture from the following location,https://www.debian.org/distrib/netinst
Burn the iso image on a bootable CD/DVD or write it to an USB stick and insert it into your computer.