简体   繁体   English

x11vnc显示光标和光标移动

[英]x11vnc display cursor and cursor motion

Well, that question already been asked, however my environment is slightly different. 好了,已经问过这个问题,但是我的环境略有不同。 I've robot that moves mouse inside x11vnc session. 我有在x11vnc会话中移动鼠标的机器人。 I'd like that cursor motion to be properly displayed with vncviewer ( tigervnc-1.4.2-r2 ). 我希望可以使用vncviewertigervnc-1.4.2-r2 )正确显示光标移动。 Seems nothing works. 似乎没有任何效果。

What I've tried: 我试过的

x11vnc -nocursor && vncviewer LocalCursor=0 DotWhenNoCursor=1

x11vnc -cursor arrow && vncviewer LocalCursor=0 DotWhenNoCursor=0

x11vnc -cursor X && vncviewer LocalCursor=0 DotWhenNoCursor=0

x11vnc -cursor some && vncviewer LocalCursor=0 DotWhenNoCursor=0

x11vnc -cursor most && vncviewer LocalCursor=0 DotWhenNoCursor=0

Also plaid some with LocalCursor=1 (although think since I need to see remote cursor that's wrong idea). 也用LocalCursor = 1进行一些设置(尽管请考虑一下,因为我需要查看远程游标是错误的主意)。

Is that possible (not sure I properly understand vnc approach for cursor display). 这是可能的(不确定我是否正确理解游标显示的vnc方法)。

Found solution. 找到解决方案。 Just enabled -multiptr option for x11vnc . 刚刚为x11vnc启用了-multiptr选项。 Got that option working out of the box on x11vnc-0.9.14-r2 Gentoo Linux version of x11vnc. x11vnc-0.9.14-r2 Gentoo Linux版本的x11vnc上可以立即使用该选项。 However, it could be necessary to install additional x11vnc-multiptr module. 但是,可能有必要安装其他x11vnc-multiptr模块。

on ubuntu: 在ubuntu上:

git clone git@github.com:LibVNC/x11vnc.git
cd x11vnc
sudo apt-get install libvncserver-dev
./autogen.sh
./configure
make
sudo make install

xset r rate 200 30    
x11vnc -repeat -multiptr

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM