Hi everyone <@U02UAUGSQ22> sorry for the interrup...
# ieee-sscs-dc-22
a
Hi everyone @Harald Pretl sorry for the interruption i am using docker image IIC-osci-tools i updated the docker image from <docker pull hpretl/iic-osic-tools> then i got the black screen while opening through the VNC . i also try with previous version (after removing latest ) but i got same problem black screen . what would be the reason . thank you
g
Hi @Ashutosh Kumar, can you show me the log output of the container? Sounds like there is an issue with the startup of the UI and I'd like to investigate this!
a
Hi @Georg Zachl , sorry for the delay log output of the container i attached the screen shoot of it , and one problem with Virtual machine also , i run container but it closed just after open without error or problem message do you idea where i should look for this problem . thank you
g
And you started the container with the "start_vnc.sh" script?
a
i used
sudo docker run -it -p 8000:80 -v /home/kashi/:/foss/designs -eVNC_RESOLUTION=1850x1000 hpretl/iic-osic-tools:latest
g
oh okay. you should probably use our start script. there are more options to set, and our script takes care of that
a
and same black screen with
start_vnc.sh
g
but if you check it with "docker ps", the container is running?
a
yes it is running
i am getting same black screen
g
and, just so i understand it correctly: if you open "localhost" in the browser and connect, the screen is black?
have you tried an external VNC client?
I probably found the issue: you are using docker as root (with sudo!)
what you should do is: add your linux user (kashi, as in your screenshots) to the group "docker" and restart Linux.
Then you can run docker commands with your normal user
a
yes i open browser, typed localhost and password i also try with the external vnc client but it not working yes i am using docker as root , if i am not using sudo it show error like permission denied could you please guide me how to add the user into the docker group
you can skip creating the docker group, if you are on Ubuntu
a
yes i added the user into the docker group but the same error
g
Have you omitted sudo?
a
Yes
g
mhh, very interessting. It is a little bit hard to debug on remote. Can you maybe try to connect with a different VNC Client?
m
Hi folks, just for tracking I was having the same problem described by @Ashutosh Kumar The solution in my case, was to modify the scripts start_vnc.sh and start_x.sh . Just added the following option when the container is run: --security-opt seccomp=unconfined so the command should be something like this:
${ECHO_IF_DRY_RUN} docker run -d --user "${CONTAINER_USER}:${CONTAINER_GROUP}" $PORT_PARAMS -v "$DESIGNS:/foss/designs:rw" --security-opt seccomp=unconfined --name "${CONTAINER_NAME}" "${DOCKER_USER}/${DOCKER_IMAGE}:${DOCKER_TAG}
(same change for start_x.sh and start_vnc.sh)
h
@Georg Zachl can you please look into this?
g
Hi @Mauricio Montanares, could you maybe show me the log output when you launch the container without your added parameter? Also, which distro are you running?
m
Hi @Georg Zachl, I delete the container, remove the extra parameter and run ./start_vnc.sh here is the log output
(VNC is now on black screen)
my distro is Ubuntu 20.04.5 LTS
g
could you please run "docker logs iic-osic-tools_xvnc_uid_1000" and show me the output?
m
sure, here is the output
Copy code
mxmont@HALx1:~/Documents/software/asic/iic-osic-tools$ docker logs iic-osic-tools_xvnc_uid_1000
Final PATH variable:
/foss/tools/bin:/foss/tools/sak/:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/foss/tools/covered/19d30fc/bin:/foss/tools/fault/080f4be/:/foss/tools/gaw3-xschem/854bee4/bin:/foss/tools/gds3d/173da0c/bin:/foss/tools/ghdl/v2.0.0/bin:/foss/tools/gtkwave/7a0024d/bin:/foss/tools/iic-osic/:/foss/tools/irsim/25fe821/bin:/foss/tools/iverilog/74c52d6/bin:/foss/tools/klayout/428d0fe/:/foss/tools/magic/94daf98/bin:/foss/tools/netgen/3aeea9d/bin:/foss/tools/ngspice/ngspice/bin:/foss/tools/nvc/4efbf71/bin:/foss/tools/openlane/2022.11/:/foss/tools/openroad/127815b/bin:/foss/tools/opensta/489ffac/bin:/foss/tools/padring/b2a64ab/bin:/foss/tools/qflow/a550469/bin:/foss/tools/verilator/v5.002/bin:/foss/tools/xschem/0b86399/bin:/foss/tools/xyce/Parallel/Release/bin:/foss/tools/yosys/6e907ac/bin
USER_ID: 1000, GROUP_ID: 1000
nss_wrapper location: /usr/lib64/libnss_wrapper.so
Auto-selected VNC

------------------ change VNC password  ------------------

------------------ start noVNC  ----------------------------
start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1680x1050
...
start window manager
...


------------------ VNC environment started ------------------

VNCSERVER started on DISPLAY= :1 
 => connect via VNC viewer with 172.17.0.2:5901

noVNC HTML client started:
 => connect via <http://localhost/?password=abc123>

Final PATH variable:
/foss/tools/bin:/foss/tools/sak/:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/foss/tools/covered/19d30fc/bin:/foss/tools/fault/080f4be/:/foss/tools/gaw3-xschem/854bee4/bin:/foss/tools/gds3d/173da0c/bin:/foss/tools/ghdl/v2.0.0/bin:/foss/tools/gtkwave/7a0024d/bin:/foss/tools/iic-osic/:/foss/tools/irsim/25fe821/bin:/foss/tools/iverilog/74c52d6/bin:/foss/tools/klayout/428d0fe/:/foss/tools/magic/94daf98/bin:/foss/tools/netgen/3aeea9d/bin:/foss/tools/ngspice/ngspice/bin:/foss/tools/nvc/4efbf71/bin:/foss/tools/openlane/2022.11/:/foss/tools/openroad/127815b/bin:/foss/tools/opensta/489ffac/bin:/foss/tools/padring/b2a64ab/bin:/foss/tools/qflow/a550469/bin:/foss/tools/verilator/v5.002/bin:/foss/tools/xschem/0b86399/bin:/foss/tools/xyce/Parallel/Release/bin:/foss/tools/yosys/6e907ac/bin
USER_ID: 1000, GROUP_ID: 1000
nss_wrapper location: /usr/lib64/libnss_wrapper.so
Auto-selected VNC

------------------ change VNC password  ------------------

------------------ start noVNC  ----------------------------
start vncserver with param: VNC_COL_DEPTH=24, VNC_RESOLUTION=1680x1050
...
start window manager
...


------------------ VNC environment started ------------------

VNCSERVER started on DISPLAY= :1 
 => connect via VNC viewer with 172.17.0.2:5901

noVNC HTML client started:
 => connect via <http://localhost/?password=abc123>
g
Thank you for that. I will test this myself, because it is quite suprising and I'd really like to prevent basically disabling all security features of docker.