Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] QEMU setup questions
Date: Thu, 25 Jul 2013 03:25:10
In Reply to: [gentoo-user] QEMU setup questions by Walter Dnes
1 Thanks to all who replied. sys-firmware/seabios needed the "binary"
2 flag and sys-firmware/ipxe needed the "qemu" and "vmware" flags. It's
3 starting now, and most of my problems are solved.
5 I still have permission problems as a regular user with qemu-kvm, but
6 qemu-system-i386 works. Root can start qemu-kvm. "modprobe kvm-intel"
7 from a root xterm, followed by "qemu-kvm blahblahblah" from a regular
8 user (i.e. "waltdnes") fails...
10 Could not access KVM kernel module: Permission denied
11 failed to initialize KVM: Permission denied
13 Before anybody asks...
15 # grep kvm /etc/group
16 kvm:x:78:waltdnes,user2
19 One more question... I rebuilt qemu with sdl enabled, and now have the
20 Gentoo install ISO booting up in a window via sdl with...
22 qemu-system-i386 -cpu qemu32 -m 3072 -hda sda.raw -cdrom installx86.iso -boot d
24 But the screen refreshes are somewhat slow. I'd prefer to do it with
25 vnc. What is the way to boot up and connect with vnc now? Starting
26 with...
28 qemu-system-i386 -vnc :0 -cpu qemu32 -m 3072 -hda sda.raw -cdrom installx86.iso -boot d
30 no output at all. "ps -ef" shows the qemu process is present.
31 I've installed tightvnc, but documentation is almost non-existant.
32 Google turns up tons of download sites and instructions for Windows,
33 complete with screen captures of cutsie-wootsie dialogue windows. I need
34 just 2 things please...
36 1) What vnc parameters to enter into the qemu commandline?
38 2) What "vncviewer" or "vncconnect" parameters do I use to get to the
39 qemu session?
41 I just had a scary thought... the vnc "help" mentions connecting to
42 the the client display. But the install cd boots up to a text console.
43 Please don't tell me that tightvnc can't connect to a plain text
44 console.
46 --
47 Walter Dnes <waltdnes@××××××××.org>
48 I don't run "desktop environments"; I run useful applications


Subject Author
Re: [gentoo-user] QEMU setup questions Kerin Millar <kerframil@×××××××××××.uk>