Hi Julien, On 21/02/13 15:16, Julien Cristau wrote: > On Thu, Feb 21, 2013 at 00:45:04 +0000, Steven Chamberlain wrote: >> That's odd... I don't notice any such glitch with at least kcalc, kate, >> qsynth - with xorg-server/2:1.12.4-4 and qt4-x11/4:4.8.2+dfsg-11 on >> kfreebsd-amd64 (9.0, wheezy/sid not fully up-to-date). I'm using the >> Xtightvnc server if that's relevant. >> > Does Xtightvnc expose MIT-SHM? xdpyinfo would tell you.
The list of extensions seems quite short, but yes MIT-SHM is mentioned (full output attached). I'll see about trying to start X 'conventionally' on that machine sometime, to compare. Can't do that until after a reboot though (it's in securelevel=1 so X/vesa can't use /dev/io currently). >> On 20/02/13 22:18, Sune Vuorela wrote: >>> The fix is surprisingly in xorg-server and can be found here: >>> http://people.debian.org/~jcristau/kbsd-peercred.diff > On Linux, the SO_PEERCRED socket option gives that information. On > FreeBSD, there's a getpeereid() libc call. GNU/Hurd has neither of these, so maybe this patch has some benefit there too? (Cc'ing debian-hurd@ because someone with such a system may want to test this patch on it.) NetBSD doesn't support these methods either, so maybe it is affected somehow. Thanks again for your work, Regards, -- Steven Chamberlain ste...@pyro.eu.org
$ xdpyinfo name of display: :1.0 version number: 11.0 vendor string: AT&T Laboratories Cambridge vendor release number: 3332 maximum request size: 4194300 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, LSBFirst, 32 image byte order: LSBFirst number of supported pixmap formats: 2 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 255 focus: window 0x2800009, revert to Parent number of extensions: 7 BIG-REQUESTS MIT-SHM MIT-SUNDRY-NONSTANDARD SHAPE SYNC XC-MISC XTEST default screen number: 0 number of screens: 1 screen #0: dimensions: 1024x768 pixels (347x260 millimeters) resolution: 75x75 dots per inch depths (1): 24 root window id: 0x25 depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x21 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store YES, save-unders YES largest cursor: 1024x768 current input event mask: 0x7a802f KeyPressMask KeyReleaseMask ButtonPressMask ButtonReleaseMask LeaveWindowMask ExposureMask StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask PropertyChangeMask number of visuals: 1 default visual id: 0x22 visual: visual id: 0x22 class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff0000, 0xff00, 0xff significant bits in color specification: 8 bits