cambio docker

This commit is contained in:
Francisco Jesús Martínez Mimbrera
2026-06-05 18:17:29 +02:00
parent 08747099b0
commit 7fcf0486ff
132 changed files with 1736 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/bin/bash
set -e
# Limpiar locks de arranques anteriores
rm -f /tmp/.X1-lock /tmp/.X11-unix/X1
# Servidor VNC con TigerVNC (X server + VNC integrados)
Xvnc :1 \
-SecurityTypes None \
-geometry 1280x960 \
-depth 24 \
-rfbport 5900 \
&
sleep 2
DISPLAY=:1 setxkbmap es 2>/dev/null || true
DISPLAY=:1 openbox &
# noVNC: sirve el VNC como página web en el puerto 6080
websockify \
--web=/usr/share/novnc/ \
--wrap-mode=ignore \
6080 localhost:5900 \
&
echo "==> AFRYCA disponible en http://localhost:6080/vnc.html?autoconnect=true&resize=scale"
exec /app/afryca \
-data @user.home/.afryca \
-vmargs -Djava.library.path=/app/plugins