When starting Ubuntu via SSH without any internet connection the terminal open and close immediately, I managed to record my screen and extract this error message:
/data/data/tech.ula/files/support/dbclient: Connection to Motaz@localhost: 2022 exited: Connect failed: Permission denied
[Process completed (code 1) - press Enter]

Device: Xiaomi Redmi Note 5 Pro
Android Version: Oreo 8.1.0 (MIUI Global 10.2.1.0)
UserLAnd Version: 2.2.1
The device is not rooted
None
Hmm connect on username@localhost -p 2022 command
There are many people having an issue with the Redmi 5. Thank you for following the template and providing a screen shot. Can you try to get a proot log? You need to stop the app/distro, then go to the app settings and enable proot debugging and then set the proot debugging to level 9. After that, you need to launch again and observe the same crash. Then we need you to provide us with the PRoot_Debug_Log file that was generated. It is normally stored on your (real or emulated) sdcard partition.
If you have internet connection, does the ssh client launch normally?
@corbinlc your welcome :smiley:
If you have internet connection, does the ssh client launch normally?
Yes it's launch without any problems and if you turn off internet connection will still running there no problems also.
PRoot Logo file:
PRoot_Debug_Log
Hi @corbinlc, I found the cause of this problem it's the Restrict data usage in MIUI the Mobile data is disabled so I enabled it and the problem solved.
