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
Message-Id: 20130725032451.GA26319@waltdnes.org
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.
4
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...
9
10 Could not access KVM kernel module: Permission denied
11 failed to initialize KVM: Permission denied
12
13 Before anybody asks...
14
15 # grep kvm /etc/group
16 kvm:x:78:waltdnes,user2
17
18
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...
21
22 qemu-system-i386 -cpu qemu32 -m 3072 -hda sda.raw -cdrom installx86.iso -boot d
23
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...
27
28 qemu-system-i386 -vnc :0 -cpu qemu32 -m 3072 -hda sda.raw -cdrom installx86.iso -boot d
29
30 ...gives 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...
35
36 1) What vnc parameters to enter into the qemu commandline?
37
38 2) What "vncviewer" or "vncconnect" parameters do I use to get to the
39 qemu session?
40
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.
45
46 --
47 Walter Dnes <waltdnes@××××××××.org>
48 I don't run "desktop environments"; I run useful applications

Replies

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