[BUG] Error with X11 folder bindind
Lamarr404 opened this issue Β· comments
Describe the bug
Overnight, my Exegol stopped working, making it impossible to use or fix the issue. I've tried finding a way to uninstall it, but I can't seem to purge it completely as remnants persistently remain. I'm at a loss for what to do next. Otherwise, please provide me with a methodology to uninstall it cleanly and completely so that I can reinstall it.
Thank you in advance for your responses.
Steps To Reproduce
- exegol start
[-] invalid mount config for type "bind": bind source path does not exist: /tmp/.X11-unix
[*] Rollback: removing dedicated workspace directory
[!] Error while creating exegol container. Exiting.
Exegol Wrapper Version
[*] Exegol is currently in version v4.2.5
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) π
[+] We thank HackTheBox for sponsoring the multi-arch support π
[D] Pip installation: On β
[D] Git source installation: Off πͺ
[D] Host OS: HostOs.LINUX (DockerEngine.LINUX)
[D] Arch: amd64
[D] Raw arch: x86_64
[D] Docker desktop: Off πͺ
[D] Shell type: HostOs.LINUX
[D] Last wrapper update check: 2023-09-27 00:00:00
Host OS
Linux
Configuration of the concerned container
[*] Exegol is currently in version v4.2.5
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) π
[+] We thank HackTheBox for sponsoring the multi-arch support π
[V] Listing user configurations
π§ User configurations
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β User config file: /home/lucas/.exegol/config.yml β
β Private workspace: /home/lucas/.exegol/workspaces β
β Exegol resources: /home/lucas/Hack/Tools/Exegol/exegol-resources β
β My resources: /home/lucas/.exegol/my-resources β
β Auto-check updates: On β β
β Auto-remove images: On β β
β Auto-update fs: Off πͺ β
β Default start shell: zsh β
β Shell logging method: asciinema β
β Shell logging compression: On β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
[!] The container named 'default' has not been found
[Exegol] exegol info -v master
[*] Exegol is currently in version v4.2.5
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) π
[+] We thank HackTheBox for sponsoring the multi-arch support π
[V] Listing user configurations
π§ User configurations
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β User config file: /home/lucas/.exegol/config.yml β
β Private workspace: /home/lucas/.exegol/workspaces β
β Exegol resources: /home/lucas/Hack/Tools/Exegol/exegol-resources β
β My resources: /home/lucas/.exegol/my-resources β
β Auto-check updates: On β β
β Auto-remove images: On β β
β Auto-update fs: Off πͺ β
β Default start shell: zsh β
β Shell logging method: asciinema β
β Shell logging compression: On β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
[V] Listing local and remote Exegol images (filtering for architecture amd64)
πΈ Available images
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββ¬ββββββββββββββββ¬βββββββββββββββ¬βββββββββββββββββββ¬ββββββββββββββββββββββββββ
β Id β Image tag β Download size β Size on disk β Build date (UTC) β Status β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββΌββββββββββββββββΌβββββββββββββββΌβββββββββββββββββββΌββββββββββββββββββββββββββ€
β 09cb12626b0b β nightly (amd64) β 17.8GB β 43.0GB β 02/10/2023 15:34 β Up to date (v.552360f0) β
β 9995d8d6342b β nightly-01239f29 (untag) (amd64) β N/A β 42.8GB β 29/09/2023 15:10 β Outdated (v.01239f29) β
β 5abff686fbfe β full (amd64) β 14.3GB β 34.5GB β 17/08/2023 22:57 β Up to date (v.3.1.1) β
β Not installed β web (amd64) β 6.6GB β N/A β N/A β Not installed β
β Not installed β osint (amd64) β 3.3GB β N/A β N/A β Not installed β
β Not installed β light (amd64) β 4.5GB β N/A β N/A β Not installed β
β Not installed β ad (amd64) β 10.1GB β N/A β N/A β Not installed β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ΄βββββββββββββββ΄βββββββββββββββββββ΄ββββββββββββββββββββββββββ
[V] Listing local Exegol containers
[*] Number of Exegol containers: 0
Execution logs in debug mode
[D] Adding setgid permission recursively on directories from /home/lucas/.exegol/workspaces/default
[D] default - nightly
Privileged: False
Capabilities: []
Sysctls: {}
X: True
TTY: True
Network host: host
Ports: {}
Share timezone: True
Common resources: True
Envs (3): {'DISPLAY': ':1', '_JAVA_AWT_WM_NONREPARENTING': '1', 'QT_X11_NO_MITSHM': '1'}
Labels (0): {}
Shares (5): [{'Target': '/tmp/.X11-unix', 'Source': '/tmp/.X11-unix', 'Type': 'bind', 'ReadOnly': False}, {'Target': '/etc/timezone', 'Source': '/etc/timezone', 'Type': 'bind', 'ReadOnly':
True}, {'Target': '/etc/localtime', 'Source': '/etc/localtime', 'Type': 'bind', 'ReadOnly': True}, {'Target': '/opt/my-resources', 'Source': '/home/lucas/.exegol/my-resources', 'Type':
'bind', 'ReadOnly': False}, {'Target': '/workspace', 'Source': '/home/lucas/.exegol/workspaces/default', 'Type': 'bind', 'ReadOnly': False}]
Devices (0): []
VPN: N/A
[D] Entrypoint: ['/.exegol/entrypoint.sh']
[D] Cmd: ['default']
[-] invalid mount config for type "bind": bind source path does not exist: /tmp/.X11-unix
[D] 400 Client Error for http+docker://localhost/v1.41/containers/create?name=exegol-default: Bad Request ("invalid mount config for type "bind": bind source path does not exist:
/tmp/.X11-unix")
[*] Rollback: removing dedicated workspace directory
[!] Error while creating exegol container. Exiting.
Exception
No response
Anything else?
No response
Hello,
If you want to remove your Exegol, you can remove every container with exegol remove
and uninstall images with exegol uninstall
and then you can remove the wrapper itself with pip3 uninstall exegol
.
But i dont think a reinstall would fix your problem.
Here is some question to help me find your problem:
- What do you have when running
ls -lha /tmp/.X11-unix
? - Are you using docker desktop on your Linux machine ?
- Did you change recently your graphical environment ?
Thank you for you're fast reply,
My output:
> ls -lha /tmp/.X11-unix
drwxrwxrwt 2 root root 4,0K oct. 2 20:05 .
drwxrwxrwt 23 root root 20K oct. 2 23:26 ..
srwxrwxrwx 1 lucas lucas 0 oct. 2 20:05 X1
I don't use Docker-Desktop and i don't have recently change my graphical environnement.
What is your Linux distro ? If your OS is now using wayland it can lead to instability / incompatibility ...
I'm using 22.04.1-Ubuntu
and i don't use wayland:
echo $XDG_SESSION_TYPE
X11
I have uninstall and reinstall exegol but the problem is persisting
hmmm it should definitely work...
Maybe you installed a rootless docker at some time ? Did you try to run exegol as root (you might need to install requirements as root too) ?
Okay so ! the problem was resolved ! I give the doc for solve the issue:
Problem:
[-] invalid mount config for type "bind": bind source path does not exist:
/tmp/.X11-unix
[*] Rollback: removing dedicated workspace directory
[!] Error while creating exegol container. Exiting.
- Desinstal existing exegol:
exegol remove
exegol uninstall
pip3 uninstall exegol
- Add xhost for X11
[Tools] xhost "+Local:*"
non-network local connections being added to access control list
[Tools] xhost
access control enabled, only authorized clients can connect
LOCAL:
SI:localuser:lucas
- Reinstall exegol as root and it's work !
Thank you for the help !