>
> -----Original Message-----
> From:
yamamoto@xxxxxxxxxxxxx (YAMAMOTO Takashi)
> Date: Tue, 25 May 2010 10:13:56
> To: <
nge@xxxxxxxx>
> Cc: <
xen-users@xxxxxxxxxxxxxxxxxxx>
> Subject: Re: [Xen-users] XCP: how to use console?
>
> hi,
>
>> You need use an ssh tunneling from localhost to you machine.
>>
>> When VM starts it's serial console binding by vncterm to localhost:590X port (you can see it by netstat -l). If you tunnels those ports you can access it by VNC client (n.b. not all vnc displays data correctly, in my case I use tkvnc).
>
> thanks, it seems to work in some extent. Â(i tried with vncviewer)
>
> a question; i see only 2 listening ports while i have 3 vm running
> on the host. Âis it normal?
>
> another question; which port is for which vm?
>
> [root@s1 ~]# xe vm-list|grep running
> Â Â power-state ( RO): running
> Â Â power-state ( RO): running
> Â Â power-state ( RO): running
> [root@s1 ~]# netstat -l|grep 590
> tcp    Â0   Â0 localhost:5900       Â*:*             LISTEN
> tcp    Â0   Â0 localhost:5901       Â*:*             LISTEN
> [root@s1 ~]#
>
>>
>> As alternative you can use /usr/lib/xen/bin/xenconsole X from xcp host shell, but it really buggly. (X is 0, 1,2,3,...etc).
>
> it segfaulted for me, sure. :-)
>
> YAMAMOTO Takashi
>
>>
>> 24.05.10, 12:16, "YAMAMOTO Takashi" <
yamamoto@xxxxxxxxxxxxx>:
>>
>>> hi,
>>>
>>> Âi'm trying to create a Debian Lenny 5.0 vm.
>>> Âafter i run xe vm-install and xe vm-start,
>>> Âthe vm is shown as "running" by xe vm-list.
>>> Ânow i have a question; how can i use its console?
>>>
>>> Â
https://thehost/console doesn't seem to work. Â(it says "not found".)
>>> Âi'm using xcp 0.1.1 (build20719)
>>>
>>> Âif it matters, the following is the exact commands i executed.
>>>
>>> Â[root@s1 ~]# xe vm-install template="Debian Lenny 5.0" new-name-label=xxx sr-uuid=ce71910c-c34a-e5fb-e911-c08c633d5406
>>> Â4f92b7db-2596-cb95-d585-654a4c545ddd
>>> Â[root@s1 ~]# xe vm-param-set uuid=4f92b7db-2596-cb95-d585-654a4c545ddd other-config:install-repository=
http://ftp.debian.org/debian
>>> Â[root@s1 ~]# xe vm-start uuid=4f92b7db-2596-cb95-d585-654a4c545ddd
>>> Â[root@s1 ~]#
>>>
>>> ÂYAMAMOTO Takashi
>>>
>>> Â_______________________________________________
>>> ÂXen-users mailing list
>>> Â
Xen-users@xxxxxxxxxxxxxxxxxxx
>>> Â
http://lists.xensource.com/xen-users
>>>
>>>
>>
>> --
>> wBR,George.
>>
>> _______________________________________________
>> Xen-users mailing list
>>
Xen-users@xxxxxxxxxxxxxxxxxxx
>>
http://lists.xensource.com/xen-users
>
> _______________________________________________
> Xen-users mailing list
>
Xen-users@xxxxxxxxxxxxxxxxxxx
>
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users