So without xhost you get

  XOpenDisplay(NULL)                               = NULL

This is usually what happens if you do

  DISPLAY= ltrace xdpyinfo

However, $DISPLAY is correct here. Can you test whether "xauth list" and
"sudo xauth list" show the same values, or if the ones from sudo xauth
are missing?

-- 
X applications won't run under sudo
https://bugs.launchpad.net/bugs/370607
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to