sudox is a wrapper for sudo which can pass X authority data and deal with screen and tmux