View this PageEdit this PageUploads to this PageVersions of this PageHomeRecent ChangesSearchHelp Guide

Preparar un disco de TCEM para demo de ArcoPantalla

1. Se empieza usando una copia el disco "maestro del TCE/TCE-M sobre pantalla táctil"

2. Se configura con las scripts incluidas para que arranque "en modo táctil"

3. Se hace lo siguiente (como root)

cd /usr/bin
mv X X.real
cat > X <<'EOF'
#!/bin/bash
shift
exec /usr/bin/X.real :0 -listen tcp "$@"
EOF
chmod 755 /usr/bin/X
mkdir -p /home/ControlId/Datos
chmod 777 /home/ControlId/Datos


4. Se hace lo siguiente (como usuario)

cd
cd bin
scp dario@3.0.1.3:/src/debian11_i386/tmp/ArcoPantalla .
mv tceviewer tceviewer.real
ln -s ArcoPantalla tceviewer


5. Se reinicia



Nota: Para compilar ArcoPantalla para i386 (y dejar el ejecutable en /src/debian11_i386/tmp/ ):


En uiharu, como root:
cd /tmp
cd /src/debian11_i386/tmp
rm -rf arcopantalla
( cd /home/dario/Programacion && tar -chf - arcopantalla) | tar -xf -
chroot /src/debian11_i386/ /bin/bash
cd /tmp
cd arcopantalla/Lib
make clean ; make
cd ..
cd ArcoPantalla
make clean all && cp ../Binarios/ArcoPantalla /tmp
exit