-
-
Notifications
You must be signed in to change notification settings - Fork 77
Description
wayvnc randomly hangs. and stops responding to keyboard
Under wlnvcc it eventually comes good and unexpectedly processes all pending user input. Under remmina I have to kill wayvnc and restart it.
I haven't been able to reproduce on demand. More likely to happen when screen has been idle for a while. I stopped swayidle in case that was doing something, but it didn't appear to help.
At one stage wayvnc was repeatedly crashing in a similar fashion when I did I "swaymsg output HEADLESS-1 mode NNxNN` command to change the resolution (any resolution). So would have to kill and restart it in similar way. And after restarting the resolution was correctly changed to the new value. But today that is working fine. Curious.
Most recent crash was under remmina. So I am doubtful it is a client issue.
Useful information:
Please, try to gather as much of useful information as possible and follow
these instructions:
-
Version:
- Run this command:
wayvnc -V
wayvnc: 0.9.1
neatvnc: 0.9.4
aml: 0.3.0
- Run this command:
-
Provide context, including but not limited to
- Command line arguments
0.0.0.0 - Special environment variables, if any
WAYLAND_DISPLAY=wayland-1 - Which wayland compositor are you using? Which version?
sway 1.10.1
WLR_BACKENDS=headless and WLS_HEADLESS_OUTPUTS=1 - What VNC client are you using?
remmina 1.4.40 - but had similar problems with other clients too (tigervnc and wlvncc come to memory right now) - Did you configure your VNC client in a specific manner?
Nothing unusual. Direct connection on port 5900. - Linux distro/operating system
Nixos 25.05 - Kernel version
Linux miacis 6.12.35 Fix output selection #1-NixOS SMP PREEMPT_DYNAMIC Fri Jun 27 10:11:46 UTC 2025 x86_64 GNU/Linux - Graphics drivers
Sway using HEADLESS drivers. On VNC client, using AMD graphics card.
- Command line arguments
-
Try to reproduce the problem while capturing a trace log:
wayvnc -Ltrace | tee wayvnc-bug.log
Will try this for next next time it hangs.
-
Get the stack trace, in case of a crash:
- If you have
coredumpctl
, you can gather the stack trace after a crash
usingcoredumpctl gdb wayvnc
and then runbt full
to obtain the stack
trace. - Otherwise, you can either locate the core file and load it into gdb or run
wayvnc in gdb like so:gdb --args wayvnc -Ltrace
- If the lines mentioning wayvnc, neatvnc or aml have
??
, please compile
wayvnc and those other projects from source with debug symbols and try
again.
N/A
- If you have
-
Describe how to reproduce the problem
No idea. -
Try to think about your problem beyond these instructions and include
whatever information that you believe will help to resolve the issue
Will do