Linux.com

wikisb

wikisb

  • Linux.com Member
  • Posts: 12
  • Member Since: 28 Apr 11
  • Last Logged In: 04 May 11

Latest Posts

Posted by
Topic
Post Preview
Posted
  • wikisb
    RE: virt-install becoming a headache
    thanks alot for helping me atreyu i'm friendly with putty ;) i have done what you told me connect to my server with putty enabling X11 forwarding. doing echo $DISPLAY it print me a blank line. then doing virt-install again it happens the same thing as before when it enters "Installation Method" i can't do nothing. i have Xming in my system tray but it seems it does nothing. if i right click on it and enable root window it appears a full window white and black pixeled and nothing more
    Link to this post 05 May 11

    thanks alot for helping me atreyu

    i'm friendly with putty ;)
    i have done what you told me connect to my server with putty enabling X11 forwarding.
    doing echo $DISPLAY it print me a blank line.
    then doing virt-install again it happens the same thing as before when it enters "Installation Method" i can't do nothing.
    i have Xming in my system tray but it seems it does nothing. if i right click on it and enable root window it appears a full window white and black pixeled and nothing more

  • wikisb
    RE: virt-install becoming a headache
    im with Xming im sorry but im a little bit dumb with it. it suposes to run the graphical interface of programs of remote pc's ? well i'm not getting it. i do XLaunch then i select option "multiple window"->start_client-> start_program=xterm(no options to chose) Run remote using putty ip of my server , user root & pasword empty clipboard enabled -> Additional parameters i have it empty-> Finish then apears a putty window to put the password i put it but then it seems that nothing happens although putty its running in background it seems. i don't know if i'm suposed to do this or what :s
    Link to this post 05 May 11

    im with Xming
    im sorry but im a little bit dumb with it. it suposes to run the graphical interface of programs of remote pc's ? well i'm not getting it.
    i do XLaunch then i select option "multiple window"->start_client-> start_program=xterm(no options to chose) Run remote using putty ip of my server , user root & pasword empty clipboard enabled -> Additional parameters i have it empty-> Finish
    then apears a putty window to put the password i put it but then it seems that nothing happens although putty its running in background it seems.
    i don't know if i'm suposed to do this or what :s

  • wikisb
    RE: virt-install becoming a headache
    yes you are right it is a bit of a mess having a linux VM conected via ssh to my server to create VM. but my first intention was to create all the VM manually in the server without any other pc's or VM
    Link to this post 05 May 11

    yes you are right it is a bit of a mess having a linux VM conected via ssh to my server to create VM. but my first intention was to create all the VM manually in the server without any other pc's or VM

  • wikisb
    RE: virt-install becoming a headache
    hi atreyu now i will try xming and try what you told me. also i wrote to libvirt team and they told me this: "Using --location with a CDROM doesn't really work all that well. The easiest thing to do is mount that ISO somewhere and export the directory over HTTP, then use --location http://localhost/path/to/the/mounted/iso and it should all work" but i don't know how to export the mounted iso over HTTP i have searched a bit but...i have seen a side for client and another for server, but i guess that maybe there is a way to export it at server(my host) and with virt-install(the same host) puting -l http://localhost/PATH/to/mounted/ISO. or i am saying a stupid thing¬ø?
    Link to this post 05 May 11

    hi atreyu
    now i will try xming and try what you told me.
    also i wrote to libvirt team and they told me this:

    "Using --location with a CDROM doesn't really work all that well. The easiest
    thing to do is mount that ISO somewhere and export the directory over HTTP,
    then use --location http://localhost/path/to/the/mounted/iso and it should all
    work"

    but i don't know how to export the mounted iso over HTTP i have searched a bit but...i have seen a side for client and another for server, but i guess that maybe there is a way to export it at server(my host) and with virt-install(the same host) puting -l http://localhost/PATH/to/mounted/ISO. or i am saying a stupid thing¬ø?

  • wikisb
    RE: virt-install becoming a headache
    i followed the steps in your previous post. i used a linux VM with GUI on a windows host (not my election, where i work all pcs have win). i did echo $DISPLAY and it printed an empty line. i haven't run any graphical program because my server it has only what it needs to work without GUI. i haven't had a try because for each program with graphical interface there are lots of dependencies to install that i will not use i don't know if things change because i am using a linux guest. i'm wondering if maybe the problem that i have has something to do with the hardware of my server. thanks once again !!
    Link to this post 05 May 11

    i followed the steps in your previous post. i used a linux VM with GUI on a windows host (not my election, where i work all pcs have win). i did echo $DISPLAY and it printed an empty line.
    i haven't run any graphical program because my server it has only what it needs to work without GUI. i haven't had a try because for each program with graphical interface there are lots of dependencies to install that i will not use
    i don't know if things change because i am using a linux guest.
    i'm wondering if maybe the problem that i have has something to do with the hardware of my server.
    thanks once again !!

  • wikisb
    RE: virt-install becoming a headache
    also can someone tell me why during the installation in text mode, after the menu of language selection, the menu "Installation Method" i can't do nothing. i've tried all the options but it doesn't work nothing. i have seen that in graphical mode the menu "Installation Method" you can put rutes(rute in HD where is Iso, o where is cdrom, among other things) thing that you can't do in text mode thanks!!
    Link to this post 04 May 11

    also can someone tell me why during the installation in text mode, after the menu of language selection, the menu "Installation Method" i can't do nothing. i've tried all the options but it doesn't work nothing.
    i have seen that in graphical mode the menu "Installation Method" you can put rutes(rute in HD where is Iso, o where is cdrom, among other things) thing that you can't do in text mode
    thanks!!

  • wikisb
    RE: virt-install becoming a headache
    hi atreyu i have done what you said despite using --vnc instead of using text mode just to try if finally works a VM on my server. entering the command it printed a warning Gtk-WARNING **: cannot open display" i googled and i found something about xhost+localhost but it doesn,t solve nothing
    Link to this post 04 May 11

    hi atreyu
    i have done what you said despite using --vnc instead of using text mode just to try if finally works a VM on my server.
    entering the command it printed a warning
    Gtk-WARNING **: cannot open display"
    i googled and i found something about xhost+localhost but it doesn,t solve nothing

  • wikisb
    RE: virt-install becoming a headache
    hi again atreyu it seems that you are the only who is helping here sorry for posting things a bit late. i'm becoming feed up of it, im becoming frustated i have tried what you said trying with "--vnc" as i haven't got SDL libraries neither others of graphical things it prompted this : "(virt-viewer:9095) Gtk-WARNING **: cannot open display: Domain installation still in progress. You can reconnect to the console to complete the installation process" (the normal thing should be "running server 127.0.0.1 port 5900"???) i supose that i will have to connect with my server with putty or a similar program. my server si called "fsystem" and has a static ip as i havent put a specific port to vnc the port where is working vnc its 5900. so i have put in putty the static ip of my server and the port 5900 but it doesn't connect. with virsh list --all i get the VM running but i can't acces to it to install the OS guest. also i wanted to try with an xml. i pasted a xml file from one of my VM that i couldn't install(i did destroy & undefine of that VM) and changed some things so it showed the device /dev/cdrom or exactly the path of the iso. i did virsh create or define name.xml but i can't acces to it to begin the installation. if i do virsh list --all i see the VM of the xml running but nothing else i have done virsh console nameVM and it connects to domain but it only prints Espace character is ^] and it doesn't do nothing else.
    Link to this post 03 May 11

    hi again atreyu it seems that you are the only who is helping here
    sorry for posting things a bit late. i'm becoming feed up of it, im becoming frustated
    i have tried what you said trying with "--vnc"
    as i haven't got SDL libraries neither others of graphical things it prompted this :
    "(virt-viewer:9095) Gtk-WARNING **: cannot open display: Domain installation still in progress. You can reconnect to the console to complete the installation process" (the normal thing should be "running server 127.0.0.1 port 5900"???)
    i supose that i will have to connect with my server with putty or a similar program. my server si called "fsystem" and has a static ip as i havent put a specific port to vnc the port where is working vnc its 5900.
    so i have put in putty the static ip of my server and the port 5900 but it doesn't connect.
    with virsh list --all i get the VM running but i can't acces to it to install the OS guest.

    also i wanted to try with an xml. i pasted a xml file from one of my VM that i couldn't install(i did destroy & undefine of that VM) and changed some things so it showed the device /dev/cdrom or exactly the path of the iso. i did virsh create or define name.xml but i can't acces to it to begin the installation. if i do virsh list --all i see the VM of the xml running but nothing else

    i have done virsh console nameVM and it connects to domain but it only prints Espace character is ^] and it doesn't do nothing else.

  • wikisb
    RE: virt-install becoming a headache
    hi atreyu thanks once again to post. i have tried with "-c" or "--cdrom" but it just gets stuck at "connected to domain" "Escape character is ^]" i don't know what the heck is going on. at least with -l or --location it showed the menu installation but as before i don't know when it reaches the part of chossing the "Installation Method" i'm quite lost ;( what do you guess its going on with my server o whatever so you could execute with -c or --cdrom and i get stuck if i use them.
    Link to this post 03 May 11

    hi atreyu
    thanks once again to post.
    i have tried with "-c" or "--cdrom" but it just gets stuck at "connected to domain" "Escape character is ^]" i don't know what the heck is going on.
    at least with -l or --location it showed the menu installation but as before i don't know when it reaches the part of chossing the "Installation Method" i'm quite lost ;(
    what do you guess its going on with my server o whatever so you could execute with -c or --cdrom and i get stuck if i use them.

  • wikisb
    RE: virt-install becoming a headache
    hi again atreyu i did what you posted but i had to add a couple of things like the name of the guest & -file (wich i created with qemu-kvm of type qcow2). the -d (debug) went fine without any errors with the large command it showed me: Starting install .... Retrieving file .treeinfo.... Rretrieving file vmlinuz.... Retrieving initrd.im .... creating domain connected to domain BXVI and then it enteres the text based installation but i get stuck in a part where i commented in the first post with the command you put it only prints Lots of debuging stuff xml file Creating domain... 2 debug lines a big piece of XML connected to domain BXVI Escape character is ^] it gets stuck here it doesn't appear a text based installation as with the large command i tiped before. even if i add -x "console=ttyS0" i have all those paquets installed and libvirtd appears to work fine thanks for your response but i'm not getting further any other idea¬ø?¬ø?
    Link to this post 29 Apr 11

    hi again atreyu
    i did what you posted but i had to add a couple of things like the name of the guest & -file (wich i created with qemu-kvm of type qcow2).
    the -d (debug) went fine without any errors
    with the large command it showed me:
    Starting install ....
    Retrieving file .treeinfo....
    Rretrieving file vmlinuz....
    Retrieving initrd.im ....
    creating domain
    connected to domain BXVI
    and then it enteres the text based installation but i get stuck in a part where i commented in the first post

    with the command you put it only prints
    Lots of debuging stuff
    xml file
    Creating domain...
    2 debug lines
    a big piece of XML
    connected to domain BXVI
    Escape character is ^]
    it gets stuck here
    it doesn't appear a text based installation as with the large command i tiped before. even if i add -x "console=ttyS0"

    i have all those paquets installed and libvirtd appears to work fine
    thanks for your response but i'm not getting further
    any other idea¬ø?¬ø?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board