Comments (6)
Hi, execute container:
docker run -i --device /dev/kvm -p 50922:10022 -p 5999:5999 -p 5900:5900 -p 99:99 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e EXTRA="-display none -vnc 0.0.0.0:99,password=on" sickcodes/docker-osx:ventura
After that press Enter in terminal:
QEMU console will be appear.
Type in (qemu)
change vnc password <YOUR_PASSWORD>
In your macos vnc connection:
Host: vnc://<YOUR_IP>:5999
Example: vnc://127.0.0.1:5999
I hope it helps!
from docker-osx.
I hope it helps!
Many thanks! That worked. But when I restart the container, how can I get the qemu console again to set a VNC password?
The container somehow stopped during installation, I restarted it with "docker restart zealous_wescoff", but when I do "docker exec -it zealous_wescoff bash", I of course get the bash and I do not know how to set the VNC password then.
I tried to start it with this and got an error:
[arch@12b11851358b OSX-KVM]$ qemu-system-x86_64
gtk initialization failed
from docker-osx.
Mr. Bard, try access container via bash and run:
qemu-system-x86_64 [...OPTIONS...] -vnc :0,password=on -monitor stdio
-vnc :<NUMBER_PORT>
NUMBER_PORT is:
0 -> 5900
1 -> 5901
2 -> 5902
Reference: https://www.qemu.org/docs/master/system/vnc-security.html
This command will open the terminal (qemu)
from docker-osx.
Or you can restar container with:
docker start -ai <CONTAINER_ID>
from docker-osx.
qemu-system-x86_64 [...OPTIONS...] -vnc :0,password=on -monitor stdio
This command will open the terminal (qemu)
Many thanks. But does not work for me:
user@users-iMac-Pro ~ % qemu-system-x86_64 -vnc :0,password=on -monitor stdio
zsh: command not found: qemu-system-x86_64
from docker-osx.
I tried today again and it did work partially. Unfortunately, it did only open a port on ipv6, not ipv4:
qemu-system-x86_64 -vnc :0,password=on -monitor stdio
QEMU 7.1.0 monitor - type 'help' for more information
(qemu) vnc info
unknown command: 'vnc'
(qemu) info vnc
default:
Server: :::5900 (ipv6)
Auth: vnc (Sub: none)
(qemu) change vnc password
Password: *******
from docker-osx.
Related Issues (20)
- ssh: connect to host 127.0.0.1 port 10022: Connection refused HOT 1
- "/dev/kvm": no such file or directory on Debian 12 HOT 6
- iPhone not recognized in Xcode HOT 1
- using docker-compose HOT 2
- How do I use the host's sound card
- How to open qemu console in headless image? HOT 4
- The way to customize cpu core number in Readme not working
- Is it possible to put my mac mini serial number on docker....and for docker to activate imessage that way? HOT 1
- Cannot load Base system HOT 2
- New pre-made build? HOT 1
- Mouse changes in Sonoma, makes High Sierra and Mojave mouse not work. HOT 1
- Safari doesn't recognize open simulator
- Clean up the README.md and put everyting into GitHub's Wiki & Make a container that is configured to already be headless
- Increase RAM of existing container HOT 1
- No user inputs while running image in NAKED container. HOT 1
- No mouse control when trying to run preinstalled catalina HOT 7
- KVM acceleration can be used, but /dev/kvm not found
- Unable to boot system after installation (sonoma) HOT 1
- not showing in boot picker when Using own image file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-osx.