Based on the prompt, it looks as though you're running your xterm as root, or you've su'd to root. If either is the case, you either need to allow root to access your desktop, or you need to run it from the shell using your own credentials.
To put it more simply: it's a security thing protecting your desktop from other users. Remember: the *nix security philosophy stems from its multiuser heritage, and the approach that most distributions take is paranoia - lock everything down securely out of the box.
|