Results 1 to 3 of 3

Thread: KVM virt-manager: Access CentOS Installer Remotely Over The SSH

  1. #1
    Senior Member
    Join Date
    Jun 2005
    Posts
    194
    Thanks
    39
    Thanked 13 Times in 10 Posts
    Rep Power
    11

    Default KVM virt-manager: Access CentOS Installer Remotely Over The SSH

    Howdy!

    I wanted to access the centos Linux installer using virt-manager using openssh client. I'm using -X ssh X forwarding
    Code:
    ssh -X root@server.ip.add
    virt-manager
    I setup new guest as centos with 2GB RAM and 20GB disk space with eth0 as bridge. So far so good but when I save changes it never show me centos installer. How can I fix this?
    Learning shell and Perl scripting was one of best things I did..

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,513
    Thanks
    17
    Thanked 804 Times in 511 Posts
    Rep Power
    10

    Default

    You need to configure vncviewer or set correct security permissions by editing libvirtd.conf. Than only it will work. I suggest it as follows to start installation:
    Code:
    ssh -X user@server
    virt-install \
     -n centos \
     -r 1024 \
     --vcpus=2 \
    --os-variant=rhel5.4 \
    --accelerate \
    -v \
    -l http://mirrors.example.com/centos/5.4/os/x86_64/ \
    -w bridge:br0 \
    --vnc \
    --disk path=/path/to/centos.img,size=20
    This will start virt-viewer and X forwarding will display it back to UNIX operating PC.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  3. The Following User Says Thank You to nixcraft For This Useful Post:

    jerry (31st May 2010)

  4. #3
    Senior Member
    Join Date
    Jun 2005
    Posts
    194
    Thanks
    39
    Thanked 13 Times in 10 Posts
    Rep Power
    11

    Default

    It worked, thanks for the help!
    Learning shell and Perl scripting was one of best things I did..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Change password of linux servers remotely
    By renuka in forum Shell scripting
    Replies: 3
    Last Post: 26th June 2013, 05:11 AM
  2. Access NTFS partition in CentOS 64bit
    By savook in forum CentOS / RHEL / Fedora
    Replies: 3
    Last Post: 19th December 2009, 10:49 AM
  3. Custom CentOS installer
    By Feeyo in forum Linux software
    Replies: 4
    Last Post: 5th July 2007, 02:04 AM
  4. rkhunter installer script
    By digen in forum Shell scripting
    Replies: 2
    Last Post: 7th February 2007, 03:36 PM
  5. remotely running X from other system
    By ricc in forum Linux software
    Replies: 4
    Last Post: 15th September 2005, 11:19 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •