I just set up a Ubuntu VM1 and I explanded the desktop to cover two monitors. This might be the problem I am having with the editor. When I type 'sudo gedit" I get this error and no editor comes up.https://us.v-cdn.net/6030874/uploads/editor/u4/obt2bdixrsdk.png
After I gave my password, it has this strage error "Authorization requried, but no authorization protocol specified"
I do not now what this means and in a previous virtual machine with Ubuntu, this never happened before.
Add:Defaults env_keep+="DISPLAY"
to the /etc/sudoers (via visudo)
will work.
Also , you can try to use:
gksudo gedit
sudo nano probewill relieve your grieve. Ever.