TensorFlow-Object-Detection-on-the-Raspberry-Pi icon indicating copy to clipboard operation
TensorFlow-Object-Detection-on-the-Raspberry-Pi copied to clipboard

Headless rpi B+

Open alexharnozd opened this issue 6 years ago • 4 comments
trafficstars

Hi all.

Follow all the tuts and some workaround. Able to complete all tutorial with less error. But when i issue

sudo pyhton3 object_detectionetcetc.py

I got this error "cannot connect to X server"

Any work around on this? Been struggling for 3 days with this.

Setup : Pi camera Rpi b+ My living room samsung tv via hdmi to rpi (headless)

Did test take picture manually is ok Did test take video manually is ok Did test with keyboard usb with hdmi tv screen upon booth up

So far i m only SSH to rpi b+ via laptop(windows) & ssh via android phone.

alexharnozd avatar Apr 02 '19 22:04 alexharnozd

If you have installed the default Raspian OS, you can enable VNC to your pi.

gheesung avatar Apr 04 '19 14:04 gheesung

Hi @gheesung, thank you.

I installed this ver Raspbian Stretch Lite from official rpi website.

Did enable VNC from raspi-config And installed bunch of files in order to enable this vnc feature.

Any other step should i make?

alexharnozd avatar Apr 04 '19 14:04 alexharnozd

I have the normal Raspian Stretch installed and enable the VNC via raspi-config.

I did not notice if raspi-config installed additional files.

At the VNC client, I have disabled encryption to reduce the workload of the already over-worked pi.

gheesung avatar Apr 04 '19 15:04 gheesung

Hi all.

Follow all the tuts and some workaround. Able to complete all tutorial with less error. But when i issue

sudo pyhton3 object_detectionetcetc.py

I got this error "cannot connect to X server"

Any work around on this? Been struggling for 3 days with this.

Setup : Pi camera Rpi b+ My living room samsung tv via hdmi to rpi (headless)

Did test take picture manually is ok Did test take video manually is ok Did test with keyboard usb with hdmi tv screen upon booth up

So far i m only SSH to rpi b+ via laptop(windows) & ssh via android phone.

hi alexharnozd, Did you solved this issue? I am also getting the same error. It would be great help if you share how you proceed to solve the error. Thanks in advance.

lavanya5 avatar Apr 23 '20 14:04 lavanya5