Redirect SSH X display while using sudo

Need to run an application as root with X redirected:

ssh -X user@remoteserver

sudo -E command

Leave a Reply

Your email address will not be published. Required fields are marked *