any1 / wayvnc

A VNC server for wlroots based Wayland compositors
ISC License
1.12k stars 69 forks source link

Keyboard cannot input anything on lock screen #289

Closed ystyle closed 5 days ago

ystyle commented 9 months ago

Useful information:

Please, try to gather as much of useful information as possible and follow these instructions:

DE: hyprland/wayland Screen lock: waylock OS: archlinux


- Try to reproduce while capturing a **trace log:**
  - `wayvnc -Ltrace | tee wayvnc-crash.log`
```shell
╰━  wayvnc -Ltrac
Info: Capturing output DP-1
Info: >> Dell Inc. DELL P2317H KGR9N762369B (DP-1 via HDMI) 1920x1080+0x0 Power:ON
Info: -- AU Optronics 0x282B (eDP-1) 3840x2160+0x0 Power:ON
DEBUG: ../neatvnc/src/server.c: 1813: Trying address: 10.0.7.7
DEBUG: ../neatvnc/src/server.c: 1833: Successfully bound to address
Info: Listening for connections on 10.0.7.7:5900
DEBUG: ../wayvnc/src/ctl-server.c: 754: Initializing wayvncctl socket: /run/user/1000/wayvncctl
Info: New client connection from 10.0.7.3: 0x617e988db8a0 (ref 1)
DEBUG: ../neatvnc/src/server.c: 789: Client chose security type: 1
Info: Starting screen capture
DEBUG: ../wayvnc/src/main.c: 1143: Client connected, new client count: 1
DEBUG: ../wayvnc/src/ctl-server.c: 882: Enqueueing client-connected event: {"id":"1","hostname":"10.0.7.3","username":null,"seat":"seat0","connection_count":1}
DEBUG: ../wayvnc/src/ctl-server.c: 909: Enqueued client-connected event for 0 clients
Info: Choosing tight encoding for client 0x617e988db8a0
any1 commented 8 months ago

@vaxerski Any thoughts on this? Does Hyprland maybe block virtual inputs when the screen is locked?

vaxerski commented 8 months ago

no thoughts on this. I am focusing on other things. Feel free to make a mr

Entirely possible events are not being captured.

vaxerski commented 8 months ago

skimmed over the code, doesn't seem to have anything of note to block virtual keyboards on lockscreens. Might be something I'm missing though, as usual.

any1 commented 1 week ago

@ystyle, is this still a problem?

ystyle commented 5 days ago

It's OK now