Possible Duplicate:What process created this X11 window? Recently I've been bugged by a mysterious invisible window in X on my Ubuntu machine.It takes the form of an always-top-most window with absolutely nothing showing; no window border, no content, no nothing. That means that entire area of the screen is now unusable with any pointer, since the window captures all events in it's context - I can't even click on the desktop in that area !As you might have guess this is rather annoying, and I want to get rid of it permanently.However, running xwininfo on it gives the following:xwininfo: Window id: 0x1601b9f (has no name)[...]Map State: IsViewableOverride Redirect State: yesCorners:  +395+315  -383+315  -383-263  +395-263-geometry 502x222+395+315So, I've got an ID, but no name. This fortunately means I can kill it with xkill, but unfortunately means I have no idea what created it.So what I'm looking for is some advice or help finding a way to identify the root and cause of this window.Any suggestions ?
Find creator of resource in X
linux;ubuntu;xorg
Capture the output of ps -eo pid,cmd to a file, then kill the offending window, repeat the ps, and see what changed:ps -eo pid,cmd >/tmp/ps1ID=`xwininfo | grep -oP 0x[0-9a-fA-F]{4,8} `; xkill -id $IDps -eo pid,cmd >/tmp/ps2diff /tmp/ps{1,2}Kind of a brute-force method, but it should work.