You are not logged in.

#1 2020-11-28 19:49:14

avongil
Member
From: Easton, PA
Registered: 2013-10-06
Posts: 24
Website

[SOLVED] KVM/QEMU Installing OS from an external client

Hi everyone,

How can I have the built in VNC server listen to all and not just the localhost?

I am trying to install a pihole on a bare bones Ubuntu VM.  This would be my first VM  on Arch, and I was hoping to go minimal.   
The server is headless. 

I am trying to install the base OS remotely on a windows machine with TigerVNC.  When I try to VNC to  (local_IP):5900 the connection is actively refused.

avongil@gmsrv QEMU: $ qemu-system-x86_64 -cdrom /mnt/spindrive/btrfs-backup/faxscan/ubuntu-20.04.1-live-server-amd64.iso -boot menu=on -drive file=pihole,format=raw

It seems to be running - command outputs: 

VNC server running on 127.0.0.1:5900

Any other suggestions welcome. If there is a better way to get a pihole going on this arch machine that would be fine. I do want to keep it sandboxed because I am running a unify controller on the bare metal Arch.

Thanks.

Last edited by avongil (2020-11-29 01:25:10)

Offline

#2 2020-11-28 23:06:51

loqs
Member
Registered: 2014-03-06
Posts: 17,310

Re: [SOLVED] KVM/QEMU Installing OS from an external client

Have you tried different parameters to the -vnc option?  Details in man 1 qemu.

Offline

#3 2020-11-29 01:11:32

avongil
Member
From: Easton, PA
Registered: 2013-10-06
Posts: 24
Website

Re: [SOLVED] KVM/QEMU Installing OS from an external client

qemu-system-x86_64 -m 1G -vnc (ArchSrvrIP):0 -cdrom ubuntu2004.iso -boot menu=on -drive file=pihole,form
at=raw

Works great. Thanks.  Installing Debian now!  So cool.

Last edited by avongil (2020-11-29 01:23:39)

Offline

Board footer

Powered by FluxBB