Created
December 3, 2020 09:38
-
-
Save marcelrv/013d721b303a60fcb4456ae20c72265c to your computer and use it in GitHub Desktop.
VNC with default desktop on Ubuntu 20.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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