VirtualBox

6 年 前 建立

6 年 前 更新

#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.

更動歷史 (1)

comment:1 6 年 前Karlo Dipetrio 編輯

update. this problem is present шт VirtualBox 5.2 builds too

版本 0, 於 6 年 前Karlo Dipetrio 編輯 (下一筆)
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette