Skip to content

Instantly share code, notes, and snippets.

@thegreatestminer thegreatestminer/
Last active Sep 5, 2019

What would you like to do?
vnc for colab, assumes you already tunneled SSH, because having a command run for 3 minutes is unethical
apt update
apt install xfce4 xfce4-goodies tightvncserver firefox
echo "#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
exec /usr/bin/startxfce4 &" >> xstartup
mkdir $HOME/.vnc
mv xstartup $HOME/.vnc/
chmod +x $HOME/.vnc/xstartup
vncserver -geometry 1280x720 -httpport 5901
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.