CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.62k stars 401 forks source link

Connection refused #505

Closed Kymonlucky closed 5 years ago

Kymonlucky commented 5 years ago

When I opem the debian filesystem with ssh with userland default terminal this is what it says:

/data/data/tech.ula/files/support/dbclient: Connection to username@localhost:2022 exited: Connect failed: Connection refused

[Process completed (code 1) - press Enter]

Describe the bug

/data/data/tech.ula/files/support/dbclient: Connection to username@localhost:2022 exited: Remote closed the connection

Connection keeps closing or crashing when I tried to reconnect.

Steps to reproduce the behavior:

When lxde is about to finish installing it says connection lost and when I tried to reconnect.

Device Information

Device: Huawei Nova 2i Android Version: 8.0 UserLAnd Version 2.1.0 Rooted device? No LineageOS? No

Additional context

When I tried to delete the filesystem and reinstall new, everything is fine but after a few minutes it will back again to a connection lost.

Proot_Debug_Log

[13067] Jan 09 14:31:36 Running in background [13134] Jan 09 14:31:39 Child connection from 127.0.0.1:44292 [13134] Jan 09 14:31:43 Password auth succeeded for 'username' from 127.0.0.1:44292 ./tracee/event.c:517: int handle_tracee_event(Tracee *, int): assertion "!IS_IN_SYSENTER(tracee)" failed

carbonatedcaffeine commented 5 years ago

if that doesn't work... just try connectbot

: ConnectBot

Kymonlucky commented 5 years ago

I try it too but still doesnt worj

On Wed, 9 Jan 2019, 7:27 AM Ender notifications@github.com wrote:

if that doesn't work... just try connectbot

: ConnectBot https://play.google.com/store/apps/details?id=org.connectbot&hl=en

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CypherpunkArmory/UserLAnd/issues/505#issuecomment-452489283, or mute the thread https://github.com/notifications/unsubscribe-auth/ArbK-ia0EIi1pqvaCMl6g2latH-3E2F1ks5vBSlzgaJpZM4Z08dh .

carbonatedcaffeine commented 5 years ago

ok... did you try a different OS? (ubuntu, kali, archlinux, alpine-testing)

Kymonlucky commented 5 years ago

I tried 2 Os debian and ubuntu

On Wed, 9 Jan 2019, 7:42 AM Ender notifications@github.com wrote:

ok... did you try a different OS? (ubuntu, kali, archlinux, alpine-testing)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CypherpunkArmory/UserLAnd/issues/505#issuecomment-452493243, or mute the thread https://github.com/notifications/unsubscribe-auth/ArbK-nlqrK_Z8IfmY7ZSEHcRUHVV53jIks5vBSzfgaJpZM4Z08dh .

carbonatedcaffeine commented 5 years ago

try kali and arch

Kymonlucky commented 5 years ago

Will do it, thanks!. But I just wanna add that "Connection Refused" Happens when I install lxde or any desktop environment

On Wed, 9 Jan 2019, 8:16 AM Ender notifications@github.com wrote:

try kali and arch

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CypherpunkArmory/UserLAnd/issues/505#issuecomment-452510905, or mute the thread https://github.com/notifications/unsubscribe-auth/ArbK-snQghLckkaiIoJHRCIy2mj2qlR2ks5vBTTPgaJpZM4Z08dh .

carbonatedcaffeine commented 5 years ago

ok did you check my instuctions correctly? just to check read again.

Installing A Desktop Debian, Ubuntu, And Kali:

-> Install Lxde: sudo apt-get install lxde (default desktop)

-> Install X Server Client: Download on the Play store

-> Launch XSDL

-> In UserLAnd Type: export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:

-> Then Type: startlxde

-> Then Go Back To XSDL And The Desktop Will Show Up

ArchLinux:

-> Install Lxde: sudo pacman -S lxde

-> Install X Server Client: Download on the Play store

-> Launch XSDL

-> In UserLAnd Type: export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:

-> Then Type: startlxde

-> Then Go Back To XSDL And The Desktop Will Show Up

Kymonlucky commented 5 years ago

When Lxde is about to finish installing It always crashed and when I tried to reconnect it says "Connectio Refused"

On Wed, 9 Jan 2019, 8:25 AM Ender notifications@github.com wrote:

ok did you check my instuctions correctly? just to check read again.

Installing A Desktop Debian, Ubuntu, And Kali:

-> Install Lxde: sudo apt-get install lxde (default desktop)

-> Install X Server Client: Download on the Play store

-> Launch XSDL

-> In UserLAnd Type: export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:

-> Then Type: startlxde

-> Then Go Back To XSDL And The Desktop Will Show Up

