* How change the ikvm port to 5901
@ 2020-03-17 3:11 xiuzhi
2020-03-17 3:21 ` [ExternalEmail] " Troy.Lee
0 siblings, 1 reply; 3+ messages in thread
From: xiuzhi @ 2020-03-17 3:11 UTC (permalink / raw)
To: jae.hyun.yoo, openbmc, eajames
[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]
Hi Jae,Eddie,
I want to change the ikvm server port from 5900 to 5901 .
I try to modify the following source:
1. obmc-ikvm
--- a/ikvm_server.cpp 2019-09-03 05:47:42.060110145 +0800
+++ b/ikvm-server.cpp 2020-03-16 15:45:59.389571737 +0800
@@ -43,7 +43,7 @@
(char*)cursorMask);
server->cursor->xhot = 1;
server->cursor->yhot = 1;
-
+ server -> port = 5901 ;
rfbStringToAddr(&ip[0], &server->listenInterface);
rfbInitServer(server);
2. bmcweb
--- a/include/kvm_websocket.hpp 2019-12-19 18:11:38.838532037 +0800
+++ b/include/kvm_websocket.hpp 2020-03-17 11:07:09.814836005 +0800
@@ -20,7 +20,7 @@
conn(conn), doingWrite(false), hostSocket(conn.get_io_context())
{
boost::asio::ip::tcp::endpoint endpoint(
- boost::asio::ip::make_address("::1"), 5900);
+ boost::asio::ip::make_address("::1"), 5901);
hostSocket.async_connect(
endpoint, [this, &conn](const boost::system::error_code& ec) {
if (ec)
I can connect to ikvm by tightvnc on port 5901 .
But the webui kvm page don't work, the kvm page cannot connect to the ikvm server success.
How to modify the webui ?
Best,
Xiuzhi
[-- Attachment #2: Type: text/html, Size: 2209 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [ExternalEmail] How change the ikvm port to 5901
2020-03-17 3:11 How change the ikvm port to 5901 xiuzhi
@ 2020-03-17 3:21 ` Troy.Lee
2020-03-18 1:14 ` xiuzhi
0 siblings, 1 reply; 3+ messages in thread
From: Troy.Lee @ 2020-03-17 3:21 UTC (permalink / raw)
To: xiuzhi, jae.hyun.yoo, openbmc, eajames
[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]
You might need to patch bmcweb as well.
https://github.com/openbmc/bmcweb/blob/master/include/kvm_websocket.hpp#L24
Troy
From: openbmc <openbmc-bounces+troy.lee=vertiv.com@lists.ozlabs.org> On Behalf Of xiuzhi
Sent: Tuesday, March 17, 2020 11:12 AM
To: jae.hyun.yoo <jae.hyun.yoo@linux.intel.com>; openbmc <openbmc@lists.ozlabs.org>; eajames <eajames@linux.ibm.com>
Subject: [ExternalEmail] How change the ikvm port to 5901
Hi Jae,Eddie,
I want to change the ikvm server port from 5900 to 5901 .
I try to modify the following source:
1. obmc-ikvm
--- a/ikvm_server.cpp 2019-09-03 05:47:42.060110145 +0800
+++ b/ikvm-server.cpp 2020-03-16 15:45:59.389571737 +0800
@@ -43,7 +43,7 @@
(char*)cursorMask);
server->cursor->xhot = 1;
server->cursor->yhot = 1;
-
+ server -> port = 5901 ;
rfbStringToAddr(&ip[0], &server->listenInterface);
rfbInitServer(server);
2. bmcweb
--- a/include/kvm_websocket.hpp 2019-12-19 18:11:38.838532037 +0800
+++ b/include/kvm_websocket.hpp 2020-03-17 11:07:09.814836005 +0800
@@ -20,7 +20,7 @@
conn(conn), doingWrite(false), hostSocket(conn.get_io_context())
{
boost::asio::ip::tcp::endpoint endpoint(
- boost::asio::ip::make_address("::1"), 5900);
+ boost::asio::ip::make_address("::1"), 5901);
hostSocket.async_connect(
endpoint, [this, &conn](const boost::system::error_code& ec) {
if (ec)
I can connect to ikvm by tightvnc on port 5901 .
But the webui kvm page don't work, the kvm page cannot connect to the ikvm server success.
How to modify the webui ?
Best,
Xiuzhi
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.
[-- Attachment #2: Type: text/html, Size: 6730 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re:RE: [ExternalEmail] How change the ikvm port to 5901
2020-03-17 3:21 ` [ExternalEmail] " Troy.Lee
@ 2020-03-18 1:14 ` xiuzhi
0 siblings, 0 replies; 3+ messages in thread
From: xiuzhi @ 2020-03-18 1:14 UTC (permalink / raw)
To: Troy.Lee, jae.hyun.yoo, openbmc, eajames
[-- Attachment #1: Type: text/plain, Size: 2698 bytes --]
Hi Troy,
Thanks, it works now.
Xiuzhi
------------------ Original ------------------
From: "Troy.Lee@vertiv.com";<Troy.Lee@vertiv.com>;
Date: Mar 17, 2020
To: "xiuzhi"<1450335857@qq.com>; "jae.hyun.yoo"<jae.hyun.yoo@linux.intel.com>; "openbmc"<openbmc@lists.ozlabs.org>; "eajames"<eajames@linux.ibm.com>;
Subject: RE: [ExternalEmail] How change the ikvm port to 5901
You might need to patch bmcweb as well.
https://github.com/openbmc/bmcweb/blob/master/include/kvm_websocket.hpp#L24
Troy
From: openbmc <openbmc-bounces+troy.lee=vertiv.com@lists.ozlabs.org> On Behalf Of xiuzhi
Sent: Tuesday, March 17, 2020 11:12 AM
To: jae.hyun.yoo <jae.hyun.yoo@linux.intel.com>; openbmc <openbmc@lists.ozlabs.org>; eajames <eajames@linux.ibm.com>
Subject: [ExternalEmail] How change the ikvm port to 5901
Hi Jae,Eddie,
I want to change the ikvm server port from 5900 to 5901 .
I try to modify the following source:
1. obmc-ikvm
--- a/ikvm_server.cpp 2019-09-03 05:47:42.060110145 +0800
+++ b/ikvm-server.cpp 2020-03-16 15:45:59.389571737 +0800
@@ -43,7 +43,7 @@
(char*)cursorMask);
server->cursor->xhot = 1;
server->cursor->yhot = 1;
-
+ server -> port = 5901 ;
rfbStringToAddr(&ip[0], &server->listenInterface);
rfbInitServer(server);
2. bmcweb
--- a/include/kvm_websocket.hpp 2019-12-19 18:11:38.838532037 +0800
+++ b/include/kvm_websocket.hpp 2020-03-17 11:07:09.814836005 +0800
@@ -20,7 +20,7 @@
conn(conn), doingWrite(false), hostSocket(conn.get_io_context())
{
boost::asio::ip::tcp::endpoint endpoint(
- boost::asio::ip::make_address("::1"), 5900);
+ boost::asio::ip::make_address("::1"), 5901);
hostSocket.async_connect(
endpoint, [this, &conn](const boost::system::error_code& ec) {
if (ec)
I can connect to ikvm by tightvnc on port 5901 .
But the webui kvm page don't work, the kvm page cannot connect to the ikvm server success.
How to modify the webui ?
Best,
Xiuzhi
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.
[-- Attachment #2: Type: text/html, Size: 5311 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-18 1:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17 3:11 How change the ikvm port to 5901 xiuzhi
2020-03-17 3:21 ` [ExternalEmail] " Troy.Lee
2020-03-18 1:14 ` xiuzhi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.