I am trying to start firefox from terminal using this command sudo /usr/bin/firefox. The problem is that it won't open firefox returning me this error:
mkdir: cannot create directory '/run/user/0': Permission denied
Authorization required, but no authorization protocol specified
Error: cannot open display: :0
Does anyone know how I can fix this? Thank you.