Redirect SSH X display while using sudo Need to run an application as root with X redirected: ssh -X user@remoteserver sudo -E command