From: Javier Guerra Giraldez <javier@guerrag.com>
To: Stephen Liu <satimis@yahoo.com>
Cc: kvm@vger.kernel.org
Subject: Re: How to run KVM on non-X environment
Date: Tue, 29 Jul 2008 10:50:03 -0500 [thread overview]
Message-ID: <200807291050.04450.javier@guerrag.com> (raw)
In-Reply-To: <939610.42666.qm@web35203.mail.mud.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]
On Tuesday 29 July 2008, Stephen Liu wrote:
> # kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :1
>
> It was hanging there.
it's not a hang. it's running, but all feedback goes to the VNC port. maybe
you'd like it to run in the background, so you get the prompt back. just add
a '&' at the end:
kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :1 &
> On local desktop Xterm after ssh-connect the server;
>
> # netstat -antp
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> tcp 0 0 0.0.0.0:5901 0.0.0.0:*
> LISTEN 5682/kvm
> tcp 0 0 192.168.122.1:53 0.0.0.0:*
> LISTEN 5100/dnsmasq
> tcp6 0 0 :::22 :::*
> LISTEN 5561/sshd
> tcp6 0 0 192.168.0.110:22 192.168.0.36:45338
> ESTABLISHED 5566/0
>
>
> Is the VM running?
yes, and port 5901 is VNC's port 1 (since you used -vnc :1)
you do need a VNC client. it would be the 'screen and keyboard' of the
virtual machine. you need at least that to install an OS. after that, you
could setup any kind of network access you like directly to the VM (ssh, X,
RDP, etc)
--
Javier
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-07-29 15:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 5:18 How to run KVM on non-X environment Stephen Liu
2008-07-28 6:33 ` Ian Kirk
2008-07-28 7:02 ` Stephen Liu
2008-07-28 6:41 ` Thomas Mueller
2008-07-28 7:06 ` How to run KVM on non-X environment (RESEND) Stephen Liu
2008-07-28 7:09 ` Thomas Mueller
2008-07-28 14:09 ` Stephen Liu
2008-07-28 17:42 ` Thomas Mueller
2008-07-29 8:51 ` How to run KVM on non-X environment Stephen Liu
2008-07-29 15:50 ` Javier Guerra Giraldez [this message]
2008-07-29 16:04 ` Stephen Liu
2008-07-29 10:16 ` Stephen Liu
[not found] <200807280936.48137.alberto@byu.edu>
2008-07-28 16:06 ` Stephen Liu
[not found] <alpine.LFD.1.10.0807281529480.12809@bcny.fcbq.bet>
2008-07-28 16:09 ` Stephen Liu
[not found] <200807281127.20719.alberto@byu.edu>
2008-07-29 9:10 ` Stephen Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200807291050.04450.javier@guerrag.com \
--to=javier@guerrag.com \
--cc=kvm@vger.kernel.org \
--cc=satimis@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox