For the VNC Server we will be using tightVNC.
# apt install tightvncserver
Initial setup and starting VNC server
vncserver
You will have to enter a password
Optionally, a view-only password can be created as well.
Kill VNC server
vncserver -kill :1
Edit the xstartup
file in .vnc
to your liking.
Example with xfce
#!/bin/sh
xrdb $HOME/.Xresources
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADRESS
exec startxfce4
vncpasswd
You can also add a view-only password
Install tightVNC to get a VNC Client and also a VNC Server in one package for windows.
The server will be started automatically.
One important setting is Require VNC authentication
, which allows you to define a password for viewing and interacting with the remote pc.
Install Remmina with libvncserver to get client functionality.
# pacman -S remmina libvncserver
Install tightVNC to get a VNC Client and also a VNC Server in one package for windows.