appknox / androidvncserver

Standalone android VNC server :)
30 stars 15 forks source link

FORTIFY: FD_ISSET: file descriptor < 0 #13

Open xszx opened 3 years ago

xszx commented 3 years ago

shell@M2E:/data/local # /data/local/androidvncserver_arm64 Framebuffer display grabber selected Initializing grabber method... --Initializing framebuffer access method-- line_lenght=4352 xres=1080, yres=1920, xresv=1088, yresv=5760, xoffs=0, yoffs=0, bpp=32 Initializing virtual keyboard and touch device... ---Initializing uinput...--- Initializing VNC server: width: 1080 height: 1920 bpp: 32 port: 5901 Colourmap_rgba=0:8:16:24 length=8:8:8:8 11/07/2021 10:54:14 Listening for VNC connections on TCP port 5901 11/07/2021 10:54:14 Listening for VNC connections on TCP6 port 5900 11/07/2021 10:54:14 Listening for HTTP connections on TCP port 5801 11/07/2021 10:54:14 URL http://localhost:5801 11/07/2021 10:54:14 Listening for HTTP connections on TCP6 port 5800 11/07/2021 10:54:14 URL http://localhost:5800 Starting IPC connection...binded to port 13132

Waiting for a connection 11/07/2021 10:54:17 Got connection from client 192.168.1.34 11/07/2021 10:54:17 0 other clients 11/07/2021 10:54:17 Client Protocol Version 3.8 11/07/2021 10:54:17 Protocol version sent 3.8, using 3.8 11/07/2021 10:54:17 rfbProcessClientSecurityType: executing handler for type 1 11/07/2021 10:54:17 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8 FORTIFY: FD_ISSET: file descriptor < 0 Aborted

this is my device log,and I want use vncserver on device

xszx commented 3 years ago

when I use tightvnc-jviewer.jar on windows connect to device,throw error:

shell@M2E:/data/local # /data/local/androidvncserver_arm64 Initializing grabber method... No grabber method selected, auto-detecting... --Loading flinger native lib-- Couldnt load flinger library /data/local/tmp/libdvnc_flinger_sdk.so! Error strin g: (null) --Loading gralloc native lib-- Loading lib: /data/local/tmp/libdvnc_gralloc_sdk25.so Couldnt load library /data/local/tmp/libdvnc_gralloc_sdk25.so! Error string: (nu ll) --Initializing framebuffer access method-- line_lenght=4352 xres=1080, yres=1920, xresv=1088, yresv=5760, xoffs=0, yoffs=0, bpp=32 Initializing virtual keyboard and touch device... ---Initializing uinput...--- Initializing VNC server: width: 1080 height: 1920 bpp: 32 port: 5901 Colourmap_rgba=0:8:16:24 length=8:8:8:8 11/07/2021 11:01:11 Listening for VNC connections on TCP port 5901 11/07/2021 11:01:11 Listening for VNC connections on TCP6 port 5900 11/07/2021 11:01:11 Listening for HTTP connections on TCP port 5801 11/07/2021 11:01:11 URL http://localhost:5801 11/07/2021 11:01:11 Listening for HTTP connections on TCP6 port 5800 11/07/2021 11:01:11 URL http://localhost:5800 Starting IPC connection...binded to port 13132

Waiting for a connection 11/07/2021 11:01:14 Got connection from client 192.168.1.217 11/07/2021 11:01:14 0 other clients 11/07/2021 11:01:14 Client Protocol Version 3.8 11/07/2021 11:01:14 Protocol version sent 3.8, using 3.8 11/07/2021 11:01:14 rfbProcessClientSecurityType: executing handler for type 1 11/07/2021 11:01:14 rfbProcessClientSecurityType: returning securityResult for c lient rfb version >= 3.8 11/07/2021 11:01:14 Pixel format for client 192.168.1.217: 11/07/2021 11:01:14 32 bpp, depth 0, little endian 11/07/2021 11:01:14 true colour: max r 255 g 255 b 255, shift r 0 g 8 b 16 11/07/2021 11:01:14 no translation needed 11/07/2021 11:01:14 Using image quality level 6 for client 192.168.1.217 11/07/2021 11:01:14 Using JPEG subsampling 0, Q79 for client 192.168.1.217 11/07/2021 11:01:14 Enabling full-color cursor updates for client 192.168.1.217 11/07/2021 11:01:14 Enabling cursor position updates for client 192.168.1.217 11/07/2021 11:01:14 Enabling NewFBSize protocol extension for client 192.168.1.2 17 11/07/2021 11:01:14 Using tight encoding for client 192.168.1.217 Segmentation fault