Reboot display doesn't work using Ubuntu

  • 1
  • Question
  • Updated 4 years ago
  • Answered
Hi,
I'm not able to reboot my display, the restart player function works correctly, but when using the reboot command nothing happen, I can see in the rise log file, that the reboot request is received, I think is an authorization problem. I did not installed rise with root user.

Thanks!
Photo of Enp

Enp

  • 584 Points 500 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
Can you confirm the version of Linux you're using.

Thanks.
Photo of Enp

Enp

  • 584 Points 500 badge 2x thumb
Hi Neal,
I'm using Ubuntu 14.04 32bit. 

Thanks.
Photo of Enp

Enp

  • 584 Points 500 badge 2x thumb
Hi Neal,
I found that the problem coud be authorization on dbus, if I try to execute manually the dbus command I get this:

dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart

Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files

Thanks.
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
Thanks for the find.  I'm seeing the same thing here where 14.04 isn't rebooting. Based on an initial find, it looks like 14.04 renamed the action.
Photo of FAC Signage

FAC Signage

  • 732 Points 500 badge 2x thumb
I just experienced a similar issue on 13.10 - the restart player button works, but the reboot button does not.

Looking in the RisePlayer.log, I find the following:

Nov 24 08:45:01.263 INFO: Exec: [bash, -c, dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart]

That corresponds to a scheduled reboot at 8:45 AM, but it didn't reboot.   When I run that command manually using:

$ dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart

it failed with the same error above "The name org.freedesktop.ConsoleKit was not provided by any .service files"

After installing console kit using:

$ sudo apt-get install consolekit

then the manual command works, however, clicking the Reboot button on the Display page still does not reboot but it's still logging in RisePlayer.log

So, I'm not sure why it works when typed in manually, but not when the player issues the command.
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
Interesting.  I know that 14.04 doesn't use the consolekit any longer. We  don't have any 13.10 Displays remaining since that particular version of the operating system reached end of life and as a result we no longer support it. Our recommended version for Ubuntu is 14.04.

Thanks.
Photo of FAC Signage

FAC Signage

  • 732 Points 500 badge 2x thumb
Thanks Neal.  I'll be installing a test player with 14.04 and see what I can find out.  Our existing displays are all at 13.10 so if I can figure out a way to get reboot to work, it's a good time to just update them all.   Fortunately, we only have a few displays.   I suppose if you had many displays though, as long as everything keeps working, there wouldn't be much need to upgrade unless something stops working or you want to take advantage of a new feature.
Photo of FAC Signage

FAC Signage

  • 732 Points 500 badge 2x thumb
FWIW, I tried the same on 14.04 with the same results - reboot does not work, nor does the manual dbus command in the shell but when I installed the consolekit package, the dbus command in the shell works, just not with rvplayer thought it's still logging it.
Photo of FAC Signage

FAC Signage

  • 732 Points 500 badge 2x thumb
After some research, it seems that consolekit has been replaced by systemd-logind  in 14.04 and that the new dbus command to reboot is now:
 
$ dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Reboot" boolean:true

See here

I removed consolekit and tried the above in the shell and it works. 

Neal, are you able to test this new command with rvplayer?

Thanks.
Photo of Adam Kennerley

Adam Kennerley

  • 60 Points
Neal
Did you get anywhere with this?
Its becoming a pain having to manually reboot the players.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Adam,

The reboot player from RVA functionality is not currently supported on 14.04.
Photo of Chuck Wojack Jr

Chuck Wojack Jr

  • 62 Points
Any other supported os on a raspberry pi recommended?
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Chuck,

Currently the only supported OS for Raspberry Pi2 is Ubuntu. The documentation for the image is located here.