Hi. With recent Cygwin the problem became harder to reproduce: it only works once. On subsequent launches of VirtualBox the extra window appears in the taskbar for about a second and then closes. You have to restart X server to see the bug again.
In the meantime I installed xwininfo. Beside "xwinclip" it shows 3 or 2 children of the root window. xwininfo: Window id: 0x61 (the root window) (has no name) Root window id: 0x61 (the root window) (has no name) Parent window id: 0x0 (none) 4 children: 0x80000b "Oracle VM VirtualBox Manager": ("VirtualBox" "VirtualBox") 770x550+8+30 +8+30 0x800002 "VirtualBox": ("VirtualBox" "VirtualBox") 1366x768+0+0 +0+0 0x800004 (has no name): () 1x1+0+0 +0+0 0x600001 "xwinclip": () 500x500+1+1 +1+1 Closing the window with right click on taskbar does not change the number of windows, just changes Map State of "VirtualBox" from IsViewable to IsUnMapped. On second run there's no "VirtualBox" at all. I think it's the one that disappears quickly. Could it be some signed/unsigned thing with window id counter in the X server? 30.03.2016 16:18, Jon Turney пишет: > On 27/03/2016 19:34, Basin Ilya wrote: >> I often use X11 forwarding to run Linux programs with GUI. Recently >> I upgraded from vbox 4 to version >> VirtualBox-5.0-5.0.16_105871_el6-1.x86_64. (My Linux host is >> headless Rhel 6.7 Server with xorg-x11-xauth package installed) >> >> I noticed that when I type "VirtualBox" in shell and then close >> its window the process remains running. Then I noticed that there's >> another hidden window in taskbar. I have to press Ctrl-C or close >> the second window to end the process. >> >> This only happens when I connect from Windows and use cygwin xwin >> server (but not xming or Linux client) >> >> The visible window is captioned "Oracle VM VirtualBox >> Manager@hostname" and the hidden one is captioned >> "VirtualBox@hostname" >> >> It's not really hidden. There's a white pixel at the top-left edge >> of my second monitor > > Thanks for reporting this. > > I tried to reproduce this issue with that VirtualBox RPM on a Centos > 6.7 VM, without success. > > It's not unusual for X clients to create 1x1 pixel windows which > only exist to receive events, but such windows are usually hidden by > making them InputOnly. > > You could possibly explore this a bit using xwininfo, to determine > if this is a bug with VirtualBox (where the window isn't being > correctly marked as hidden) or XWin (where the window is being show, > desipte the fact it should be hidden) >
xwininfo: Window id: 0x61 (the root window) (has no name) Root window id: 0x61 (the root window) (has no name) Parent window id: 0x0 (none) 4 children: 0x800002 "VirtualBox": ("VirtualBox" "VirtualBox") 1366x768+0+0 +0+0 0x80000b "Oracle VM VirtualBox Manager": ("VirtualBox" "VirtualBox") 770x550+8+30 +8+30 0x800004 (has no name): () 1x1+0+0 +0+0 0x600001 "xwinclip": () 500x500+1+1 +1+1 xwininfo: Window id: 0x600001 "xwinclip" Absolute upper-left X: 1 Absolute upper-left Y: 1 Relative upper-left X: 1 Relative upper-left Y: 1 Width: 500 Height: 500 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsUnMapped Override Redirect State: no Corners: +1+1 -865+1 -865-267 +1-267 -geometry 500x500+1+1 xwininfo: Window id: 0x800002 "VirtualBox" Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1366 Height: 768 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsUnMapped Override Redirect State: no Corners: +0+0 -0+0 -0-0 +0-0 -geometry 1366x768+0+0 xwininfo: Window id: 0x800004 (has no name) Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1 Height: 1 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsUnMapped Override Redirect State: no Corners: +0+0 -1365+0 -1365-767 +0-767 -geometry 1x1+0+0 xwininfo: Window id: 0x80000b "Oracle VM VirtualBox Manager" Absolute upper-left X: 8 Absolute upper-left Y: 30 Relative upper-left X: 8 Relative upper-left Y: 30 Width: 770 Height: 550 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +8+30 -588+30 -588-188 +8-188 -geometry 770x550+8+30
xwininfo: Window id: 0x61 (the root window) (has no name) Root window id: 0x61 (the root window) (has no name) Parent window id: 0x0 (none) 4 children: 0x80000b "Oracle VM VirtualBox Manager": ("VirtualBox" "VirtualBox") 770x550+8+30 +8+30 0x800002 "VirtualBox": ("VirtualBox" "VirtualBox") 1366x768+0+0 +0+0 0x800004 (has no name): () 1x1+0+0 +0+0 0x600001 "xwinclip": () 500x500+1+1 +1+1 xwininfo: Window id: 0x600001 "xwinclip" Absolute upper-left X: 1 Absolute upper-left Y: 1 Relative upper-left X: 1 Relative upper-left Y: 1 Width: 500 Height: 500 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsUnMapped Override Redirect State: no Corners: +1+1 -865+1 -865-267 +1-267 -geometry 500x500+1+1 xwininfo: Window id: 0x800002 "VirtualBox" Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1366 Height: 768 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +0+0 -0+0 -0-0 +0-0 -geometry 1366x768+0+0 xwininfo: Window id: 0x800004 (has no name) Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1 Height: 1 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsUnMapped Override Redirect State: no Corners: +0+0 -1365+0 -1365-767 +0-767 -geometry 1x1+0+0 xwininfo: Window id: 0x80000b "Oracle VM VirtualBox Manager" Absolute upper-left X: 8 Absolute upper-left Y: 30 Relative upper-left X: 8 Relative upper-left Y: 30 Width: 770 Height: 550 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +8+30 -588+30 -588-188 +8-188 -geometry 770x550+8+30
xwininfo: Window id: 0x61 (the root window) (has no name) Root window id: 0x61 (the root window) (has no name) Parent window id: 0x0 (none) 3 children: 0x80000b "Oracle VM VirtualBox Manager": ("VirtualBox" "VirtualBox") 770x550+8+30 +8+30 0x800004 (has no name): () 1x1+0+0 +0+0 0x600001 "xwinclip": () 500x500+1+1 +1+1 xwininfo: Window id: 0x600001 "xwinclip" Absolute upper-left X: 1 Absolute upper-left Y: 1 Relative upper-left X: 1 Relative upper-left Y: 1 Width: 500 Height: 500 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsUnMapped Override Redirect State: no Corners: +1+1 -865+1 -865-267 +1-267 -geometry 500x500+1+1 xwininfo: Window id: 0x800004 (has no name) Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1 Height: 1 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsUnMapped Override Redirect State: no Corners: +0+0 -1365+0 -1365-767 +0-767 -geometry 1x1+0+0 xwininfo: Window id: 0x80000b "Oracle VM VirtualBox Manager" Absolute upper-left X: 8 Absolute upper-left Y: 30 Relative upper-left X: 8 Relative upper-left Y: 30 Width: 770 Height: 550 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +8+30 -588+30 -588-188 +8-188 -geometry 770x550+8+30
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple