Originally Posted by danritter
When I go to the console and use the su command to get root access I can't run any x windows programs. For example.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
konqueror: cannot connect to X server :0.0
I understand the problem is that root console doesn't have permission to access x-org. So how do I give it permission? And does anyone know why ubuntu or kubuntu doesn't have this automatically configured? I've used a large number of distributions and I think this is the first time I've run into this problem.
Try with this in your /root/.bashrc.
## allows me to run X program as root