Page 1 of 1

Unable to Shut Down etc. After Upgrade

Posted: Sat May 25, 2019 10:09 pm
by plumtreed
The title says it.....I up graded, all went well until shutdown, restart and so on but just returned to login screen. shut down requires a hard shut down.

Re: Unable to Shut Down etc. After Upgrade

Posted: Mon May 27, 2019 9:04 am
by ericbsd
That is hod, but I will pay attention to that.

Re: Unable to Shut Down etc. After Upgrade

Posted: Thu Jun 06, 2019 5:17 am
by kernel-error
Hi there,

maybe this will help to solve the problem:

Jun 6 08:28:47 console-kit-daemon[1552]: WARNING: Unable to Stop system: Failed to execute child process <E2>M-^@M-^\/usr/local/lib/ConsoleKit/scripts/ck-system-stop<E2>M-^@M-^] (No such file or directory)
Jun 6 08:28:47 mate-session[2170]: WARNING: Unable to stop system: Unable to Stop system: Failed to execute child process <E2>M-^@M-^\/usr/local/lib/ConsoleKit/scripts/ck-system-stop<E2>M-^@M-^] (No such file or directory)
Jun 6 08:28:48 console-kit-daemon[1552]: CRITICAL: ck_session_set_active: assertion 'CK_IS_SESSION (session)' failed
Jun 6 08:28:48 console-kit-daemon[1552]: WARNING: Unable to activate console: Inappropriate ioctl for device
Jun 6 08:31:02 console-kit-daemon[1552]: CRITICAL: ck_session_set_active: assertion 'CK_IS_SESSION (session)' failed
Jun 6 08:31:02 console-kit-daemon[1552]: WARNING: Unable to activate console: Inappropriate ioctl for device

Re: Unable to Shut Down etc. After Upgrade

Posted: Thu Jun 06, 2019 5:25 am
by kernel-error
Japp simpel fix (not 100% sure if its correct):

root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-hibernate.sample ck-system-hibernate
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-hybridsleep.sample ck-system-hybridsleep
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-restart.sample ck-system-restart
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-stop.sample ck-system-stop
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-suspend.sample ck-system-suspend

Re: Unable to Shut Down etc. After Upgrade

Posted: Mon Aug 05, 2019 1:26 am
by finalcrypt
Thanks that fixed it for me too.
This one-liner will also fix it

Code: Select all

for i in "/usr/local/lib/ConsoleKit/scripts/ck-"*; do sudo mv -v "${i}" "${i%.sample}"; done

Re: Unable to Shut Down etc. After Upgrade

Posted: Mon Aug 05, 2019 12:21 pm
by mandog
kernel-error wrote: Thu Jun 06, 2019 5:25 am Japp simpel fix (not 100% sure if its correct):

root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-hibernate.sample ck-system-hibernate
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-hybridsleep.sample ck-system-hybridsleep
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-restart.sample ck-system-restart
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-stop.sample ck-system-stop
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-suspend.sample ck-system-suspend
Great work worked fine for me, But please can you not assume every one is a BSD geek it makes it hard for users, the way you write.
If i was not a Arch Linux user for 15 years i would not make head nor tail of what is writen, on BSD forums in general.
Thanks again for the Solution. :D