rse-verification / auto-deduct-toolchain

Project for composing a formal verification toolchain
GNU General Public License v2.0
0 stars 0 forks source link

Cannot run frama-c-gui from the docker container on Ubuntu Linux #3

Closed clid closed 6 months ago

clid commented 6 months ago

I am running Ubuntu in a virtual machine, with the following config:

Running echo $XDG_SESSION_TYPE gives Wayland.

In the virtual machine I can run frama-c-gui fine. With the docker image I get the following error message: ** (frama-c-gui:470): CRITICAL **: 11:41:11.606: GSourceFunc: callback raised an exception Following the message the GUI does not start, and the application does not halt either. Running frama-c works as expected also in the docker container.

woosh commented 6 months ago

Thanks for the bug report. This issue can be resolved by adding a few arguments to the docker run command:

docker run -it --env DISPLAY=$DISPLAY --volume /tmp/.X11-unix:/tmp/.X11-unix

'This will be added to the documentation.