Skip to content

Instantly share code, notes, and snippets.

@pwang2
Created November 6, 2019 23:05
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 pwang2/75e16bb64a6ab9161a34bae99a8a9e31 to your computer and use it in GitHub Desktop.
Save pwang2/75e16bb64a6ab9161a34bae99a8a9e31 to your computer and use it in GitHub Desktop.
[Desktop Entry]
Exec=bash -c "PID=$(lsof -ti:5901) && [ ! -z $PID ] && kill -9 $PID; ssh -fN -p 2930 -L 5901:localhost:5901 pwang2@65.52.0.118 && /usr/bin/xtigervncviewer -SecurityTypes None :1"
Name=wx
GenericName=Wechat on VNC
Icon=terminal
Terminal=false
Type=Application
Categories=Utilities;Application;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment