All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Liu <satimis@yahoo.com>
To: kvm@vger.kernel.org
Subject: Re: How to run KVM on non-X environment
Date: Tue, 29 Jul 2008 00:06:32 +0800 (CST)	[thread overview]
Message-ID: <532809.2193.qm@web35208.mail.mud.yahoo.com> (raw)
In-Reply-To: <200807280936.48137.alberto@byu.edu>

Hi Alberto,


Thanks for your advice.


> On Monday 28 July 2008 08:09:58 am you wrote:
> > # kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc IP:0
> > Could not parse VNC address
> >
> > # kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc IP:1
> > Could not parse VNC address
> 
> The "IP" address is the listening IP address on the host.  If you
> have more 
> than one NIC and wish to only listen on NIC, then you specify the IP
> address 
> (not "IP").  If you only have one NIC, or you wish to listen for VNC 
> connections on all NIC's, or you just want the thing to work, then
> specify:

I have only one NIC on the server.


> kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :0

I ran above command direct on the server as root (not remotely on
desktop)

It just hangs there on Xterm.


ubuntu6.06.img is on /root/ubuntu6.06.img


Tried again;

# kvm ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :0

It also hangs on the Xterm


If without -vnc :0

# kvm ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d

     =======================|  DirectFB 1.0.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-04-08 15:15) 
(*) Direct/Memcpy: Using libc memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
    --> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment
variable.
(!) DirectFB/Core: Could not initialize 'system' core!
    --> Initialization error!
Could not initialize SDL - exiting


I expect clarifying following points;

1) I don't run X on the server.  There are no X packages installed.
2) The CD on the CD-Drive is Ubuntu6.06 installer, NOT its iso image

Can I use the above command?  TIA


B.R.
Stephen


> 
> Then, on your desktop, run "vncviewer host:0" to connect
> (substituting 
> "host" for the domain name or IP address of your KVM host).
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

       reply	other threads:[~2008-07-28 16:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200807280936.48137.alberto@byu.edu>
2008-07-28 16:06 ` Stephen Liu [this message]
     [not found] <200807281127.20719.alberto@byu.edu>
2008-07-29  9:10 ` How to run KVM on non-X environment Stephen Liu
2008-07-28 17:42 How to run KVM on non-X environment (RESEND) 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
2008-07-29 16:04     ` Stephen Liu
2008-07-29 10:16 ` Stephen Liu
     [not found] <alpine.LFD.1.10.0807281529480.12809@bcny.fcbq.bet>
2008-07-28 16:09 ` Stephen Liu
  -- strict thread matches above, loose matches on Subject: below --
2008-07-28  5:18 Stephen Liu
2008-07-28  6:33 ` Ian Kirk
2008-07-28  7:02   ` Stephen Liu
2008-07-28  6:41 ` Thomas Mueller

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=532809.2193.qm@web35208.mail.mud.yahoo.com \
    --to=satimis@yahoo.com \
    --cc=kvm@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.