jksiezni / xpra-client

Xpra Client for Java/Android
GNU General Public License v3.0
47 stars 11 forks source link

almost works - but not loading xterm on droid #5

Open twyeld opened 4 years ago

twyeld commented 4 years ago

I compiled your code in Android studio with no errors. I can connect to a ssh and tcp session on my ubuntu box from my android device but it doesn't load the xterm on the droid. The settings seem all ok. I used openGL trace and this seems to indicate no problmes there. In the xpra log on the host machine it looks like the droid connects and then disconnects straightaway.

Any ideas?

totaam commented 4 years ago

Since the code has not seen any updates in the last 2 years, my guess is that something needs updating. You may want to try to downgrade xpra on your server to v1.0.x and see if that helps.

jksiezni commented 4 years ago

Hi, unfortunately the code is far from any usable state. When I checked some time ago, it didn't work indeed. I even fixed this issue, but did not push changes. Also, there is still a lot of work to be done, before the app becomes "barely useful". The most problematic is the keyboard handling, so even if you could run the xterm, you would have a hard time to enter any command in a terminal.

Have you tried the HTML5 client? Isn't it sufficient?

twyeld commented 4 years ago

Thanks for the feedback. It is a pity dev on this app has stalled. Especially as it seems mostly functional except for keyboard function - critical of course. Xpra is compact x forwarding service and maybe the only that supports gpu rendering server side. That is why I have been focused on it rather than other vncs. Do you think it is worth trying to roll back the version to 1.0 on the host machine? As I plan to use it to vnc to a docker image it may be possible to get around the need for keyboard input for now - if docker instructions spin up the full gui without interactive. Is it worth my time continuing your dev or is there another thin vnc client that supports gpu rendering server side? The html version is not really feasible due to the browser overhead.

mviereck commented 4 years ago

Just for reference: This issue came up in ticket https://github.com/mviereck/x11docker/issues/204

Schlumie commented 4 years ago

Have you tried the HTML5 client? Isn't it sufficient?

Do you have experience in speed differences on slower/phone devices? On my devices html5 client seams way slower compared to desktop PC. So tried your client, but with no luck with 4.1 xpra. No window get opened, steam to missing some nwo createwindow events? Would you be so kind to commit your findings till now, maybe I can continue to fix/improve them. I dont need keyboard support for my project, but performance/low latency. I also found https://github.com/sylvain121/Xpra-client-android. He tried to implement h264, would be nice to merge that, as even the html5 client dont support h264. I think theres still a need for a native client.... Thanks for your work!!

jksiezni commented 4 years ago

Hi, thanks for your insights. I haven't used Xpra for a very long time, and only briefly checked the html5 client when it came out. It was good enough at the time. I wonder why there is no native client yet if there is a need for one...

I'll try to find some spare time to update this project. Maybe it needs some push to get things moving.

jksiezni commented 4 years ago

Finally, I found some time to restart development on this project. :) In the first place, it doesn't mean that everything will work from now on. There's still a massive work to do.

Regarding this "almost works" issue, it's still unusable, but at least can display an xterm window. The Android App is completely redesigned, so there could be some features missing, but sometimes it's required to get a step back to move forward.

All new code can be found on develop branch. I tested it with Xpra 3.0.7, but it should work with other versions too.

twyeld commented 3 years ago

excellent work jksiezni

I have wanted to get back onto this for some time. I may be able to help in a few weeks time.

what base code are you using - java?

cheers

On Sun, Oct 11, 2020 at 7:42 AM jksiezni notifications@github.com wrote:

Finally, I found some time to restart development on this project. :) In the first place, it doesn't mean that everything will work from now on. There's still a massive work to do.

Regarding this "almost works" issue, it's still unusable, but at least can display an xterm window. The Android App is completely redesigned, so there could be some features missing, but sometimes it's required to get a step back to move forward.

All new code can be found on develop branch. I tested it with Xpra 3.0.7, but it should work with other versions too.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jksiezni/xpra-client/issues/5#issuecomment-706608722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDK6T27ZEZYKO3XVSBNPH3SKDBLPANCNFSM4JX2Q3YQ .

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

jksiezni commented 3 years ago

Hi, any help is welcome. :) The code is a java/kotlin mix now. However, I consider rewriting it to pure kotlin, at least for xpra-common module, which is intended to be platform-agnostic. Then, it could be reused on iOS in the future.