Closed biojames closed 1 week ago
I discovered that this is related to the process killer that runs by default in recent Android releases.
I fixed this as per https://github.com/agnostic-apollo/Android-Docs/blob/master/en/docs/apps/processes/phantom-cached-and-empty-processes.md#commands-to-disable-phantom-process-killing-and-tldr by activating developer options and selecting
Android Settings -> System -> Developer options -> Disable child process restrictions
It may be worth generating an FAQ item on this if others report the same problem.
Describe the bug
The session, whether Ubuntu, Debian, or Arch Linux, either started in VNC graphical mode from the menu or manually from an SSH shell, aborts after a few minutes. This causes either the internal VNC viewer/SSH terminal or an external VNC/terminal application to lose connection.
Steps to reproduce the behavior:
Install Userland version 24.09.23 from Google Play store on a Samsung Galaxy SM-X610 tablet running Android 14
Create new session with Ubuntu, Debian or Arch Linux
Either: Start the VNC session Access the VNC server from within Userland or with an external application (RealVNC/bVNC) Do some stuff After a while it reports 'No connection', kicks off VNC or SSH connections It is impossible to connect by VNC or SSH Can only reset by choosing 'Stop session'
OR
Start an SSH session Start the VNC server manually Start the window manager (LXDE or XFCE) Connect to the VNC server Do some stuff After a while it aborts the SSH and VNC sessions It is impossible to connect by VNC or SSH Can only reset by choosing 'Stop session'
It may or may not be due to the VNC connection (it might be unstable anyway) but I also substituted tigervnc in place of tightvnc and it made no difference
Did not matter if the OS was updated with apt update/apt upgrade or not
Screenshots
N/A - the connection simply aborts
Device Information
Device: SM-X610 Samsung Galaxy S9 FE+ Tablet Android Version: 14 UserLAnd Version 24.09.23 (typo? "Updated on 23 September 2024")
Whether the device is rooted. NOT ROOTED Whether the device is running LineageOS NO