Comments (10)
Thanks for reporting! To rule out an OS issue, please try https://gitlab.com/vijai/screenrecorder and check if it's able to record anything.
from droidvnc-ng.
On a Galaxy S8 the device likes to sleep the screen faster than the Android Settings so I have to tap the Home key on a keyboard, type (click technically atm) quickly the pass code, before seeing anything other than a black screen... don't know if this will help or not in an Android emu... might be worth a try though.
from droidvnc-ng.
On a Galaxy S8 the device likes to sleep the screen faster than the Android Settings so I have to tap the Home key on a keyboard, type (click technically atm) quickly the pass code, before seeing anything other than a black screen... don't know if this will help or not in an Android emu... might be worth a try though.
Don't know if I understood what you said, but, HOME key does nothing in the VNC Viewer but it sends the VM to the home screen, sending any app to the background, the expected behavior.
And the screen on the VM is configured to never sleep and it never does...
from droidvnc-ng.
Thanks for reporting! To rule out an OS issue, please try https://gitlab.com/vijai/screenrecorder and check if it's able to record anything.
I recorded a test video but was unable to play it,
Got a "Can't play this video" message.
Then I installed VLC to see if there was an issue with the default player and VLC didn't play the video too.
Tried to record again, then I realized that the recorded files was 0 bytes!
See image:
from droidvnc-ng.
I tried a lot of options and almost none worked.
What I remember is that the one that sort of worked out run as root.
Is it possible to run this one as root to test ? How ?
from droidvnc-ng.
I fear it seems that Android-X86 (or at least your build of it) does not support screen recording via MediaProjection, which is the API https://gitlab.com/vijai/screenrecorder and droidVNC-NG are using. You might want to try the original droidVNC which does things differently and requires root.
from droidvnc-ng.
from droidvnc-ng.
I fear it seems that Android-X86 (or at least your build of it) does not support screen recording via MediaProjection, which is the API https://gitlab.com/vijai/screenrecorder and droidVNC-NG are using. You might want to try the original droidVNC which does things differently and requires root.
I tried the original droidVNC before asking for help here and the result was that it says Superuser access is granted but didn't load and message "Could not start server :(".
The one that sort of worked, XQ-VNCServer, seems to be an exactly copy with a lot of boring advertising stuff.
Even me being a programmer ( a very old one... ) this is beyond my technical skills, but from what is in https://osdn.net/projects/android-x86/scm/git/frameworks-base/commits/2f9dd0aa805ef1163111b243cc001223681290ca I suppose that MediaProjection was incorporated to Android-X86. Wasn't it ?
Is there a way to trace this ? I would be glad to do it if you send instructions.
Should I ask for help on Android-X86 project ?
Anyway, thanks for your attention!
from droidvnc-ng.
Even me being a programmer ( a very old one... ) this is beyond my technical skills, but from what is in https://osdn.net/projects/android-x86/scm/git/frameworks-base/commits/2f9dd0aa805ef1163111b243cc001223681290ca I suppose that MediaProjection was incorporated to Android-X86. Wasn't it ?
Is there a way to trace this ? I would be glad to do it if you send instructions.
Should I ask for help on Android-X86 project ?
Anyway, thanks for your attention!
The best thing to do is probably lots of researching and trying out. Maybe this is not supported at all in Android-x86, maybe it depends on build settings (what about the official emulator images, aren't those x86 as well - does screen recording work there?), maybe some special arguments to the API must be used, ...
from droidvnc-ng.
im running this droidVNC-NG on an android-x86 VM using qemu-kvm on an old Ubuntu 18. The VM has a vga adapter.
With that setup, I can succesfully connect, interact and capture images via TightVNC client or with a c# application using https://github.com/mRemoteNG/VncSharpCore
from droidvnc-ng.
Related Issues (20)
- Notification Sound HOT 2
- Remove confirmation at start HOT 3
- Need Cut and Paste HOT 1
- Explore use of API 33 methods to overcome Android limitiation where for some text fields only single character can be entered HOT 6
- Remote Input does not work on ChromeOS. HOT 2
- Make it possible to record phone unlock screen HOT 4
- Mouse clicks freeze connection for 1 second each and are not sent (Android 10) HOT 3
- Port it to magisk module / using root access HOT 1
- Cannot launch apk files HOT 7
- Virtual session HOT 2
- "START" button sticks as "START" when the service is started via adb HOT 1
- The password configured on the droid-ng VNC interface is not working w/ Guacamole 1.5 client HOT 13
- Repeater reconnect not working w/ Guacamole relay HOT 2
- Not a bug but mobile network does work with VPN HOT 3
- Mouse input does not work without a touch screen connected HOT 6
- - HOT 1
- SSH instructions for README HOT 3
- Add security via a option to *only* listen to localhost:5900 HOT 1
- Input: DENIED HOT 12
- Under android 11, the mouse cannot click the operation, so there is no problem under android 7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from droidvnc-ng.