libvncserver icon indicating copy to clipboard operation
libvncserver copied to clipboard

Error when running server (ABS_X info)

Open nicodelpiano opened this issue 8 years ago • 6 comments

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.

nicodelpiano avatar Jun 02 '17 13:06 nicodelpiano

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

bk138 avatar Jun 02 '17 15:06 bk138

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.

nicodelpiano avatar Jun 02 '17 15:06 nicodelpiano

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.

bk138 avatar Jun 12 '17 18:06 bk138

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?

wuwuzh avatar May 07 '19 09:05 wuwuzh

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

mixaz avatar May 29 '19 14:05 mixaz

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

f0lg0 avatar Nov 07 '24 10:11 f0lg0