... | @@ -9,7 +9,7 @@ If you want to run VirtualBox in Windows see [Installation on Windows](Win10 Ins |
... | @@ -9,7 +9,7 @@ If you want to run VirtualBox in Windows see [Installation on Windows](Win10 Ins |
|
|
|
|
|
## Ubuntu 20.04 LTS Virtual Machine
|
|
## Ubuntu 20.04 LTS Virtual Machine
|
|
* Ubuntu 20.04 LTS Server installation.
|
|
* Ubuntu 20.04 LTS Server installation.
|
|
* 2 Gb of memory, 40 Gb disk, nat network.
|
|
* 2 Gb memory, 40 Gb disk, nat network.
|
|
* OpenSSH-server running.
|
|
* OpenSSH-server running.
|
|
* Geant4 10.6.3 and Root 6.22/02 preinstalled.
|
|
* Geant4 10.6.3 and Root 6.22/02 preinstalled.
|
|
* build-essential, curl, gnu g++, git and cmake packages.
|
|
* build-essential, curl, gnu g++, git and cmake packages.
|
... | @@ -51,7 +51,7 @@ From the command line you can use the command for import: |
... | @@ -51,7 +51,7 @@ From the command line you can use the command for import: |
|
|
|
|
|
`$ VBoxManage import g4vm-ubuntu-20.ova`
|
|
`$ VBoxManage import g4vm-ubuntu-20.ova`
|
|
|
|
|
|
## More VM customisation
|
|
## More VM customisations
|
|
|
|
|
|
You can use VirtualBox GUI to make additional modifications in VM.
|
|
You can use VirtualBox GUI to make additional modifications in VM.
|
|
You can add disk, shared points, network interfaces, etc. by selecting
|
|
You can add disk, shared points, network interfaces, etc. by selecting
|
... | @@ -101,7 +101,7 @@ You can also stop the vm with host command: |
... | @@ -101,7 +101,7 @@ You can also stop the vm with host command: |
|
## Tests
|
|
## Tests
|
|
|
|
|
|
In the vagrant home directory you can see the file _setup_env.sh_.
|
|
In the vagrant home directory you can see the file _setup_env.sh_.
|
|
You need to source this file before starting your worg with Geant4 or ROOT:
|
|
You need to source this file before starting your work with Geant4 or ROOT:
|
|
|
|
|
|
`. setup_env.sh`
|
|
`. setup_env.sh`
|
|
|
|
|
... | @@ -131,7 +131,10 @@ passwd semenjuk |
... | @@ -131,7 +131,10 @@ passwd semenjuk |
|
- use *source* not *.* to source setup scripts
|
|
- use *source* not *.* to source setup scripts
|
|
|
|
|
|
- OpenGL
|
|
- OpenGL
|
|
- If you see the errors when run exaples
|
|
- If you run vm on MacOS and see black screen when run examples via ssh connection, check _enable_iglx_ option in X11 server, it must be true.
|
|
|
|
`defaults write org.macosforge.xquartz.X11 enable_iglx -bool true`
|
|
|
|
|
|
|
|
- If you see the errors when run examples:
|
|
```
|
|
```
|
|
libGL error: No matching fbConfigs or visuals found
|
|
libGL error: No matching fbConfigs or visuals found
|
|
libGL error: failed to load driver: swrast
|
|
libGL error: failed to load driver: swrast
|
... | | ... | |