@Emince

Как исправить ошибки linux при запуске из docker?

Скачал контейнер kasmweb/kali-rolling-desktop с докер хаб, при попытке запуска получаю ошибки

Ход загрузки

Listening for incomming MPEG-TS Stream on https://127.0.0.1:8081/
Awaiting WebSocket connections on wss://127.0.0.1:4901/
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
gpg-agent[142]: directory '/home/kasm-user/.gnupg' created
gpg-agent[142]: directory '/home/kasm-user/.gnupg/private-keys-v1.d' created
gpg-agent[143]: gpg-agent (GnuPG) 2.2.43 started
INFO:KasmPrintingService:Watching for PDF documents at /home/kasm-user/PDF
Failed to unload module: Module module-pipe-source not loaded
ERROR:KasmGamepadServer:Failed to connect input (/dev/input/event0) : [Errno 2] No such file or directory: '/dev/input/event0'
ERROR:KasmGamepadServer:Failed to connect input (/dev/input/event1) : [Errno 2] No such file or directory: '/dev/input/event1'
ERROR:KasmGamepadServer:Failed to connect input (/dev/input/event2) : [Errno 2] No such file or directory: '/dev/input/event2'
ERROR:KasmGamepadServer:Failed to connect input (/dev/input/event3) : [Errno 2] No such file or directory: '/dev/input/event3'
* Serving Flask app 'kasm_upload_server'
* Debug mode: off
2024-06-27 06:00:20,262 [DEBUG] Selection: Selection owner change for _DBUS_SESSION_BUS_SELECTION_kasm-user_69c89839022f462abe61ff616f77ee04
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on https://127.0.0.1:4902
* Running on https://172.17.0.2:4902
Press CTRL+C to quit

(xfsettingsd:163): libupower-glib-WARNING **: 06:00:21.532: Couldn't connect to proxy: Could not connect: No such file or directory

** (xfdesktop:182): WARNING **: 06:00:22.036: Thumbnailer failed calling GetFlavors
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
gio: Setting attribute metadata::xfce-exe-checksum not supported

(polkit-gnome-authentication-agent-1:196): polkit-gnome-1-WARNING **: 06:00:22.054: Error getting authority: Error initializing authority: Could not connect: No such file or directory

** (xfdesktop:182): WARNING **: 06:00:22.118: Failed to get system bus: Could not connect: No such file or directory
xfce4-panel-Message: 06:00:22.123: Plugin "power-manager-plugin-18" was not found and has been removed from the configuration
libclock-Message: 06:00:22.124: could not get proxy for org.freedesktop.login1

(xfce4-panel:167): libclock-WARNING **: 06:00:22.124: could not instantiate a sleep monitor
system-config-printer-applet: failed to connect to system D-Bus
2024-06-27 06:00:21,348 [DEBUG] Selection: Selection owner change for WM_S0
2024-06-27 06:00:21,483 [DEBUG] Selection: Selection owner change for XFWM4_COMPOSITING_MANAGER
2024-06-27 06:00:21,529 [DEBUG] Selection: Selection owner change for _XSETTINGS_S0
2024-06-27 06:00:21,633 [DEBUG] Selection: Selection owner change for CLIPBOARD_MANAGER
2024-06-27 06:00:22,031 [DEBUG] Selection: Selection owner change for XFDESKTOP_SELECTION_0
2024-06-27 06:00:22,031 [DEBUG] Selection: Selection owner change for _NET_DESKTOP_MANAGER_S0
2024-06-27 06:00:22,173 [DEBUG] Selection: Selection owner change for _NET_DESKTOP_LAYOUT_S0
Stream Connected: ::ffff:127.0.0.1:43314

(xfce4-session:75): xfce4-session-WARNING **: 06:00:22.254: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:75): xfce4-session-WARNING **: 06:00:22.257: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)

(xfce4-session:75): xfce4-session-WARNING **: 06:00:22.260: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
2024-06-27 06:00:22,255 [DEBUG] Selection: Selection owner change for _NET_SYSTEM_TRAY_S0


кто сталкивался, как исправить?
  • Вопрос задан
  • 101 просмотр
Пригласить эксперта
Ответы на вопрос 1
lonya_547
@lonya_547
Плотину надо поднять. Рычагом. Я его дам.
Emince,

Буду признателен, если напишите эту одну команду.


на странице в хабе она есть:

sudo docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/kali-rolling-desktop:1.14.0
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы