# __ ___ _ ____
# \ \ / / \ | |/ ___|
# \ \ / /| \| | |
# \ 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.conf
Failed 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
Right now, fuck if I know. For some reason lightdm is insisting on launching Xvnc on ipv6, which should not be a problem, but appears to be.