I updated to Ubuntu 17.10. Hardware is working perfect and the only issue I found is that I try to edit files with atom like this:
sudo atom ~/Downloads/my_text_file.txt
and I get
No protocol specified
Under 16.04 I didn't have that issue. What can be the problem?
Edit: I switched to xorg as suggested and the issue persists.