Closed Vann-Dev closed 1 week ago
Okay i managed to connect into ssh and qemu, using ubuntu iso, i think the problem was from the iso (idk so much about this)
But what's the password of the ssh?
You seem to be using a web browser to connect to port 5900. Instead, you need to use an actual VNC client, like Remmina. You could instead disable VNC and connect to port 8006 with this docker-compose file
services:
qemu:
image: qemux/qemu-docker
environment:
RAM_SIZE: "512M"
DISK_SIZE: "1G"
BOOT: "https://dl-cdn.alpinelinux.org/alpine/v3.9/releases/x86_64/alpine-virt-3.9.6-x86_64.iso"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 2204:22
- 8006:8006
stop_grace_period: 2m
Note that the DISPLAY
environment variable has been removed and we're mapping port 8006 instead of 5900. Then, in your web browser, instead of connecting to http://localhost:5900
, connect to http://localhost:8006
Is your question not already answered in the FAQ?
Is this a general question and not a technical issue?
Question
How do I connect to the SSH?, and how can I connect via VNC too?
if I remember that Vnc is on 5900 right?, I've read some of the issues created by other too https://github.com/qemus/qemu-docker/issues/573#issuecomment-2240634671
but when I access it it showed nothing on the web![image](https://github.com/user-attachments/assets/01bdb66b-93fe-41d1-a6f7-106119174d24)
also how do I connect into the ssh?, since I got this![image](https://github.com/user-attachments/assets/42a9ced1-a2c3-4bf3-848b-d6001f116798)