I need help with the vnc.
root@kali:/# vncserver :1 -geometry 1920x1080 && echo "Closing terminal in 5 secs" && sleep 5 && exit
New 'localhost:1 (root)' desktop at :1 on machine localhost
Starting applications specified in /root/.vnc/Xvnc-session
Log file is /root/.vnc/localhost:1.log

Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :1 to connect to the VNC server.


vncserver: Failed command '/root/.vnc/Xvnc-session': 256!
=================== tail -15 /root/.vnc/localhost:1.log ===================
Sat Apr 18 16:00:33 2020
vncext: VNC extension running! vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0
/system/bin/sh: <stdin>[1]: /etc/X11/Xsession: can't execute: Permission denied
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error: Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server

Sat Apr 18 16:00:34 2020
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:nan ratio)
X connection to :1 broken (explicit kill or server shutdown).
Killing Xtigervnc process ID 29066... which seems to be deadlocked. Using SIGKILL!

================================================== =========================

Starting applications specified in /root/.vnc/Xvnc-session has failed.
Maybe try something simple first, e.g.,
tigervncserver -xstartup /usr/bin/xterm
root@kali:/#