Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raspbian Headless
04-10-2016, 10:38 PM (This post was last modified: 04-10-2016 10:41 PM by andre_hro.)
Post: #41
RE: Raspbian Headless
I had the same problem.
I adapted the service script in the following way.
After reboot Kazoo can see the player.

[Unit]
Description=OpenHome-Player
Wants=network-online.target
After=network.target network-online.target

[Service]
User=pi
ExecStart=-/usr/bin/openhome-player
Restart=on-failure

[Install]
WantedBy=multi-user.target
Find all posts by this user
06-10-2016, 12:14 PM
Post: #42
RE: Raspbian Headless
Hello Andre_hro

Many thanks for your response!

However, I tested your modified script and still have the same results. Perhaps I will start with a clean install and try again.

The funny part is when I check the oh.service status after booting everything seems to be working fine.

Thanks!
Mike
Find all posts by this user
06-10-2016, 03:59 PM (This post was last modified: 06-10-2016 04:01 PM by bubbleguuum.)
Post: #43
RE: Raspbian Headless
I'm installing ohPlayer on a headless Rpi running Jessie, using piheadless.sh.

Is there a reason it brings all X11 libraries as a dependencies:

Quote:The following extra packages will be installed:
adwaita-icon-theme at-spi2-core colord colord-data dconf-gsettings-backend dconf-service fontconfig fontconfig-config fonts-dejavu-core glib-networking glib-networking-common glib-networking-services gsettings-desktop-schemas
hicolor-icon-theme libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libcairo-gobject2 libcairo2 libcolord2 libcolorhug2 libcroco3 libdatrie1 libdbus-glib-1-2 libdconf1 libexif12 libfile-copy-recursive-perl libfontconfig1
libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgphoto2-6 libgphoto2-l10n libgphoto2-port10 libgraphite2-3 libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libgusb2 libharfbuzz0b libieee1284-3 libjasper1 libjbig0 libjpeg8
libjson-glib-1.0-0 libjson-glib-1.0-common liblcms2-2 libltdl7 libpam-systemd libpango-1.0-0 libpango1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangox-1.0-0 libpangoxft-1.0-0 libpixman-1-0 libpolkit-agent-1-0 libpolkit-backend-1-0
libpolkit-gobject-1-0 libproxy1 librest-0.7-0 librsvg2-2 librsvg2-common libsane libsane-common libsane-extras libsane-extras-common libsoup-gnome2.4-1 libsoup2.4-1 libstartup-notification0 libthai-data libthai0 libtiff5
libwayland-client0 libwayland-cursor0 libwnck-3-0 libwnck-3-common libxcb-render0 libxcb-shm0 libxcb-util0 libxcomposite1 libxcursor1 libxft2 libxinerama1 libxkbcommon0 libxpm4 libxrandr2 libxrender1 libxres1 notify-osd policykit-1
sane-utils update-inetd

I'm not running any graphical stuff on this Pi, that's why I'm asking.
Find all posts by this user
27-04-2018, 08:57 PM
Post: #44
RE: Raspbian Headless
Hi, I had the same problem that the oh player service did not start with the script.
I added the line Type=idle. Now it works. Obviously, not all processes required for startup of Oh player were finished when the script started.

[Unit]
Description=OpenHome-Player
Wants=network-online.target
After=network.target network-online.target

[Service]
User=pi
Type=idle
ExecStart=-/usr/bin/openhome-player
Restart=on-failure

[Install]
WantedBy=multi-user.target
Find all posts by this user


Forum Jump: