-
Notifications
You must be signed in to change notification settings - Fork 1
Debugging with VNC
Kenta Kubo edited this page Sep 15, 2024
·
6 revisions
How to use on Fedora Asahi Remix 40:
- Enable QEMU's VNC support
- Install dependencies
- Fedora 40:
sudo dnf install pixman-devel
- Debian 12:
sudo apt install --no-install-recommends ninja-build libglib2.0-dev flex bison libpixman-1-dev
- Fedora 40:
- Build QEMU again with VNC enabled
- Download source code
tar xvf <downloaded .tar.xz file>
cd <extracted directory>
./configure --enable-vnc
make -j
sudo make install
- Install dependencies
- Run QEMU
- Change the current directory to swift_os
- Modify
Makefile
(or instead, you can use SSH port forwarding using a SSH client app (e.g. Blink Shell))- $(QEMU) -machine raspi4b -kernel $(IMG) -serial stdio + $(QEMU) -machine raspi4b -kernel $(IMG) -serial stdio -display vnc=0.0.0.0:0
- Run
make run
- Connect to
<IP address>:5900
from a VNC client (e.g. Screens or RealVNC Viewer)