I have just installed stable (jessie) on a machine that used to run Kubuntu.
This machine is mostly accessed remotely, using ssh.

If I log in as a normal user over ssh, I can run X programs fine. (For
example, typing "xterm" brings up the expected terminal.)

However, if I execute "sudo xterm", then I receive the message:

----

n7dr@shack:~$ sudo xterm
X11 connection rejected because of wrong authentication.

----

What is wrong and how do I fix it so that I can run graphical programs across
the network using sudo?

I'm sure it's just a simple configuration issue, but my google-fu seems to be
lacking today.

(FWIW, the ~/.Xauthority file for the superuser and for the ordinary user are
identical.)

  Doc

-- 
Web:  http://www.sff.net/people/N7DR

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to