Results 1 to 9 of 9

Thread: VNC not working

  1. #1
    Join Date
    2020-Mar
    Posts
    12

    VNC not working

    I need help with the vnc.
    root@kali:/# vncserver :1 -geometry 1920x1080 && echo "Closing terminal in 5 secs" && sleep 5 && exit
    New 'localhost:1 (root)' desktop at :1 on machine localhost
    Starting applications specified in /root/.vnc/Xvnc-session
    Log file is /root/.vnc/localhost:1.log

    Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :1 to connect to the VNC server.


    vncserver: Failed command '/root/.vnc/Xvnc-session': 256!
    =================== tail -15 /root/.vnc/localhost:1.log ===================
    Sat Apr 18 16:00:33 2020
    vncext: VNC extension running! vncext: Listening for VNC connections on local interface(s), port 5901
    vncext: created VNC server for screen 0
    /system/bin/sh: <stdin>[1]: /etc/X11/Xsession: can't execute: Permission denied
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Internal error: Could not resolve keysym XF86FullScreen
    Errors from xkbcomp are not fatal to the X server

    Sat Apr 18 16:00:34 2020
    ComparingUpdateTracker: 0 pixels in / 0 pixels out
    ComparingUpdateTracker: (1:nan ratio)
    X connection to :1 broken (explicit kill or server shutdown).
    Killing Xtigervnc process ID 29066... which seems to be deadlocked. Using SIGKILL!

    ================================================== =========================

    Starting applications specified in /root/.vnc/Xvnc-session has failed.
    Maybe try something simple first, e.g.,
    tigervncserver -xstartup /usr/bin/xterm
    root@kali:/#

  2. #2
    Join Date
    2020-Mar
    Location
    Turkey, İstanbul
    Posts
    103
    chmod +x /etc/X11/Xsession

    then try again.
    if not works, then install nethunter 2019.4c, terminal and Kex ( new vnc app ) latest v from fdroid nethunter store

  3. #3
    Join Date
    2020-Mar
    Posts
    12
    I tried the latest version of kali nethunter, and the server started but then it stopped. Then i tried 2019.4c and the server is not even starting.

  4. #4
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Which nethunter image did you use?

  5. #5
    Join Date
    2020-Mar
    Posts
    12
    Hello re4son!
    I think this one.
    https://androidfilehost.com/?fid=24665539028713534
    I flashed this and it bricked my phone. Then i flashed the original image eith odin but the files didn't erase and i still had all my files. Then, i extracred that zip and took the chroot and used it in kalinethunter. And it's working perfectly except the vnc.

  6. #6
    Join Date
    2020-Mar
    Posts
    12
    The server from the NetHunter app is not working and i can't download an official version. I tried this: https://build.nethunter.com/kalifs/kalifs-latest/
    and it didn't work. Then i renamed the archive to the original name of a chroot and it still didn't work.

  7. #7
    Join Date
    2020-Mar
    Location
    Turkey, İstanbul
    Posts
    103
    Build a new NetHunter installer from: https://gitlab.com/kalilinux/nethunt...-/tree/master/ here.

    clone this project, then enter nethunter-installer directory and

    https://gitlab.com/kalilinux/nethunt...he-environment

    apply what it saying.

  8. #8
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Quote Originally Posted by TrixTM View Post
    The server from the NetHunter app is not working and i can't download an official version. I tried this: https://build.nethunter.com/kalifs/kalifs-latest/
    and it didn't work. Then i renamed the archive to the original name of a chroot and it still didn't work.
    Bad idea to use these images. The build server is an unmaintained playground for developers and these images are from the pre-kex days.
    Better to stick to the official images from our download page:

    https://www.offensive-security.com/k...nter-download/

    If you'd like to install NetHunter on a device not listed then pick the NetHunter light image for your architecture.

  9. #9
    Join Date
    2019-Jul
    Posts
    5
    Have downloaded the generic arm64 build for chroot, yet whenever I upgrade and try to use tightvncserver, it simply reboots my device. Not sure whether it has anything to do with the magusk module...

Similar Threads

  1. Replies: 1
    Last Post: 2022-06-29, 14:18
  2. External HDD not working, Keyboard, Trackpad not working
    By antoniochelala in forum Installing Archive
    Replies: 0
    Last Post: 2020-05-16, 22:11
  3. Virtual Console not working and Extended Display not working
    By Nergalwaja in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2017-04-05, 15:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •