Skip to content

Instantly share code, notes, and snippets.

@marcelrv
Created December 3, 2020 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelrv/013d721b303a60fcb4456ae20c72265c to your computer and use it in GitHub Desktop.
Save marcelrv/013d721b303a60fcb4456ae20c72265c to your computer and use it in GitHub Desktop.
VNC with default desktop on Ubuntu 20.04
https://www.teknotut.com/en/install-vnc-server-with-gnome-display-on-ubuntu-18-04/#Install_Gnome
Key:
nano ~/.vnc/xstartup
Then fill in the following code.
#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
vncconfig -iconic &
dbus-launch --exit-with-session gnome-session &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment