Results 1 to 2 of 2

Thread: connect to console of VM in Xen

  1. #1
    sj18 NNTP User

    Default connect to console of VM in Xen

    Hi all,
    I am new in openSUSE and Xen.
    I install openSUSE 11.0 and Xen.
    After install, I create two VM of WindowsXP in Xen by GUI, everything fine.

    I restart server and start first VM by
    xm create xp1 and connect to VM by
    vncviewer 127.0.0.1 is fine

    I start second VM by
    xm create xp2

    At this point, How to connect to console of second VM ?.


    PS.
    Sorry for bad in english.

    Sj.

  2. #2
    mjcoss NNTP User

    Default Re: connect to console of VM in Xen

    When you configure the VM, you can specify the display number to associate with that particular VM. Add the line vncdisplay="X" where X is some small positive integer. Then execute

    vncviewer 127.0.0.1

    will connect you to the appropriate VM.

    Without the vncdisplay line in the configuration file, I believe that it assigns the next available integer value. The first VM will be on :0, then next will be on :1, etc.

    vncviewer 127.0.0.1 is equivalent to vncviewer 127.0.0.1:0

    You can determine what the display number is by using netstat. VNC servers listen (by default) on port 5900 + display number.

Posting Permissions

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