Fix an error when running X or dbus applications inside tmux

Signed-off-by: Rodrigo Belem <rodrigo.belem@gmail.com>