Sudo works only with some of my applications. For example sudo vi or sudo gedit works, but sudo atom returns an error
No protocol specified
I tried to follow steps from another stackoverflow question but:
visudo -f /etc/sudoersreturns "Permission denied".- I don't have any
.Xauthority file in$HOMEnor I have any$XAUTHORITYset.
(I am using fedora.)