I've installed 17.10 , php7 and apache2 via apt. I'm not able to edit the apache files to use an specific directory to use the files. I've tried
sudo gedit /etc/apache2/apache2.conf
but it returned:
No protocol specified
Unable to init server: No se pudo conectar: Conexión rehusada
(gedit:2064): Gtk-WARNING **: cannot open display: :0
I've also tried using sudo -s
and the command.