1

I have Kali Linux on my pi3. I got two doubts:

1) How do I make vnc to run during boot?(Using ssh) 2) After booting up how do I use VNC using my phone via the USB cable?

2
  • What do you want to achieve? Accessing the normal X11 screen of your Raspberry Pi with your phone?
    – Janka
    Nov 10, 2016 at 13:50
  • Yes i want to control the pi with my phone over usb Nov 10, 2016 at 13:51

2 Answers 2

1

You need three things

  1. x11vnc. That's a vnc server which makes you access the normal desktop your Raspberry Pi shows on the HDMI. Other VNC servers open another in-memory desktop instead. Start it in /etc/X11/xdm/Xsetup to have the X11 login available through VNC. You can also start it later, of course.

  2. An Android VNC viewer app. There are numerous.

  3. adb. That's needed for setting up a network connection through the USB cable. It's rather slow so you may want to think again about this.

(Nothing of this is specific to the Raspberry Pi, so your question is off-topic here.)

3
  • 1) How do i install x11vnc server on Kali Linux? Nov 10, 2016 at 14:07
  • @PratikShiveshwar This is not a discussion forum where it is appropriate to ask an endless series of open-ended questions. Please take the tour to understand better how the site works.
    – goldilocks
    Nov 10, 2016 at 15:22
  • @goldilocks ok and sorry for that.....im new to it.....and thanks once again Nov 10, 2016 at 16:26
0

Best answer is to install raspAP available in github and use raspberry pi hotspot to make connection and then use official vnc server by real vnc setup by

sudo apt-get install realvnc-vnc-server

and download vnc viewer from play store(blue color logo amybe first result by searching vnc viewer) on mobile.

Short answer but hope it helps...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.