Page 1 of 1

Getting started with Raspberry Pi SD-card image

Posted: Fri Mar 14, 2014 4:43 am
by tonynelson
Hi all,

I've downloaded and installed on an SD-card the Raspberry Pi image from the Downloads page here:
drive.google.com/uc?export=download& ... GZZRTZyNW8

I assumed that this image would have completed the "Installation" phases of the setup so I skipped the "Installation" instructions and went to "First Time Setup", as described here:
domotiga.nl/projects/domotiga/wiki/Domo ... Time_Setup

Unfortunately I hit problems from the first line, as my instruction to execute "./DomotiGa3.gambas" returned an error stating "Cannot connect to X server".

Can anyone tell me which point in the instructions I need to start with the SD-card image?

Any guidance much appreciated.

Tony.

Re: Getting started with Raspberry Pi SD-card image

Posted: Fri Mar 14, 2014 12:38 pm
by wwolkers
The SD-card image only runs the server part, no graphical user interface, so you will not be able to start DomotiGa3.gambas, but DomotiGaServer3.gambas will be started automatically.
You should be able to connect to the webinterface from any other PC.

You could install VNC if you want and connect that way, to be able to run the DomotiGa GUI, or you can run a full desktop on the Raspberry, whichever you prefer.

Re: Getting started with Raspberry Pi SD-card image

Posted: Sat Mar 15, 2014 11:31 am
by tonynelson
Thanks for that.

I'm going to follow these instructions and do the install manually so I can get both server and client.

domotiga.nl/projects/domotiga/wiki/Hard ... spberry-Pi

Any good reason why the SD card image doesn't include the client? Is it a question of the Pi lacking the necessary grunt?

Cheers,

Tony

Re: Getting started with Raspberry Pi SD-card image

Posted: Sat Mar 15, 2014 6:05 pm
by uAlex73
The image has everything onboard, but the GUI (X-windows) isn't enabled by default. To change it, follow the following steps:

1) ssh to the pi, "ssh pi@<ip>"
2) Execute then:
sudo /bin/bash
update-rc.d domotigaserver3 disable
3) Enable X:
raspi-config and enable "3 Enable Boot to Desktop/Scratch" - Choose "Desktop" - Click on "yes" when it asks to reboot

Now it will reboot with the Desktop and you can start DomotiGa, it is located in "/home/pi/domotiga".

Re: Getting started with Raspberry Pi SD-card image

Posted: Sat Mar 15, 2014 6:06 pm
by uAlex73
BTW: In the next Pi image, i will make this clearer :-)

Re: Getting started with Raspberry Pi SD-card image

Posted: Sun Mar 16, 2014 12:36 am
by tonynelson
Brilliant. Thanks.

Re: Getting started with Raspberry Pi SD-card image

Posted: Mon Aug 04, 2014 12:57 pm
by joy123
@uAlex73 I did follow ur instruction. When I try to domotiga.gambas3 still getting same error. Can somebody tell me how to start web client plz

Re: Getting started with Raspberry Pi SD-card image

Posted: Mon Aug 04, 2014 2:01 pm
by wwolkers
huh?
So you are saying that you added the GUI, and you are starting DomotiGa3.gambas, and getting the error that it cannot connect to the X server?

You are trying this locally on the pi, from the GUI, right?