Skip to content

Instantly share code, notes, and snippets.

@jettero
jettero / .chrome-remote-desktop-session
Last active February 4, 2016 07:27
Chrome Remote Desktop, actual remote desktop instead of a remote X session
#!/bin/bash
ACTUAL_DISPLAY=:0
NUM=$(echo $DISPLAY | sed s/://)
PORT="55$NUM"
TARGET=127.0.0.1:$PORT
function killthemall() {
echo;echo "-----------------:= $(date) killing all running vncviewers and x11vncs"
for tokill in x11vnc vncviewer; do