Every time I try to start an application it says “cannot connect to X server”!
Help! How do I fix this!? I really need to be able to edit certain files as root, but now I can’t!
This is what happens:
agi@linux-gxml:~/Downloads> sudo kate
kate: cannot connect to X server
agi@linux-gxml:~/Downloads> sudo kwrite /etc/sysconfig/themes
kwrite: cannot connect to X server
agi@linux-gxml:~/Downloads>
It’s annoying me so much! How can I fix this? Other commands work.