meefik / linuxdeploy

Install and run GNU/Linux on Android
https://meefik.github.io/linuxdeploy
GNU General Public License v3.0
5.19k stars 678 forks source link

unable to start vnc #886

Open Bonteruel opened 6 years ago

Bonteruel commented 6 years ago

I tried to launch kali linux. Starting graphics/vnc ... -su: vncserver: command not found. And if I try to start the terminal: Error when starting the terminal. I have installed the terminal and a vnc client,setting with localhost and port 5900. ¿What's going on? The android version of the device is 4.4.2,is rooted and suport loop device

thabetthabet commented 6 years ago

This is related to Linux kernel version. For my case I have 3.10 and I have the same issue. I heard that a new update will fix this problem. If your are not able to upgrade your kernel version, you need to wait(I'm also waiting for it too which led me to your post). Plz search more on the net before taking my words in consideration.

Bonteruel commented 6 years ago

The linux kernel version of my android device is 3.4.39, is it higher than the required for Linux Deploy?

thabetthabet commented 6 years ago

kernel version required is 3.2, so I think that you issue is not relaited to kernel version but in something else. I wish_ you a good luck with that.

TCerbz commented 6 years ago

It says vncserver is not found... you have to install vncserver.

  • Open terminal emulator
  • run linuxdeploy shell
  • run apt-get install tigervnc*
  • run update-alternatives --config Xvnc

I am using Kernel version 3.4.67 and it's no VNC issue...

[18:19:37] >>> status [18:19:38] Device: GT-S7270 [18:19:38] Android: 4.4.4 [18:19:38] Architecture: armv7l [18:19:38] Kernel: 3.4.67-02KK+ [18:19:38] Memory: 154/902 MB [18:19:38] Swap: 1023/1023 MB [18:19:38] SELinux: yes [18:19:38] Loop devices: yes [18:19:38] Support binfmt_misc: no [18:19:39] Supported FS: ext2 ext3 ext4 fuseblk msdos vfat [18:19:39] Installed system: Kali GNU/Linux Rolling [18:19:39] Status of components: [18:19:39] :: extra/dbus ... started [18:19:39] :: extra/ssh ... started [18:19:39] :: graphics/vnc ... started [18:19:39] Mounted parts: [18:19:39] / [18:19:39] /proc [18:19:39] /sys [18:19:39] /sys/fs/selinux [18:19:39] /dev [18:19:39] /dev/pts [18:19:39] /dev/shm [18:19:39] /mnt/sdcard [18:19:39] /mnt/sdcard1 [18:19:39] Available mount points: [18:19:39] /sys/kernel/debug 0.0/0.0 GB (debugfs) [18:19:39] /system 0.7/1.3 GB (ext4) [18:19:39] /efs 0.0/0.0 GB (ext4) [18:19:39] /cache 0.2/0.2 GB (ext4) [18:19:39] /data 1.1/2.0 GB (ext4) [18:19:39] /data/sdext2 0.7/10.8 GB (ext4) [18:19:39] /mnt/shell/emulated 1.1/2.0 GB (fuse) [18:19:40] /mnt/media_rw/sdcard1 0.7/3.8 GB (vfat) [18:19:40] /storage/sdcard1 0.7/3.8 GB (fuse) [18:19:40] /storage/emulated/0 1.1/2.0 GB (fuse) [18:19:40] /storage/emulated/0/Android/obb 1.1/2.0 GB (fuse) [18:19:40] /storage/emulated/legacy 1.1/2.0 GB (fuse) [18:19:40] /storage/emulated/legacy/Android/obb 1.1/2.0 GB (fuse) [18:19:40] Available partitions: [18:19:40] /dev/block/mmcblk1p1 3905 MB (7998064 3905M c Win95 FAT32) [18:19:40] /dev/block/mmcblk1p2 11 GB (23118208 11.0G 83 Linux) [18:19:40] <<< status screenshot_2017-12-23-18-21-23 screenshot_2017-12-23-18-21-56 screenshot_2017-12-23-18-22-41 screenshot_2017-12-23-18-23-32