milnepe / slideshow

SBC digital signage application using LibreOffice as presentation manager
GNU General Public License v3.0
29 stars 9 forks source link

Does not seem to work #1

Closed jb2cool closed 11 years ago

jb2cool commented 11 years ago

Followed these instructions and something seems to be wrong.

First of all I had problems with an incomplete install of libreoffice but throwing an apt-get update in before this seems to sort that.

I followed the rest of the instructions and on the final reboot I just get presented with a login screen.

image

milnepe commented 11 years ago

On 12/05/13 14:48, jb2cool wrote:

Followed these instructions and something seems to be wrong.

First of all I had problems with an incomplete install of libreoffice but throwing an apt-get update in before this seems to sort that.

I followed the rest of the instructions and on the final reboot I just get presented with a login screen.

image https://f.cloud.github.com/assets/4409784/492966/835b919a-bb0a-11e2-8d64-40dcff148070.jpg

— Reply to this email directly or view it on GitHub https://github.com/milnepe/slideshow/issues/1.

Hi JB, Why don't you try with a fresh image and see how you get on with that. I used the latest raspbian image, then ran update / upgrade. Let me know if it worked... Pete

milnepe commented 11 years ago

On 12/05/13 14:48, jb2cool wrote:

Followed these instructions and something seems to be wrong.

First of all I had problems with an incomplete install of libreoffice but throwing an apt-get update in before this seems to sort that.

I followed the rest of the instructions and on the final reboot I just get presented with a login screen.

image https://f.cloud.github.com/assets/4409784/492966/835b919a-bb0a-11e2-8d64-40dcff148070.jpg

— Reply to this email directly or view it on GitHub https://github.com/milnepe/slideshow/issues/1.

You also need to run raspi-config and setup auto login as user pi (default)

jb2cool commented 11 years ago

I'm mainly a Raspbmc user so all of this experimentation was with a clean vanilla Raspbrian install (latest).

Raspi-config runs on first boot by default and when I went through those settings I didn't see anything for auto-login (just saw the "should we boot straight to desktop?" Which I answered yes to. The system was booting into the desktop as user Pi by default though.

Will check with apt-get update/upgrade tonight and report back

image image

jb2cool commented 11 years ago

Ok, i managed to give this a try again from scratch tonight. These are the steps i followed.

Imaged SD card with fresh image (2013-02-09-wheezy-raspbian.img)

On first boot; Updated raspi-config expand_rootfs overscan = disable configure_keyboard = standard UK keyboard change_locale = was already correct EN_GB.UTF-8 change_timezone = Europe, London ssh = Enable SSH server boot_behaviour = Boot to desktop? Yes Reboot

Pi then booted up directly to desktop logged in as Pi user.

Opened a terminal; apt-get-update apt-get upgrade

sudo reboot (For good measure)

sudo apt-get install matchbox sudo apt-get install rsync sudo apt-get install libreoffice

Copied your .xsession to /home/pi

sudo cp -r /home/pi /opt/ sudo cd /opt/pi/ sudo chmod -R a+r . sudo chmod a+x .xsession

Put a presentation called slideshow.odp in /opt/pi

sudo chmod -R a+r . (Did this again so that it applied to the presentation) sudo reboot

Now i just gets stuck at the login screen i originally posted. There are 4 options to choose from, Default Xsession, LXDE, Matchbox and Openbox. Am i supposed to choose one? If i try Default Xsession it just bounces me back to the login screen again.

I also tried; sudo chmod a+x .xsession on the .xsession in the home directory but it makes no difference.

And idea what's going wrong? Is this all because i chose to boot straight to desktop at the beginning?

jb2cool commented 11 years ago

ah, finally!

The issue was that when i was downloading the .xsession on the computer to transfer to the Raspberry Pi i was right clicking on it and choosing save-as. Now it turns out that i was not saving a file but instead saving a GitHub webpage. Instead i downloaded with the zip functionality and this works great now.

I have adjusted the code slightly to add in the apt-get update at the start (To fix Libreoffice install issues) and also to add in some sudo's where needed but your code was spot on in the first instance.

Hope this helps someone in case they make the same mistake as me.

Can you mark this issue as solved?

milnepe commented 11 years ago

On 16/05/13 21:43, jb2cool wrote:

ah, finally!

The issue was that when i was downloading the .xsession on the computer to transfer to the Raspberry Pi i was right clicking on it and choosing save-as. Now it turns out that i was not saving a file but instead saving a GitHub webpage. Instead i downloaded with the zip functionality and this works great now.

I have adjusted the code slightly to add in the apt-get update at the start and also to add in some sudo's where needed but your code was spot on in the first instance.

Hope this helps someone in case they make the same mistake as me.

— Reply to this email directly or view it on GitHub https://github.com/milnepe/slideshow/issues/1#issuecomment-18027768.

Glad you got it working and thanks for updating the install instructions

  • Pete