-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x11vnc hangs while moving/sizing windows on IceWM #257
Comments
As another try, I tried to use "strace", here's where it hangs:
The same happens with tools such as "xdotool". |
The only workaround I found, for now, is to use the 'forever' option and keep the program in background, so that it doesn't stop accidentally. To start the server (other parameters may be used):
To stop it:
If it doesn't work, just kill it:
Of course, before stopping the server, BE SURE To stop moving/sizing windows. Still, I'd be glad for some contribution in finding out what the problem might be and how to solve it properly. |
Better yet, to start the server, a combination of
|
Unfortunately even with this setup, the bug might happen while grabbing/sizing windows by using a pointer device... so, even WITHOUT using ALT-F7/F8... While this is another bad news, I've finally figured out a way to actually "unlock" this situation while being on a remote computer, WITH NO ACCESS to the physical one. What you need is 'ydotool' (you read correctly 'ydotool', not 'xdotool'). There's a github repository for ydotool (https://github.com/ReimuNotMoe/ydotool), so yeah, you can use that to inject an ESC o ENTER key, this way, the window movement gets stopped. Still, it would be nice if the bug were to be solved without the need to use this kind of workaround, since this can get very annoying. |
Describe the bug
If I decide to stop the x11vnc server while I'm dragging/resizing a window through keyboard shortcuts, I'm not able to restart said server.
When I try to restart it, it just hangs at:
I'm using IceWM 3.6.0 (the actual version doesn't matter) on Debian Trixie (testing), its shortcut to move/resize windows are ALT+F7 and ALT+F8.
Please note that I'm not sure this is related to x11vnc itself, as I was able to reproduce this issue with other programs as well (xdotool, icesh).
Unfortunately I'm not familiar with X11's architecture, so I'm not able to say what's causing it.
While when being phisically in the vicinity of the server, it is simply a matter of "canceling the move/resizing" by pressing ESC/Enter, this becomes extremely problematic when connecting from the outside, since there's no way to "cancel" (even xdotool hangs).
To Reproduce
As far as I noted, there's an easy way to test this on the server itself, there's no need for an external connection:
Expected Behavior
When I decide to re-run x11vnc, it should not hang, it should run as normal and I should be able to go back to the VNC session, in order to cancel the window moving/sizing.
Screenshots
N/A
Desktop
Additional context
As already said, I'm not totally sure this is a bug with x11vnc, unfortunately, since other tools seem to hang to the same situation.
I'd like some help in order to correctly diagnose the problem and solve it, since it is very annoying.
The text was updated successfully, but these errors were encountered: