amitbet / vncproxy

An RFB proxy, written in go that can save and replay FBS files
Other
206 stars 45 forks source link

Recording stops immediately #7

Closed yeya closed 5 years ago

yeya commented 5 years ago

I'm trying to record a session of TightVNC server with the recorder executable. I don't get any error, and the console is not quitting, it looks like it working but the file is not getting any bigger. When I'm trying to watch the file with the player executable it shows the first screen and throw error about EOF

I'm using the latest release (1.0.2). Tested on Tight VNC Server on windows 7 and 10, recorder with ubuntu 16 and windows 10. Same results.

amitbet commented 5 years ago

what commandline flags are you using?

yeya commented 5 years ago

All required, there is others?

recorder -recDir=./recording.rbs -targHost=192.168.0.100 -targPort=5903 -targPass=@@@@@

On Fri, Oct 19, 2018, 06:11 Amit Bezalel notifications@github.com wrote:

what flags are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amitbet/vncproxy/issues/7#issuecomment-431231373, or mute the thread https://github.com/notifications/unsubscribe-auth/AGFiplNOIZ13-BIxwYHgo0m-DhGFtFDxks5umULZgaJpZM4XjbIG .

amitbet commented 5 years ago

try with recDir=./

amitbet commented 5 years ago

oh, I see it's the recorder you are using. It should be recFile there (i'll change it). turns out that on windows you need to wrap the filename with "", so you should have: -recDir="./recording.rbs" -targHost=localhost -targPort=5900 -targPass=12345

amitbet commented 5 years ago

tell me if it worked so I'll close the issue...

yeya commented 5 years ago

Sorry, I'll check and update asap

On Thu, Oct 25, 2018, 02:06 Amit Bezalel notifications@github.com wrote:

tell me if it worked so I'll close the issue...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amitbet/vncproxy/issues/7#issuecomment-432857917, or mute the thread https://github.com/notifications/unsubscribe-auth/AGFipo5KAQvOzI2OaziorSpKCX9ZLPSfks5uoPKAgaJpZM4XjbIG .

yeya commented 5 years ago

flag provided but not defined: -recFile

amitbet commented 5 years ago

it would be -recDir in the version you are using. I just uploaded v1.1 with support for qemu where I changed the flag to -recFile since it is a more accurate name. use something like this in versions 1.0x: -recDir="./recording.rbs" -targHost=localhost -targPort=5901 -targPass=12345

use something like this in version 1.1: -recFile="./recording.rbs" -targHost=localhost -targPort=5901 -targPass=12345

amitbet commented 5 years ago

Closing issue (looks like it was solved)