= - =

Results 107 comments of = - =

add argument `--disable-dev-shm-usage` can solve need `shm_size: 2g` problem

https://blog.csdn.net/qq_39101111/article/details/78726927 ``` ps aux | grep `cat /tmp/.X1-lock` ```

when i run command: `rm /tmp/.X1-lock` will be see ``` (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server...

xvfb-run Xvfb when i search in google, found those tow command. but doesn't known how to use it.

when see dockerfile: https://hub.docker.com/layers/ultrafunk/undetected-chromedriver/latest/images/sha256-d867b57e7bd5a8de0b3d1e58a7d3f1775cb81fbe556d701d9568aca2c16718cb?context=explore i found this config `xrdp.ini` in `/etc/xrdp/xrdp.ini` ``` [Globals] ; xrdp.ini file version number ini_version=1 ; fork a new process for each incoming connection fork=true ;...

and found `demo.py` `/demo.py` ``` #!/usr/bin/python3 import logging import subprocess import time import undetected_chromedriver as uc logging.basicConfig(level=10) logging.getLogger("parso").setLevel(100) # i hate damn parso #o = uc.ChromeOptions() #o.arguments.extend(["--no-sandbox", "--disable-setuid-sandbox"]) # these...

this problem is solved, `RUN sed -i 's/pidof Xvfb/pgrep -f Xvfb/g' /entrypoint.sh`

![72261723468710_ pic](https://github.com/user-attachments/assets/3c1f2987-d368-4bc2-a285-e66573c96a02) ![72291723468748_ pic](https://github.com/user-attachments/assets/ca299b7c-e2d2-418d-863f-a63742fce9c5) ![72301723468767_ pic](https://github.com/user-attachments/assets/5dd27152-2b2b-4275-bd30-9a57ce60863a)