Skip to content
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

How to run x11vnc with rawframebuffer coming from /dev/fb0 and capturing mouse events from /dev/input/event3? #229

Open
ssdasilva opened this issue Jun 23, 2023 · 1 comment
Labels

Comments

@ssdasilva
Copy link

ssdasilva commented Jun 23, 2023

Hello everyone,

I have tried running x11vnc reading a raw framebuffer from /dev/fb0 in my linux embedded system. I am using weston fbdev backend so it writes to the framebuffer /dev/fb0. It works, but when I connect to the VNC server, using a VNC client, no mouse events are being captured. I have read the documentation at https://linux.die.net/man/1/x11vnc and from what I understood I should run:

x11vnc -rawfb /dev/fb0 -pipeinput UINPUT:touch,direct_abs=/dev/input/event3 -input KMBCF,KMBCF

But still it does not work. Any ideas on what I am doing wrong?

It is valid to mention that I have tried using the VNC backend in Weston, but it had poor performance and it was consuming 100% of CPU, making it unpractical to be used.

@linex-cd
Copy link
Contributor

If UINPUT not working, be sure the udev rule has added.
Please see https://github.com/linex-cd/xwaync/blob/main/service/uinput.sh
Before a new release cut out, you can use the drm backend above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants