← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #696914]: Errors while I'm trying to display the GUI of sikulix inside docker container

 

Question #696914 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696914

Marietto gave more information on the question:
I tried also without xvfb,but I get the same error :


Step 19/28 : RUN java -jar /sikulix/sikulixide-2.0.5.jar
---> Running in b2baaf91a40d
[error] FileManager: writeStringToFile: did not work:
/root/.Sikulix/SikulixStore/lastUsedJar.txt
/root/.Sikulix/SikulixStore/lastUsedJar.txt (No such file or directory)
The command '/bin/sh -c java -jar /sikulix/sikulixide-2.0.5.jar' returned a
non-zero code: 1

Il giorno mer 5 mag 2021 alle ore 00:25 Marietto <
question696914@xxxxxxxxxxxxxxxxxxxxx> ha scritto:

> Your question #696914 on SikuliX changed:
> https://answers.launchpad.net/sikuli/+question/696914
>
> Marietto posted a new comment:
> I start the container with this script :
>
>
> XSOCK=/tmp/.X11-unix
>
> XAUTH=/tmp/.docker.xauth
>
> touch $XAUTH
>
> xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
>
>
> docker run \
>
> --gpus all \
>
> --rm -it \
>
> -v $XSOCK:$XSOCK:rw \
>
> -v $XAUTH:$XAUTH:rw \
>
> --device=/dev/dri/card0:/dev/dri/card0 \
>
> -e DISPLAY=$DISPLAY \
>
> -e XAUTHORITY=$XAUTH \
>
> -w /protected \
>
> -w /addons \
>
> -v /:/addons \
>
> -t test-docker
>
> --
> You received this question notification because you asked the question.
>


-- 
Mario.

You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.