x11vnc icon indicating copy to clipboard operation
x11vnc copied to clipboard

question - enforce <x11vnc_server:0>

Open yuriw opened this issue 7 years ago • 4 comments

Simple question, but it drives me crazy.

I start x11vnc from crontab.

Command line: @reboot sleep 20 && sudo x11vnc -forever -loop -rfbauth /etc/x11vnc.pass -shared

and connect to it with remmina client like: x11vnc_server:XX .

Sometimes, if I have any issues, I stop start x11vnc The problem - why my connection string changes: x11vnc_server:0 and then x11vnc_server:1 and then x11vnc_server:2? And how to make it not change?

Thanks in advance

yuriw avatar Nov 02 '17 00:11 yuriw

Seems like something is bound to port 5900 and/or 5901 already.

bk138 avatar Nov 02 '17 10:11 bk138

@bk138 you are right, it;s conflicting with virt-manager  Trying to see how to resolve it, thx

yuriw avatar Nov 02 '17 17:11 yuriw

Idea: specify a free port for x11vnc, sth like 5999, IIRC this can be done via -rfbport

bk138 avatar Nov 02 '17 17:11 bk138

@bk138 the imprtant point to me is that I can connect via "x11vnc_server" without saying any port. It seems it'd work only on 5900 as "x11vnc_server:0" Do you know if there is a way to map 0 to a new port?

Other options I am looking at - have virtmrg stat VMs after x11vnc starts

yuriw avatar Nov 02 '17 19:11 yuriw