Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. I'd like that cursor motion to be properly displayed with vncviewer (tigervnc-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).

Is that possible (not sure I properly understand vnc approach for cursor display).

like image 597
Archer Avatar asked Dec 10 '22 19:12

Archer


2 Answers

Found solution. Just enabled -multiptr option for x11vnc. Got that option working out of the box on x11vnc-0.9.14-r2 Gentoo Linux version of x11vnc. However, it could be necessary to install additional x11vnc-multiptr module.

like image 100
Archer Avatar answered Dec 28 '22 07:12

Archer


on ubuntu:

git clone [email protected]: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
like image 22
diyism Avatar answered Dec 28 '22 06:12

diyism