OneClick-macOS-Simple-KVM
OneClick-macOS-Simple-KVM copied to clipboard
Ubuntu 20.04 lts clean install Could not connect: Connection refused
Describe the bug On running the setup.sh it downloads the mac image but after wards directly spits out Unable to init server: Could not connect: Connection refused To Reproduce Steps to reproduce the behavior:
- clone the git repo
- run setup.sh
- chose 4 as recomended
- See error
Expected behavior Download mac image and setup the dependencies and VM
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: ubuntu 20.04 LTS with apt update and upgrade run before git clone
- Version 20.04LTS running on an Intel Xeon E5-2670v1
Additional context had teh same with the simple mac os kvm git
@sojab0on try running the kvm-ok
command, and tell me the results.
And make sure to enable kvm and other visualization it the BIOS
BIOS is set correctly
output for kvm-ok
user@Docker01:~$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
Bios setup is set to do intel VT VT-x and VT-D
@sojab0on what is the full list of the output? (like all of the messages it tells you when you run the vm)
$ ./basic.sh
Could not connect: Connection refused
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.fma [bit 12]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit 22]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.smep [bit 7]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi2 [bit 8]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsaveopt [bit 0]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsavec [bit 1]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xgetbv1 [bit 2]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.fma [bit 12]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit 22]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.smep [bit 7]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi2 [bit 8]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsaveopt [bit 0]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsavec [bit 1]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xgetbv1 [bit 2]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.fma [bit 12]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit 22]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.smep [bit 7]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi2 [bit 8]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsaveopt [bit 0]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsavec [bit 1]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xgetbv1 [bit 2]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.fma [bit 12]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit 22]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.smep [bit 7]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi2 [bit 8]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsaveopt [bit 0]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsavec [bit 1]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xgetbv1 [bit 2]
qxl_send_events: spice-server bug: guest stopped, ignoring
Al those messages are warnings except the QXL on the bottom never seen that one before
the host features have been resolved now
other issue is the make.sh puts out this error
/run/current-system/sw/bin/qemu-system-x86_64: No such file or directory
it is correct that folder does not exsist
Did a clean install of ubuntu 20.04.2 lts again upgraded is now setup.sh spits out
sudo ./setup.sh
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
python3 is reeds de nieuwste versie (3.8.2-0ubuntu2).
qemu-system is reeds de nieuwste versie (1:4.2-3ubuntu6.23).
qemu-utils is reeds de nieuwste versie (1:4.2-3ubuntu6.23).
python3-pip is reeds de nieuwste versie (20.0.2-5ubuntu1.6).
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 374 niet opgewaardeerd.
1. High Sierra (10.13)
2. Mojave (10.14)
3. Catalina (10.15)
4. Big Sur (11.6) - RECOMMENDED
5. Monterey (latest)
Choose a product to download (1-5): 4
Big Sur (11.6) - RECOMMENDED
Downloading 694-35959...
Saving http://oscdn.apple.com/content/downloads/41/28/071-71279/5djpevqmc2w0ti2c4n1m8mkz7fm791t1ic/RecoveryImage/BaseSystem.dmg to BaseSystem.dmg...
Note: The total download size is 637.20 MB
Download complete!
Saving http://oscdn.apple.com/content/downloads/41/28/071-71279/5djpevqmc2w0ti2c4n1m8mkz7fm791t1ic/RecoveryImage/BaseSystem.chunklist to BaseSystem.chunklist...
Note: The total download size is 2596 bytes
Download complete!
Unable to init server: Could not connect: Connection refused
gtk initialization failed
After installing a soundcard that was ALSA suported the alsa erors dispeard but it keeps dooing this. Any indeas on how to fixthe GTK and init server errors
@sojab0on this should resolve the errors
sudo chmod 666 /dev/kvm
sudo xhost +
echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
Closing as I think this resolved the issue. @sojab0on tell me if I am wrong.