LibVNC / libvncserver

LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
GNU General Public License v2.0
1.13k stars 490 forks source link

Error when running server (ABS_X info) #184

Open nicodelpiano opened 7 years ago

nicodelpiano commented 7 years ago

Hello!

When I initialize the server, this is what I get in some cases:

Initializing framebuffer device /dev/fb0...
xres=800, yres=480, xresv=800, yresv=1920, xoffs=0, yoffs=0, bpp=32
Initializing keyboard device /dev/input/event0 ...
Initializing touch device /dev/input/event1 ...
cannot get ABS_X info, Invalid argument

Do you know what could be causing this? Thanks in advance.

bk138 commented 7 years ago

Is this x11vnc or a custom server? Is this message from LibVNCServer?

nicodelpiano commented 7 years ago

I was given the task to investigate that error, and I realized it's a message from the example given here: https://github.com/kanaka/libvncserver/blob/master/examples/android/jni/fbvncserver.c#L153

Now I can see I'm having an issue with the touch file descriptor. I'll dig this a bit more to see what's causing that to fail.

bk138 commented 7 years ago

NB that https://github.com/LibVNC/libvncserver/blob/master/examples/androidvncserver.c needs to run as root. Closing for now, feel free to re-open if there's a persisting issue.

wuwuzh commented 5 years ago

I was given the task to investigate that error, and I realized it's a message from the example given here: https://github.com/kanaka/libvncserver/blob/master/examples/android/jni/fbvncserver.c#L153

Now I can see I'm having an issue with the touch file descriptor. I'll dig this a bit more to see what's causing that to fail.

i have same problem with you,and i want to know how to solve it?can you tell me?

mixaz commented 5 years ago

The issue is still exists (even with root) - Android 7.1.1 on Lenovo Tab4 TB-8504F

f0lg0 commented 5 hours ago

As mentioned in my other issue I'm getting the same error on Android 9. https://github.com/LibVNC/libvncserver/issues/637#issuecomment-2461867408