meefik / linuxdeploy

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

Vnc err help please !!! #763

Open massidz opened 7 years ago

massidz commented 7 years ago

[00:14:47] >>> start [00:14:47] Mounting partitions: [00:14:47] / ... done [00:14:47] /proc ... done [00:14:47] /sys ... done [00:14:47] /sys/fs/selinux ... done [00:14:47] /dev ... done [00:14:47] /dev/pts ... done [00:14:47] /dev/shm ... done [00:14:48] :: Configuring core/mnt ... [00:14:48] :: Configuring core/net ... [00:14:48] :: Starting extra/dbus ... done [00:14:49] :: Starting extra/ssh ... done [00:14:49] :: Starting graphics/vnc ... done [00:14:49] <<< start [00:14:54] >>> status [00:14:55] Device: Lenovo A1000 [00:14:55] Android: 5.0 [00:14:55] Architecture: armv7l [00:14:55] Kernel: 3.10.64 [00:14:55] Memory: 24/963 MB [00:14:55] Swap: 383/599 MB [00:14:55] SELinux: yes [00:14:55] Loop devices: yes [00:14:55] Support binfmt_misc: no [00:14:55] Supported FS: ext2 ext3 ext4 fuseblk vfat [00:14:55] Installed system: Kali GNU/Linux Rolling [00:14:55] Status of components: [00:14:55] :: extra/dbus ... started [00:14:55] :: extra/ssh ... started [00:14:55] :: graphics/vnc ... stopped [00:14:55] Mounted parts: [00:14:55] / [00:14:55] /proc [00:14:55] /sys [00:14:55] /sys/fs/selinux [00:14:55] /dev [00:14:55] /dev/pts [00:14:55] /dev/shm [00:14:55] Available mount points: [00:14:55] /system 0.3/1.1 GB (ext4) [00:14:55] /data 2.6/4.5 GB (ext4) [00:14:55] /cache 0.1/0.1 GB (ext4) [00:14:55] /productinfo 0.0/0.0 GB (ext4) [00:14:55] /oem 0.0/1.1 GB (ext4) [00:14:55] /mnt/shell/emulated 2.6/4.5 GB (fuse) [00:14:55] /mnt/media_rw/sdcard0 2.6/7.4 GB (vfat) [00:14:55] /mnt/secure/asec 2.6/7.4 GB (vfat) [00:14:55] /storage/sdcard0 2.6/7.4 GB (fuse) [00:14:55] /mnt/asec/com.realvnc.viewer.android-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/com.server.auditor.ssh.client-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/com.zpwebsites.linuxonandroid-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/ru.meefik.busybox-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/android.androidVNC-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/com.p5sys.android.jump-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/org.connectbot-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/net.appcake-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/com.speedsoftware.rootexplorer-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/jackpal.androidterm-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/com.whiture.apps.ludoorg-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/com.facebook.orca-1 0.0/0.1 GB (ext4) [00:14:55] /mnt/asec/ru.meefik.linuxdeploy-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/com.facebook.katana-1 0.0/0.1 GB (ext4) [00:14:55] /mnt/asec/com.offsec.nhvnc-1 0.0/0.0 GB (ext4) [00:14:55] /mnt/asec/ru.meefik.wshell-1 0.0/0.0 GB (ext4) [00:14:56] /mnt/asec/com.offsec.nhterm-1 0.0/0.0 GB (ext4) [00:14:56] /mnt/asec/com.offsec.nethunter-1 0.0/0.0 GB (ext4) [00:14:56] /mnt/asec/stericson.busybox.donate-1 0.0/0.0 GB (ext4) [00:14:56] Available partitions: [00:14:56] /dev/block/mmcblk1p1 7569 MB (15502406 7569M b Win95 FAT32) [00:14:56] <<< status

Anan5a commented 7 years ago

It's a common issue in 2.x create a shell script with these content and run. It should work :)

#!/usr/bin/env bash

vncserver -kill :$1
vncserver -geometry widthXheight :$1
#############################
# Use ~$./vnc 0
# You can use any non used port no.
# In a client the port will 5900 or the number u used eg. 5901 5911 etc.
#############################

Also use vnc4server instead of tightvncserver