All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Neil Aggarwal <neil@JAMMConsulting.com>
Cc: kvm@vger.kernel.org
Subject: Re: Install a new guest remotely?
Date: Mon, 11 Jan 2010 16:28:05 +0000	[thread overview]
Message-ID: <20100111162805.GO1836@redhat.com> (raw)
In-Reply-To: <8D99384881314DC3AFD921018B113057@neilhp>

On Mon, Jan 11, 2010 at 10:20:02AM -0600, Neil Aggarwal wrote:
> Hello:
> 
> > is a pain I'm using virt-install but I need X installed, we do not 
> > install X on our servers at all, and will rather not to. So can I do 
> 
> Our KVM servers are remote and do not have X installed.
> 
> When we install a guest, we tell it to use vnc
> by adding --vnc --noautoconsole to the virt-install
> command.

Yep, that is the best way to run virt-install on a head-less machine

> Then use virsh vncdisplay to get the port on the server
> to connect your VNC viewer.  We use an SSH tunnel
> for the connection to ensure security.

You can also use  "virt-viewer"  to automate that bit of the process

  virt-viewer --connect qemu+ssh://root@servername/system GUESTNAME

and virt-viewer will connect to libvirt on the remote host, query the
VNC port and setup  an SSH tunnel for the VNC connection. It is 
essentially a VNC client that knows about libvirt. It can do TLS or
SASL security instead of SSH tunnels too if desired

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

  reply	other threads:[~2010-01-11 16:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 16:11 Install a new guest remotely? rek2
2010-01-11 16:20 ` Neil Aggarwal
2010-01-11 16:28   ` Daniel P. Berrange [this message]
2010-01-11 16:37   ` rek2
2010-01-11 16:40     ` Daniel P. Berrange
2010-01-11 16:45       ` rek2
2010-01-11 16:52         ` rek2
2010-01-11 17:46           ` Mihamina Rakotomandimby
     [not found]   ` <4B4B5190.6050603@binaryfreedom.info>
2010-01-11 17:20     ` Neil Aggarwal
2010-01-11 17:24       ` rek2

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=20100111162805.GO1836@redhat.com \
    --to=berrange@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=neil@JAMMConsulting.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 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.