Questions for freeaSPICE
by Yixin Zhang
Dear Sir or Madam,
Sorry can I have your name? freeaSPICE is a very nice APP, it could be used to connect the virtual machine directly.
There are some problems confused me, can I ask for you suggestions?
I'm Yixin Zhang,and now doing an internship for Outreachy Project,and now I'm in the project movirt. I'm thinking of calling freeaSPICE in movirt to connect VM, the calling code as followed:
Intent intent = new Intent(Intent.ACTION_VIEW)
.setType("application/vnd.vnc")
.setData(data);
startActivity(intent);
And the data form as followed:spice://192.168.1.100:5900?SpicePassword=...&TlsPort=5901&CaCertPath=...&CertSubject=....
However while I checked for you source code:https://github.com/iiordanov/remote-desktop-clients , I found it can not pass the parameters TlsPort, CaCertPath, CertSubject using this method, is there any other ways to pass the parameters, if there is, could u give me some suggestions? Thank you so much.
In order to pass these three parameter TlsPort, CaCertPath, CertSubjectin,I fork your remote-desktop-clients code (fork address:https://github.com/zyx0225/remote-desktop-clients/tree/aSPICE),
Also, as you compile instruction I compiled aSPICE(But I have no idea how to compile libspice.so and libgstreamer_android.so, so I copy lib document of freeaSPICE-3.7.7-final.apk),I add the parser code for these three parameters TlsPort, CaCertPath, CertSubject (The main logical code: :https://github.com/zyx0225/remote-desktop-clients/commit/5233d9bb5f6434bba97237fd8ea014cf19b14c88), and invoke aSPICE in movirt to connect VM successfully. However, it just want to prove some my own guess and I have no idea whether there are some problem to code in such way.
We really really hope that we could invoke freeaSPICE in movirt to realize such functions, and I like freeaSPICE this APP so much, with great appreciate that you developed such a great APP. If we could realize our ideas mentioned above using your freeaSPICE, it would be such an exciting thing.
Could you add parser for these three parameters TlsPort, CaCertPath, CertSubject in next version of freeaSPICE, or other ways that we could invoke freeaSPICE in movirt to connect VM?
Thank you so much for your time, looking forward to your reply
Best Regards,
Yixin Zhang
6 years, 9 months