Skip to content

Instantly share code, notes, and snippets.

@lotusirous
Last active September 9, 2020 01:36
Show Gist options
  • Select an option

  • Save lotusirous/92164e5a521b96150dfb4d671e833b35 to your computer and use it in GitHub Desktop.

Select an option

Save lotusirous/92164e5a521b96150dfb4d671e833b35 to your computer and use it in GitHub Desktop.

VNC server on XFCE4

Create .vnc/xstartup

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startxfce4

Start VNC server

vncserver -geometry 1440x900 -alwaysshared -dpi 96 -localhost :2

Where

  • :2 is the suffix port. The listen port is 5902 (:2 = 5902)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment