# __ ___ _ ____
# \ \ / / \ | |/ ___|
# \ \ / /| \| | |
# \ V / | |\ | |___
# \_/ |_| \_|\____|
#
ALA, Kali Linux
At one time or another almost every system admin has had to setup a VNC server. Here is a brief and haphazard means to accomplish this. For this example we will setup a vncserver that initiated by systemd on a debian derivitive using tigervnc.
For information on how to setup the X-dummy driver for truly headless desktops, please see vnc-xdummy.
vncpassword as the user you intend to login as./etc/tigervnc/vncserver.users.~/.vnc/config with the following syntax.This was the eventually resolution chosen for setup. As it worked effortlessly, and allowed for good screen resolution and performance.
session=i3
geometry=1920x1080
localhost
alwaysshared
/etc/X11/xorg.conf.d/10-vnc.conf:Section "Module"
Load "vnc"
EndSection
Section "Screen"
Identifier "Screen0"
Option "UserPasswdVerifier" "VncAuth"
Option "PasswordFile" "/root/.vnc/passwd"
EndSection
/etc/lightdm/lightdm.confFailed to create IPV6 VNC socket errorThe full error output is: WARNING: Failed to create IPv6 VNC socket: Error binding to address 127.0.0.1:5900: Invalid argument
This error is specific to running lightdm and is a long standing bug. Lightdm appears to have fallen into disrepair and is no longer being maintained. Serveral distros have dropped support for it altogether. So, the best solution is to move onto something else.