ArchLinux:

-> Install Lxde: sudo pacman -S lxde

-> Install X Server Client: Download on the Play store

-> Launch XSDL

-> In UserLAnd Type: export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:

-> Then Type: startlxde

-> Then Go Back To XSDL And The Desktop Will Show Up

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CypherpunkArmory/UserLAnd/issues/505#issuecomment-452512650, or mute the thread https://github.com/notifications/unsubscribe-auth/ArbK-tqWSPmjvyWXvinXRL0DhxbpPJ2gks5vBTblgaJpZM4Z08dh .

carbonatedcaffeine commented 5 years ago

Hmm Gimme A Few Hours To Figure Out.

Kymonlucky commented 5 years ago

Ok Thanks!

Kymonlucky commented 5 years ago

I tried to make a new filesystem again and tried to install lxde again but when Lxde is about to finish installing it says "Connection Lost" and when I reconnect it says:

ata/data/tech.ula/files/support/dbclient: Caution, skipping hostkey check for localhost

username@localhost's password:

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

/data/data/tech.ula/files/support/dbclient: Connection to username@localhost:2022 exited: Remote closed the connection

[Process completed (code 1) - press Enter]

corbinlc commented 5 years ago

Let's back up. Can you @Kymonlucky use the provided issue template and provide more info? The template included what device you are using and what version of Android you are using and things like that.
After that is provided we will have to see why the ssh server is being prematurely killed.

corbinlc commented 5 years ago

I am guessing you have a relatively new Huawei device.

Kymonlucky commented 5 years ago

Describe the bug /data/data/tech.ula/files/support/dbclient: Connection to username@localhost:2022 exited: Remote closed the connection

Connection keeps closing or crashing when I tried to reconnect.

Steps to reproduce the behavior:

When lxde is about to finish installing it says connection lost and when I tried to reconnect.

Device Information

Device: Huawei Nova 2i Android Version: 8.0 UserLAnd Version 2.1.0 Rooted device? No LineageOS? No

Additional context When I tried to delete the filesystem and reinstall new, everything is fine but after a few minutes it will back again to a connection lost.

On Wed, 9 Jan 2019, 10:18 PM corbinlc notifications@github.com wrote:

Let's back up. Can you @Kymonlucky https://github.com/Kymonlucky use the provided issue template and provide more info? The template included what device you are using and what version of Android you are using and things like that. After that is provided we will have to see why the ssh server is being prematurely killed.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CypherpunkArmory/UserLAnd/issues/505#issuecomment-452711630, or mute the thread https://github.com/notifications/unsubscribe-auth/ArbK-mEi2eHqL_3MNlMTycC88ur1VPpaks5vBfokgaJpZM4Z08dh .

Kymonlucky commented 5 years ago

Describe the bug

/data/data/tech.ula/files/support/dbclient: Connection to username@localhost:2022 exited: Remote closed the connection

Connection keeps closing or crashing when I tried to reconnect.

Steps to reproduce the behavior:

When lxde is about to finish installing it says connection lost and when I tried to reconnect.

Device Information

Device: Huawei Nova 2i Android Version: 8.0 UserLAnd Version 2.1.0 Rooted device? No LineageOS? No

Additional context

When I tried to delete the filesystem and reinstall new, everything is fine but after a few minutes it will back again to a connection lost.

MatthewTighe commented 5 years ago

Providing us with a PRoot debug log would likely be helpful for this issue. You can turn on PRoot debug logging in the settings page of the UserLAnd app. After turning it on, perform the steps you normally would that lead to the crash. You can then find the PRoot debug log at /mnt/sdcard/PRoot_Debug_Log.

Kymonlucky commented 5 years ago

@MatthewTighe this is what Proot debug log says:

[13067] Jan 09 14:31:36 Running in background [13134] Jan 09 14:31:39 Child connection from 127.0.0.1:44292 [13134] Jan 09 14:31:43 Password auth succeeded for 'username' from 127.0.0.1:44292 ./tracee/event.c:517: int handle_tracee_event(Tracee *, int): assertion "!IS_IN_SYSENTER(tracee)" failed

corbinlc commented 5 years ago

This is a known issue with Huawei devices. It is proving to be difficult to solve. Please see #398. I can already replicate that same issue and need to figure out the best solution. As this is known and duplicate. I am closing this issue and I encourage you to watch how #398 progresses.

MikeTermux1 commented 11 months ago

i've tried a lot but what i found is, go to your notification bar, scroll down to find tech.ula session, and press "Acquire Wakelock"..and now, your can even go to other app and the remote aa what we can that i dont know, wont stop the session.