I've installed Debian 8 since a week, but I can not run any graphical application from console with the root user. Infact, when I run xampp (or any other program) I get the following error
root# /opt/lampp/manager-linux-x64.run No protocol specified No protocol specified Unknown Error couldn't connect to display ":0"
I've googled the error and tried any suggestion, but haven't solved the problem.
This is my Xauthority
root# echo $XAUTHORITY /root/.Xauthority
This is my DISPLAY variable
root# echo $DISPLAY :0
The strange fact is that with my user (not the root one) I don't have any problem and I can run any graphical application. The DISPLAY variable is the same of the root one:
user# echo $DISPLAY :0
I also tried the suggestions here --> Why can't I run GUI apps from 'root': “No protocol specified”?:
root# xauth + root xauth: (argv):1: unknown command "+"
and the command
doesn't have any effects