#!/bin/bash
if [ ! "$1" ]
then
	echo "no URL provided" >&2
	exit 1
fi

if ! echo "$1" | grep -q '^x11_script://'
then
	echo "URL does not start with x11_script://" >&2
	exit 1
fi

exec ./run_x11
