<div>Hi Troy,</div><div> Thanks, it works now.</div><div>Xiuzhi</div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Troy.Lee@vertiv.com";<Troy.Lee@vertiv.com>;</div><div><b>Date: </b> Mar 17, 2020</div><div><b>To: </b> "xiuzhi"<1450335857@qq.com>; "jae.hyun.yoo"<jae.hyun.yoo@linux.intel.com>; "openbmc"<openbmc@lists.ozlabs.org>; "eajames"<eajames@linux.ibm.com>; <wbr></div><div></div><div><b>Subject: </b> RE: [ExternalEmail] How change the ikvm port to 5901</div></div><div><br></div>
<style></style>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">You might need to patch bmcweb as well.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://github.com/openbmc/bmcweb/blob/master/include/kvm_websocket.hpp#L24">https://github.com/openbmc/bmcweb/blob/master/include/kvm_websocket.hpp#L24</a></span><span lang="EN-US" style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Troy<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> openbmc <openbmc-bounces+troy.lee=vertiv.com@lists.ozlabs.org>
<b>On Behalf Of </b>xiuzhi<br>
<b>Sent:</b> Tuesday, March 17, 2020 11:12 AM<br>
<b>To:</b> jae.hyun.yoo <jae.hyun.yoo@linux.intel.com>; openbmc <openbmc@lists.ozlabs.org>; eajames <eajames@linux.ibm.com><br>
<b>Subject:</b> [ExternalEmail] How change the ikvm port to 5901<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi Jae,Eddie, <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> I want to change the ikvm server port from 5900 to 5901 .<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I try to modify the following source:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">1. obmc-ikvm<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">--- a/ikvm_server.cpp 2019-09-03 05:47:42.060110145 +0800<br>
+++ b/ikvm-server.cpp 2020-03-16 15:45:59.389571737 +0800<br>
@@ -43,7 +43,7 @@<br>
(char*)cursorMask);<br>
server->cursor->xhot = 1;<br>
server->cursor->yhot = 1;<br>
-<br>
+ server -> port = 5901 ;<br>
rfbStringToAddr(&ip[0], &server->listenInterface);<br>
<br>
rfbInitServer(server);<br>
2. bmcweb<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">--- a/include/kvm_websocket.hpp 2019-12-19 18:11:38.838532037 +0800<br>
+++ b/include/kvm_websocket.hpp 2020-03-17 11:07:09.814836005 +0800<br>
@@ -20,7 +20,7 @@<br>
conn(conn), doingWrite(false), hostSocket(conn.get_io_context())<br>
{<br>
boost::asio::ip::tcp::endpoint endpoint(<br>
- boost::asio::ip::make_address("::1"), 5900);<br>
+ boost::asio::ip::make_address("::1"), 5901);<br>
hostSocket.async_connect(<br>
endpoint, [this, &conn](const boost::system::error_code& ec) {<br>
if (ec)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I can connect to ikvm by tightvnc on port 5901 .
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">But the webui kvm page don't work, the kvm page cannot connect to the ikvm server success.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">How to modify the webui ?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> Best,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Xiuzhi<o:p></o:p></span></p>
</div>
</div>
CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and may contain confidential and privileged information protected by law. If you received this e-mail
in error, any review, use, dissemination, distribution, or copying of the e-mail is strictly prohibited. Please notify the sender immediately by return e-mail and delete all copies from your system.
</div>