Skip to content

Instantly share code, notes, and snippets.

@Conobi
Last active August 26, 2017 10:21
Show Gist options
  • Save Conobi/901c1e77fa21a037ab2dbd5c724d3a80 to your computer and use it in GitHub Desktop.
Save Conobi/901c1e77fa21a037ab2dbd5c724d3a80 to your computer and use it in GitHub Desktop.
sudo apt update;
sudo apt install vino miniupnpc;
upnpc -a `ifconfig wlan0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 5900 5900 TCP;
upnpc -a `ifconfig enp3s0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 5900 5900 TCP;
upnpc -a `ifconfig wlan0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 5900 5900 UDP;
upnpc -a `ifconfig enp3s0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 5900 5900 UDP;
DISPLAY=:0 /usr/lib/vino/vino-server &&
sudo eopkg ur;
sudo eopkg it vino miniupnpc;
upnpc -a `ifconfig wlan0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 5900 5900 TCP;
upnpc -a `ifconfig enp3s0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 5900 5900 TCP;
upnpc -a `ifconfig wlan0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 5900 5900 UDP;
upnpc -a `ifconfig enp3s0 | grep "inet addr" | cut -d : -f 2 | cut -d " " -f 1` 5900 5900 UDP;
DISPLAY=:0 /usr/lib/vino/vino-server &&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment