Skip to content

Instantly share code, notes, and snippets.

@mahradbt
Last active March 30, 2023 15:44
Show Gist options
  • Save mahradbt/3b0ab0f20f676434dcc96c1481b3f22a to your computer and use it in GitHub Desktop.
Save mahradbt/3b0ab0f20f676434dcc96c1481b3f22a to your computer and use it in GitHub Desktop.
vnc server kali

install: apt install tightvncserver xtightvncviewer

edit xstartup file located on $HOME/.vnc/xstartup

#!/bin/sh
def
export XKLXMODMAPDISABLE=1
unset SESSIONMANAGER
unset DBUSSESSIONBUSADDRESS
gnome-panel &
gnome-terminal &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &

run vncserver with this command:

vncserver -localhost no -wmDecoration 1366x768 sometimes -localhost no is not necessery

@unablem
Copy link

unablem commented Mar 11, 2021

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment