[🐛 Bug ]: device_status always BOOTING
Operating System
CentOS7.9
Docker Image
latest
Expected behaviour
can use the emulator
Actual behaviour
Logs
androidusr@e519e65b160a:~/logs$ cat *.stderr.log _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
ERROR: openbox-xdg-autostart requires PyXDG to be installed xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1" 08/01/2025 17:00:56 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 49 08/01/2025 17:00:57 Using X display :0 08/01/2025 17:00:57 rootwin: 0x50e reswin: 0x400001 dpy: 0xc71ce290 08/01/2025 17:00:57 08/01/2025 17:00:57 ------------------ USEFUL INFORMATION ------------------ 08/01/2025 17:00:57 X DAMAGE available on display, using it for polling hints. 08/01/2025 17:00:57 To disable this behavior use: '-noxdamage' 08/01/2025 17:00:57 08/01/2025 17:00:57 Most compositing window managers like 'compiz' or 'beryl' 08/01/2025 17:00:57 cause X DAMAGE to fail, and so you may not see any screen 08/01/2025 17:00:57 updates via VNC. Either disable 'compiz' (recommended) or 08/01/2025 17:00:57 supply the x11vnc '-noxdamage' command line option. 08/01/2025 17:00:57 08/01/2025 17:00:57 Wireframing: -wireframe mode is in effect for window moves. 08/01/2025 17:00:57 If this yields undesired behavior (poor response, painting 08/01/2025 17:00:57 errors, etc) it may be disabled: 08/01/2025 17:00:57 - use '-nowf' to disable wireframing completely. 08/01/2025 17:00:57 - use '-nowcr' to disable the Copy Rectangle after the 08/01/2025 17:00:57 moved window is released in the new position. 08/01/2025 17:00:57 Also see the -help entry for tuning parameters. 08/01/2025 17:00:57 You can press 3 Alt_L's (Left "Alt" key) in a row to 08/01/2025 17:00:57 repaint the screen, also see the -fixscreen option for 08/01/2025 17:00:57 periodic repaints. 08/01/2025 17:00:57 08/01/2025 17:00:57 XFIXES available on display, resetting cursor mode 08/01/2025 17:00:57 to: '-cursor most'. 08/01/2025 17:00:57 to disable this behavior use: '-cursor arrow' 08/01/2025 17:00:57 or '-noxfixes'. 08/01/2025 17:00:57 using XFIXES for cursor drawing. 08/01/2025 17:00:57 GrabServer control via XTEST. 08/01/2025 17:00:57 08/01/2025 17:00:57 Scroll Detection: -scrollcopyrect mode is in effect to 08/01/2025 17:00:57 use RECORD extension to try to detect scrolling windows 08/01/2025 17:00:57 (induced by either user keystroke or mouse input). 08/01/2025 17:00:57 If this yields undesired behavior (poor response, painting 08/01/2025 17:00:57 errors, etc) it may be disabled via: '-noscr' 08/01/2025 17:00:57 Also see the -help entry for tuning parameters. 08/01/2025 17:00:57 You can press 3 Alt_L's (Left "Alt" key) in a row to 08/01/2025 17:00:57 repaint the screen, also see the -fixscreen option for 08/01/2025 17:00:57 periodic repaints. 08/01/2025 17:00:57 08/01/2025 17:00:57 XKEYBOARD: number of keysyms per keycode 7 is greater 08/01/2025 17:00:57 than 4 and 51 keysyms are mapped above 4. 08/01/2025 17:00:57 Automatically switching to -xkb mode. 08/01/2025 17:00:57 If this makes the key mapping worse you can 08/01/2025 17:00:57 disable it with the "-noxkb" option. 08/01/2025 17:00:57 Also, remember "-remap DEAD" for accenting characters. 08/01/2025 17:00:57 08/01/2025 17:00:57 X FBPM extension not supported. Xlib: extension "DPMS" missing on display ":0". 08/01/2025 17:00:57 X display is not capable of DPMS. 08/01/2025 17:00:57 -------------------------------------------------------- 08/01/2025 17:00:57 08/01/2025 17:00:57 Default visual ID: 0x21 08/01/2025 17:00:57 Read initial data from X display into framebuffer. 08/01/2025 17:00:57 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/6400 08/01/2025 17:00:57 08/01/2025 17:00:57 X display :0 is 32bpp depth=24 true color 08/01/2025 17:00:57 08/01/2025 17:00:57 Autoprobing TCP port 08/01/2025 17:00:57 Autoprobing selected TCP port 5900 08/01/2025 17:00:57 Autoprobing TCP6 port 08/01/2025 17:00:57 Autoprobing selected TCP6 port 5900 08/01/2025 17:00:57 listen6: bind: Address already in use 08/01/2025 17:00:57 Not listening on IPv6 interface. 08/01/2025 17:00:57 08/01/2025 17:00:57 Xinerama is present and active (e.g. multi-head). 08/01/2025 17:00:57 Xinerama: number of sub-screens: 1 08/01/2025 17:00:57 Xinerama: no blackouts needed (only one sub-screen) 08/01/2025 17:00:57 08/01/2025 17:00:57 fb read rate: 1543 MB/sec 08/01/2025 17:00:57 fast read: reset -wait ms to: 10 08/01/2025 17:00:57 fast read: reset -defer ms to: 10 08/01/2025 17:00:57 The X server says there are 10 mouse buttons. 08/01/2025 17:00:57 screen setup finished. 08/01/2025 17:00:57
The VNC desktop is: e519e65b160a:0
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion. More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
08/01/2025 17:02:34 Got connection from client 127.0.0.1 08/01/2025 17:02:34 other clients: 08/01/2025 17:02:34 Normal socket connection 08/01/2025 17:02:34 Disabled X server key autorepeat. 08/01/2025 17:02:34 to force back on run: 'xset r on' (3 times) 08/01/2025 17:02:34 incr accepted_client=1 for 127.0.0.1:45374 sock=10 08/01/2025 17:02:35 Client Protocol Version 3.8 08/01/2025 17:02:35 Protocol version sent 3.8, using 3.8 08/01/2025 17:02:35 rfbProcessClientSecurityType: executing handler for type 1 08/01/2025 17:02:35 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8 08/01/2025 17:02:35 copy_tiles: allocating first_line at size 51 08/01/2025 17:02:35 Pixel format for client 127.0.0.1: 08/01/2025 17:02:35 32 bpp, depth 24, little endian 08/01/2025 17:02:35 true colour: max r 255 g 255 b 255, shift r 0 g 8 b 16 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type tightPng 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015) 08/01/2025 17:02:35 Using image quality level 6 for client 127.0.0.1 08/01/2025 17:02:35 Using JPEG subsampling 0, Q79 for client 127.0.0.1 08/01/2025 17:02:35 Using compression level 2 for client 127.0.0.1 08/01/2025 17:02:35 Enabling NewFBSize protocol extension for client 127.0.0.1 08/01/2025 17:02:35 Enabling LastRect protocol extension for client 127.0.0.1 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFE) 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC) 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC8) 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC7) 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECD) 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xC0A1E5CE) 08/01/2025 17:02:35 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5664) 08/01/2025 17:02:35 Enabling full-color cursor updates for client 127.0.0.1 08/01/2025 17:02:35 Using tight encoding for client 127.0.0.1 08/01/2025 17:02:37 client_set_net: 127.0.0.1 0.0006 08/01/2025 17:02:37 created xdamage object: 0x400036 08/01/2025 17:02:43 created selwin: 0x400037 08/01/2025 17:02:43 called initialize_xfixes() 08/01/2025 17:03:05 client 1 network rate 19.0 KB/sec (867.9 eff KB/sec) 08/01/2025 17:03:05 client 1 latency: 294.8 ms 08/01/2025 17:03:05 dt1: 0.0031, dt2: 0.6747 dt3: 0.2948 bytes: 10053 08/01/2025 17:03:05 link_rate: LR_DIALUP - 294 ms, 18 KB/s 08/01/2025 17:03:21 increased wireframe timeouts for slow network connection. 08/01/2025 17:03:21 netrate: 18 KB/sec, latency: 294 ms /opt/noVNC/utils/websockify/websockify/websocket.py:31: UserWarning: no 'numpy' module, HyBi protocol will be slower warnings.warn("no 'numpy' module, HyBi protocol will be slower") WebSocket server settings:
- Listen on :6080
- Web server. Web root: /opt/noVNC
- No SSL/TLS support (no cert file)
- proxying from :6080 to localhost:5900 172.16.1.11 - - [08/Jan/2025 17:01:46] code 404, message File not found 172.16.1.11 - - [08/Jan/2025 17:01:46] code 404, message File not found 172.16.1.11 - - [08/Jan/2025 17:01:47] code 404, message File not found 172.16.1.11 - - [08/Jan/2025 17:01:51] code 404, message File not found 172.16.1.11 - - [08/Jan/2025 17:02:19] code 404, message File not found 172.16.1.11 - - [08/Jan/2025 17:02:19] code 404, message File not found 172.16.2.23 - - [08/Jan/2025 17:02:34] 172.16.2.23: Plain non-SSL (ws://) WebSocket connection 172.16.2.23 - - [08/Jan/2025 17:02:34] 172.16.2.23: Path: '/websockify' 172.16.2.23 - - [08/Jan/2025 17:02:34] connecting to: localhost:5900 172.16.2.23 - - [08/Jan/2025 17:02:43] code 404, message File not found
same
The issue seems to be with openbox.
ERROR: openbox-xdg-autostart requires PyXDG to be installed
This issue was easily fixable. I ran pip install pyxdg to get the required package but now the error is different.
subprocess.CalledProcessError: Command '/usr/bin/openbox-session ' returned non-zero exit status 1.
27/01/2025 12:45:37 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 48
27/01/2025 12:45:37 XOpenDisplay(":0") failed.
27/01/2025 12:45:37 Trying again with XAUTHLOCALHOSTNAME=localhost ...
27/01/2025 12:45:37 ***************************************
27/01/2025 12:45:37 *** XOpenDisplay failed (:0)
*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
*** There may be "Xlib:" error messages above with details about the failure.
I've tried running the emulator with the -no-window flag but am getting the same error.
I get the same stacktraces about half of the times when I restart.