Hyprland
Hyprland copied to clipboard
Hyprland is unsable in wayvnc if the physical host doesn't have a connected mouse
Hello all, this is something that surprised me this morning, but I think I figured out what was going on.
I tried to connect to my gaming PC running Hyprland over VNC, and for some unknown reason, I was unable to produce any mouse input no matter what device I used for the VNC connection.
I spent some time troubleshooting and it looks like Hyprland disables all mouse functionality if there is no physical mouse connection.
While this seems okay for those who use a wired mouse, for those who use bluetooth adapters to navigate desktop UIs, this will render the computer unusable over remote connections if the wireless mouse goes to sleep.
Steps to reproduce:
- Start Hyprland
- Launch wayvnc
- Disconnect your wired or wireless mouse from your host.
- From your phone or another host, connect to your computer via VNC.
- You should be able to launch applications with your keyboard input, but good luck using an X11 application 😅
hyprland-bin-0.20.1beta-1
from the AUR on a tablet.
The touchscreen moves the pointer a little, while on wayland it shouldn't right?
If I don't have a mouse connected I cannot click with the touchscreen.
@s-daveb can you try that again with the latest version of hyprland, there have been a lot of input updates
@romanstingler said:
@s-daveb can you try that again with the latest version of hyprland, there have been a lot of input updates
As I mentioned in #5482 (closed considered as dupe of this one, sorry for that):
no, it seems that it does not work
@s-daveb , @fooryo , start your wayvnc server using -r
option (--render-cursor
)
turns out it was only working because I had sunshine enabled on the host and it attach a fake mouse in the session