<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div>

<div>i set up opennebula several times now, but for some reason this time I can't ssh into the ttylinux vm. I tried to install noVNC, because I thought there could be a problem with the contextualization,</div>

<div>maybe the public IP wasn't set correctly. Because the noVNC install script is located in /usr/share/opennebula/sunstone I changed the noVNC install script to the following:</div>

<div>
<div> </div>

<div>if [ -z "$ONE_LOCATION" ]; then<br/>
    ONE_SHARE=/usr/share/opennebula<br/>
    ONE_PUBLIC_SUNSTONE=/usr/lib/one/sunstone/public<br/>
    SUNSTONE_CONF=/etc/one/sunstone-server.conf<br/>
else</div>

<div> </div>

<div>Otherwise there was an error during installing. After installing vnc, I was able to see the vnc icon in sunstone, but when I click it nothing happens. I think there are no errors in the sunstone.log:</div>

<div> </div>

<div>
<div>XXX.XXX.177.212 - - [10/Dec/2013 13:36:38] "POST /vm/16/startvnc HTTP/1.1" 200 30 0.0009<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:06] "GET /vmtemplate?timeout=true HTTP/1.1" 200 1102 0.0765<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:06] "GET /group?timeout=true HTTP/1.1" 200 291 0.0034<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:06] "GET /vm?timeout=true HTTP/1.1" 200 2343 0.0206<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:11] "GET /host/monitor?title=graph1&monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpu&history_length=40 HTTP/1.1" 200 81 0.0047<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:11] "GET /vm/monitor?title=graph3&monitor_resources=total%2Cactive%2Cerror&history_length=40 HTTP/1.1" 200 71 0.0044<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:11] "GET /host/monitor?title=graph2&monitor_resources=mem_usage%2Cused_mem%2Cmax_mem&history_length=40 HTTP/1.1" 200 81 0.0040<br/>
<span style="display: none;"> </span>XXX.XXX.177.212 - - [10/Dec/2013 13:37:11] "GET /vm/monitor?title=graph4&monitor_resources=net_tx%2Cnet_rx&history_length=40 HTTP/1.1" 200 61 0.0032<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:15] "GET /host?timeout=true HTTP/1.1" 200 1107 0.0131<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:19] "GET /acl?timeout=true HTTP/1.1" 200 377 0.0688<br/>
XXX.XXX.177.212 - - [10/Dec/2013 13:37:24] "GET /user?timeout=true HTTP/1.1" 200 583 0.0310</div>

<div> </div>

<div>Further more I am not able to ping the vm which may also be due to the fact that the contextualization is not correct. Here is the ttylinux.one file:</div>

<div> </div>

<div>
<div>  GNU nano 2.2.6                                                       File: ttylinux.one                                                                                                                    </div>

<div>NAME   = ttylinux<br/>
CPU    = 0.1<br/>
MEMORY = 64</div>

<div>DISK   = [ IMAGE_ID = 8 ]</div>

<div>NIC    = [ NETWORK = "Small network" ]</div>

<div>FEATURES= [ acpi="no" ]</div>

<div>GRAPHICS = [<br/>
    TYPE    = "vnc",<br/>
    LISTEN  = "0.0.0.0"<br/>
]</div>

<div>CONTEXT = [<br/>
    hostname    = "$NAME",<br/>
    ip_public   = "XXX.XXX.177.152",<br/>
    files      = "/ttylinux/init.sh /ttylinux/id_rsa.pub",<br/>
    target      = "hdc",<br/>
    root_pubkey = "id_rsa.pub",<br/>
    username    = "opennebula",<br/>
    user_pubkey = "id_rsa.pub"<br/>
]</div>

<div> </div>

<div>The Vm.log is also fine I think:</div>

<div> </div>

<div>
<div>Tue Dec 10 12:48:00 2013 [DiM][I]: New VM state is ACTIVE.<br/>
Tue Dec 10 12:48:00 2013 [LCM][I]: New VM state is PROLOG.<br/>
Tue Dec 10 12:48:05 2013 [TM][D]: tm_clone.sh: FrontEnd:/var/lib/one/images/57f3641f0fe063562302d964f3e63de5 XXX.XXX.177.150:/var/lib/one//16/images/disk.0<br/>
Tue Dec 10 12:48:05 2013 [TM][D]: tm_clone.sh: DST: /var/lib/one//16/images/disk.0<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//16/images<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Executed "ssh XXX.XXX.177.150 mkdir -p /var/lib/one//16/images".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Cloning FrontEnd:/var/lib/one/images/57f3641f0fe063562302d964f3e63de5<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Executed "scp FrontEnd:/var/lib/one/images/57f3641f0fe063562302d964f3e63de5 147.172.177.150:/var/lib/one//16/images/disk.0".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_clone.sh: Executed "ssh XXX.XXX.177.150 chmod a+rw /var/lib/one//16/images/disk.0".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: ExitCode: 0<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed "mkdir -p /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed "cp -R /var/lib/one/16/context.sh /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed "cp -R /ttylinux/init.sh /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed "cp -R /ttylinux/id_rsa.pub /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed "genisoimage -o /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/disk.1 -J -R /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/isofiles".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed "scp /var/lib/one/c2d50246966d4d452b35a4048cc4adc8/disk.1 XXX.XXX.177.150:/var/lib/one//16/images/disk.1".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: tm_context.sh: Executed "rm -rf /var/lib/one/c2d50246966d4d452b35a4048cc4adc8".<br/>
Tue Dec 10 12:48:05 2013 [TM][I]: ExitCode: 0<br/>
Tue Dec 10 12:48:06 2013 [LCM][I]: New VM state is BOOT<br/>
Tue Dec 10 12:48:06 2013 [VMM][I]: Generating deployment file: /var/lib/one/16/deployment.0<br/>
Tue Dec 10 12:48:06 2013 [VMM][I]: ExitCode: 0<br/>
Tue Dec 10 12:48:06 2013 [VMM][I]: Successfully execute network driver operation: pre.<br/>
Tue Dec 10 12:48:07 2013 [VMM][I]: ExitCode: 0<br/>
Tue Dec 10 12:48:07 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy.<br/>
Tue Dec 10 12:48:07 2013 [VMM][I]: ExitCode: 0<br/>
Tue Dec 10 12:48:07 2013 [VMM][I]: Successfully execute network driver operation: post.<br/>
Tue Dec 10 12:48:08 2013 [LCM][I]: New VM state is RUNNING<br/>
Tue Dec 10 12:58:09 2013 [VMM][I]: ExitCode: 0<br/>
Tue Dec 10 12:58:09 2013 [VMM][D]: Monitor Information:<br/>
        CPU   : 8<br/>
        Memory: 65536<br/>
        Net_TX: 0<br/>
        Net_RX: 256333<br/>
Tue Dec 10 13:08:12 2013 [VMM][I]: ExitCode: 0</div>

<div> </div>
</div>

<div>Can anybody help me out with that? I'm using opennebula 3.2</div>

<div> </div>

<div>Best regards</div>

<div>Brave<br/>
 </div>
</div>

<div> </div>
</div>
</div></div></body></html>