#18300 new defect
VNC connect callback problem
回報者: | Karlo Dipetrio | 負責人: | |
---|---|---|---|
元件: | RDP | 版本: | VirtualBox 6.0.0 |
關鍵字: | vnc | 副本: | |
Guest type: | other | Host type: | Linux |
描述
Hello.
This is code fragment of new vnc connect. VirtualBox-6.0.0\src\VBox\ExtPacks\VNC\VBoxVNC.cpp:
enum rfbNewClientAction VNCServerImpl::rfbNewClientEvent(rfbClientPtr cl) { VNCServerImpl *instance = static_cast<VNCServerImpl *>(cl->screen->screenData); /// @todo we need auth user here instance->mCallbacks->VRDECallbackClientConnect(instance->mCallback, (int)cl->sock); instance->uClients++; cl->clientGoneHook = clientGoneHook; return RFB_CLIENT_ACCEPT; }
We can see that numbers of clients (part of IVRDEServerInfo) increase. Why dont call VRDECallbackProperty to fire VRDEServerInfoChangedEvent? I need to callback vnc connect situation by pyvbox:VBoxEventType.on_vrde_server_info_changed, but i cant, because IVRDEServerInfoChangedEvent not triggered.
注意:
瀏覽 TracTickets
來幫助您使用待辦事項功能
update. this problem is present шт VirtualBox 5.2 builds too