recently I had deactivated lightdm since I don't want the Desktop Environment running and consuming RAM.
To accomplish that I had override the lightdm by creating the file:
#echo "manual" >/etc/init/lightdm.override
I would like to open some applications like firefox... and writter and other!.. But it keeps giving an error:
Error: can't open display: localhost:0.0
can anyone help? tkx in advance