Skip to content

Instantly share code, notes, and snippets.

@tmbdev
Created February 9, 2015 18:42
Show Gist options
  • Save tmbdev/ffc3b66f45f5a67057e4 to your computer and use it in GitHub Desktop.
Save tmbdev/ffc3b66f45f5a67057e4 to your computer and use it in GitHub Desktop.
# This goes into ~/.vnc/xstartup
# You need packages: tightvncserver, xtightvncviewer, and icewm
# Start Server: tightvncviewer -geometry 1440x900 :1
# Set Password: vncpasswd
# Start Viewer: xtightvncviewer :1
# Start Viewer (ssh): xtightvncviewer -encodings tight -via host.with.vnc.server localhost:1
# make this file executable
# these help with Emacs
xmodmap -e 'keysym Alt_L = Meta_L'
xmodmap -e 'keysym Alt_R = Meta_R'
xmodmap -e 'clear Mod1'
xmodmap -e 'add Mod1 = Meta_L Meta_R'
# simple background speeds up drawing
(sleep 1; xsetroot -solid '#225') &
icewm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment