I have installed sublime text 3 using official website docs. I can launch it from searching and clicking on sublime icon as well as from terminal just by typing subl. But nothing is working when I type
> sudo subl [some file name]
No error nothing is being displayed. How to resolve this? I have ubuntu 17.10
I am trying
> gksudo subl ~/.bashrc
Unable to copy user's Xauthrisation file