You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with the setup script for vmware where if you're running it from a headless console session (e.g. SSH), the script will fail due to the lack of a display driver:
$ ./goad.sh -t install -l GOAD -p vmware -m docker
[✓] Task: install
[✓] Lab: GOAD
[✓] Provider: vmware
[✓] Method: docker
[✓] folder ad/GOAD/providers/vmware found
[✓] Launch installation for: GOAD / vmware / docker
[✓] launch vagrant
Bringing machine 'GOAD-DC01' up with 'vmware_desktop' provider...
Bringing machine 'GOAD-DC02' up with 'vmware_desktop' provider...
Bringing machine 'GOAD-DC03' up with 'vmware_desktop' provider...
Bringing machine 'GOAD-SRV02' up with 'vmware_desktop' provider...
Bringing machine 'GOAD-SRV03' up with 'vmware_desktop' provider...
==> GOAD-DC01: Cloning VMware VM: 'StefanScherer/windows_2019'. This can take some time...
==> GOAD-DC01: Checking if box 'StefanScherer/windows_2019' version '2021.05.15' is up to date...
==> GOAD-DC01: Verifying vmnet devices are healthy...
==> GOAD-DC01: Preparing network adapters...
==> GOAD-DC01: Starting the VMware VM...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:
Command: ["-T", "ws", "start", "/mnt/hdd1/GOAD/ad/GOAD/providers/vmware/.vagrant/machines/GOAD-DC01/vmware_desktop/1e52492e-3c35-4847-8060-e8cbfc586631/WindowsServer2019.vmx", "gui", {:notify=>[:stdout, :stderr], :timeout=>45}]
Stdout: Error: Cannot launch the UI because no display server is present in the current environment
Stderr: XDG_RUNTIME_DIR (/run/user/0) is not owned by us (uid 13015), but by uid 0! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
Warning: program compiled against libxml 210 using older 209
/home/user/GOAD
[!] vagrant finish with error abort
If I connect via RDP and run the same script it works fine. There probably should be a change to the script (or a warning in the documentation) that tells people to make sure they're running it with GUI support.
The text was updated successfully, but these errors were encountered:
There is an issue with the setup script for vmware where if you're running it from a headless console session (e.g. SSH), the script will fail due to the lack of a display driver:
If I connect via RDP and run the same script it works fine. There probably should be a change to the script (or a warning in the documentation) that tells people to make sure they're running it with GUI support.
The text was updated successfully, but these errors were encountered: