Engine44
Posts: 82
Joined: Fri Dec 19, 2014 9:27 pm
Location: Netherlands

Faulty Shutdown

Wed Feb 11, 2015 12:38 pm

Hi,

When I try to shutdown B+, using GUI, I get 3 choices - shutdown, reboot, logout. No matter which I choose the system tries to reconnect. On the main screen I get spinning lines and the word 'Reconnecting'. It becomes stuck in this mode. I can shutdown using Finder on my Macbook. Is this a bug? Is there a fix?

Thanks

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Faulty Shutdown

Wed Feb 11, 2015 2:43 pm

So this is your Mac software (which?) that tries to reconnect after you power down your Pi?

Engine44
Posts: 82
Joined: Fri Dec 19, 2014 9:27 pm
Location: Netherlands

Re: Faulty Shutdown

Wed Feb 11, 2015 3:36 pm

DirkS wrote:So this is your Mac software (which?) that tries to reconnect after you power down your Pi?
No it's happening on the Pi desktop.

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Faulty Shutdown

Wed Feb 11, 2015 4:25 pm

Engine44 wrote:
DirkS wrote:So this is your Mac software (which?) that tries to reconnect after you power down your Pi?
No it's happening on the Pi desktop.
How are you viewing the Pi desktop?

HDMI cable connected from Pi to a monitor? (I suspect that the answer is no, you are using some kind of virtual connection from the MacBook to connect to the Pi and display the Pi desktop on your MacBook screen.

When you turn off the Pi the MacBook doesn't know why the Pi has disconnected and attempts to reconnect to the Pi, and keeps waiting for the Pi to answer (waiting in vain because the Pi has shutdown).
Doug.
Building Management Systems Engineer.

Engine44
Posts: 82
Joined: Fri Dec 19, 2014 9:27 pm
Location: Netherlands

Re: Faulty Shutdown

Wed Feb 11, 2015 5:58 pm

BMS Doug wrote:
Engine44 wrote:
DirkS wrote:So this is your Mac software (which?) that tries to reconnect after you power down your Pi?
No it's happening on the Pi desktop.
How are you viewing the Pi desktop?

HDMI cable connected from Pi to a monitor? (I suspect that the answer is no, you are using some kind of virtual connection from the MacBook to connect to the Pi and display the Pi desktop on your MacBook screen.

When you turn off the Pi the MacBook doesn't know why the Pi has disconnected and attempts to reconnect to the Pi, and keeps waiting for the Pi to answer (waiting in vain because the Pi has shutdown).
You're probably right. Is there a simple solution or should I just ignore it. I don't have to shutdown using the Pi menu. I can just close Screen Sharing. Thanks.

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: Faulty Shutdown

Wed Feb 11, 2015 7:19 pm

If you need to pull the power from the RPi, eg to remove the SD card, you should use the Shutdown option on the RPi GUI.

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Faulty Shutdown

Wed Feb 11, 2015 8:09 pm

Engine44 wrote: You're probably right. Is there a simple solution or should I just ignore it. I don't have to shutdown using the Pi menu. I can just close Screen Sharing. Thanks.
If you can leave the pi powered up then do that and just close screen sharing.
(The pi runs at a bit less than 5w, it will take 200 hours of operation (about 8 days) before the pi uses 1KW/hr).

If you need to turn off the pi then you can issue a delayed shutdown command and then close the screen sharing.

Code: Select all

sudo shutdown -h 5
Doug.
Building Management Systems Engineer.

Engine44
Posts: 82
Joined: Fri Dec 19, 2014 9:27 pm
Location: Netherlands

Re: Faulty Shutdown

Wed Feb 11, 2015 8:51 pm

BMS Doug wrote:
Engine44 wrote: You're probably right. Is there a simple solution or should I just ignore it. I don't have to shutdown using the Pi menu. I can just close Screen Sharing. Thanks.
If you can leave the pi powered up then do that and just close screen sharing.
(The pi runs at a bit less than 5w, it will take 200 hours of operation (about 8 days) before the pi uses 1KW/hr).

If you need to turn off the pi then you can issue a delayed shutdown command and then close the screen sharing.

Code: Select all

sudo shutdown -h 5
Thanks

Return to “Beginners”