Hi,
The sumo-launchd.py script should have the ability to take an argument -c sumo-gui when you run it. This will launch sumo-gui when a simulation calls on it.
I would revert any changes you made to sumo-launchd.py
When you want to run an experiment with sumo-gui in the VM then run through the following:
- Launch Terminator
- cd to the veins directory should be src/veins directory
- Run the following command
python2 sumo-launchd.py -c sumo-gui -vvv
(-vvv is optional it just means that logging will come up when sumo-launchd gets up and running, I prefer to see some logging just to know it's definitely running correctly.)
You then should be good to go to run your simulations as normal in OMNet++. (I did this in the SimuLTE version of the VM, but I see no reason why it would be different in your one.
Regards,
Brian