bk138 / multivnc

MultiVNC is a cross-platform Multicast-enabled VNC viewer based on LibVNCClient. The desktop version runs on Unix, Mac OS X and Windows. There also is an Android version.
GNU General Public License v3.0
447 stars 65 forks source link

Black screen w/ Vivo Y19C #188

Open Yonle opened 2 years ago

Yonle commented 2 years ago

Device

MultiVNC version 2.0.7 (Play Store)

VNC server i'm connecting to

Describe the bug When connected into VNC server, I only see a mouse with a black screen.

To Reproduce

Expected Behavior The remote screen shows up

Screenshots Screenshot_20220305_150352

Other VNC client (RealVNC viewer): Screenshot_20220305_150430

Logcat (Coming soon)

bk138 commented 2 years ago

Thanks for the report @Yonle ! A few ideas:

Yonle commented 2 years ago
  • might it be that MultiVNC shows the upper left corner of the remote screen and one has to scroll down to see the other content?

Does not seems that it's there.

  • How would I be able to reproduce your setup? Is it termux?

It's in termux and reproduceable with the following command:

vncserver -geometry=1280x750 -securitytypes=none -zliblevel=0 :0

Can also done with Xvfb + x11vnc:

Xvfb :0 &
x11vnc --display :0 --forever
bk138 commented 2 years ago

I see. Do you also get a black screen when connecting to another server that's not running on localhost?

Yonle commented 2 years ago

I see. Do you also get a black screen when connecting to another server that's not running on localhost?

Yes. I also tried to connect to my VPS VNC server, unfortunately no luck.

bk138 commented 2 years ago

I see. Do you also get a black screen when connecting to another server that's not running on localhost?

Yes. I also tried to connect to my VPS VNC server, unfortunately no luck.

I have two ideas:

Yonle commented 2 years ago

Hi @bk138.

bk138 commented 2 years ago

Hi @bk138.

* At this point, AVNC works well as expected. Got no error at it.

* MultiVNC 2.0.0 also result the same black remote screen. Also tried with other VNC server.

No good idea at this point. It seems it's a combination of your device model and MultiVNC. You could try looking at the adb logs and scan for any errors, but that's about it :-/

Yonle commented 2 years ago

Hi @bk138.

* At this point, AVNC works well as expected. Got no error at it.

* MultiVNC 2.0.0 also result the same black remote screen. Also tried with other VNC server.

No good idea at this point. It seems it's a combination of your device model and MultiVNC. You could try looking at the adb logs and scan for any errors, but that's about it :-/

Well. See whenever i have a chance to get logcat error log.

bk138 commented 2 years ago

Did a bit of googling:

bk138 commented 2 years ago

@Yonle you could also the last version of the 1.8 series give a try. If this works, the issue might be related to the new VNC engine.

Yonle commented 2 years ago

@Yonle you could also the last version of the 1.8 series give a try. If this works, the issue might be related to the new VNC engine.

And it actually doing it's job well

Screenshot_20220309_070356

bk138 commented 2 years ago

Interesting! In that case, an adb log from session setup from a recent MultiVNC version probably can shed some light on this if you're interested.