I am trying to get permission access to get root access for copying files to root directory using Graphical user interface. I have tried

gksudo nautilus

but I got an error

(gksudo:5334): Gtk-WARNING **: cannot open display:

I have also tried

export DISPLAY=:1

but I got the same error ...I am using ubuntu 17.10. Kindly help me out. Thanks

marked as duplicate by Zanna, steeldriver, user68186, Community Mar 28 '18 at 14:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • great :) glad it helped. – Zanna Mar 28 '18 at 14:58