Closed qazmko1029 closed 8 months ago
Any log?
[00:31:39] >>> start [00:31:41] Checking file system ... skip [00:31:41] Mounting the container: [00:31:41] / ... done [00:31:41] /proc ... done [00:31:41] /sys ... done [00:31:41] /system ... done [00:31:41] /vendor ... done [00:31:41] /apex ... done [00:31:41] /apex/com.android.runtime ... done [00:31:41] /dev ... done [00:31:42] /dev/shm ... done [00:31:42] /dev/pts ... done [00:31:42] /dev/tty ... done [00:31:43] :: Starting core/hostname ... done [00:31:43] :: Mounting partitions: [00:31:43] /sdcard ... done [00:31:43] :: Configuring core/mnt ... [00:31:43] :: Configuring core/net ... [00:31:44] :: Starting desktop/dbus ... done [00:31:44] :: Starting extra/pulse ... done [00:31:44] :: Starting extra/ssh ... done [00:31:45] :: Starting graphics/vnc ... [00:31:45] New Xtigervnc server 'localhost:0 (lin)' on port 5900 for display :0. [00:31:45] Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /home/lin/.vnc/passwd localhost:0 to connect to the VNC server. [00:31:48] done [00:31:48] <<< start
Oops, it's xfce not lxde :S
Can you record the screen? I need more information
https://drive.google.com/file/d/18z7cPhgwH62MGpBPJIHBtKECtuerMmco/view?usp=sharing
btw, tried the same steps on Oneplus 5 with los android 12, same problem goes. I have no idea if I did something wrong when using it.
Edit: I managed to run connectable VNC, use magisk module lhroot for chroot Debian tarball, install and manually configure SSH, LXDE and TightVNCServer, but not in Linux Deploy. But lhroot is quite inconvinent to use.
The default VNC port for Linux deploy is 0
Yes and I can't connect to it with address localhost:0, nor localhost.
~After banging my head on it for the entire afternoon, for me it was the username: it should be "android"~
~EDIT: Apparently, it was not the only issue (I was using another version). I'm trying again.~
EDIT 2: A-ha, it's much more arbitrary and illogical than that: you need to install with a username, then stop the container, change the username to something else, run Configure again, and restart the container.
It works! So now the problem is, how to resolve this? Or at least provide something to simplify the workaround, really appreciate to the hard work. Thanks!
My pleasure! It is to note that changing the username and rerunning Configure actually creates another user altogether... the first user can be deleted later via userdel
if you want.
I frankly have no idea why this is, however, let alone how to fix it :/
I suspect that there are something different between configure and reconfigure functions...anyway thanks for the workaround, I'll remember it.
Xiaomi 5(gemini), Lineage OS 19.1(Android 12L) nightly, Magisk installed and busybox module applied Using to install Debian bullseye with SSH and VNC enabled. SSH works, but vncserver seems cannot be connected with local or remote vnc client, local vnc client "timed out" and remote client "closed unexpectedly". Tried to reconfigure lxde and vncserver but with no luck, what could be wrong here?