通过鳄梨调味酱js会话解锁Windows(Ctrl+ Alt+ del Combo)
我使用 gacamole-common-js
与React项目中的VM进行交互。
要解锁Windows VM,我必须发送CTRL+Alt+Del Combo才能输入密码。
我需要诸如VirtualBox的 Insert Ctrl+Alt+Del
按钮之类的东西。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我的(react)代码:
guacref
是我的guacamole.client对象。Keysyms代码来自。
SendKeyEvent函数需要两个参数。第一个是布尔值,指示是否按下键(1 =按下; 0 =释放)。第二个是要发送的密钥。
Here is my (React) code :
guacRef
is my Guacamole.Client object.The keysyms code are from the Guacamole source code.
The sendKeyEvent function takes two arguments. The first one is a boolean indicating if the key is pressed (1 = pressed; 0 = released). The second one is the keysym to be sent.