shutdown -h now don't works from graphics

opensuse 12.1 with kde 4.9,
If I click on the shutdown icon, a window appear, I click on the “turn off computer” red icon, but computer screen become black, the moure arrow remain fixed there, and the pc doesn’t shut down.
I checked in >system settings>login screen>shutdown>= “/sbin/shutdown -h -P now”, I tried also “/sbin/shutdown -h now” and in both cases it doesn’t works.
If I do alt-ctrl-F2 to access in a console, login as root, and perform /sbin/shutdown -h now it works perfectly.

what can I do to perform a shutdown in the graphical way??

thanks, ciao, pier:-)

pier andreit wrote:
>
> opensuse 12.1 with kde 4.9,
> If I click on the shutdown icon, a window appear, I click on the “turn
> off computer” red icon, but computer screen become black, the moure
> arrow remain fixed there, and the pc doesn’t shut down.
> I checked in >system settings>login screen>shutdown>= “/sbin/shutdown
> -h -P now”, I tried also “/sbin/shutdown -h now” and in both cases it
> doesn’t works.
> If I do alt-ctrl-F2 to access in a console, login as root, and perform
> /sbin/shutdown -h now it works perfectly.
>
> what can I do to perform a shutdown in the graphical way??
>
> thanks, ciao, pier:-)
>
>
Try using /bin/systemctl poweroff and /bin/systemctl reboot

It is the same, from alt-ctrl-F2 console /bin/systemctl poweroff and /bin/systemctl reboot works, graphically, clicking on the “turn
off computer” red icon don’t works.

+1 Here i havent found a solution yet…it seems that if we have many repositories, suse makes a mess and other people have faced similar problem…If i want to shutdown i have to go to terminal → su → “/sbin/shutdown -h -P now” which is ver anoying… Hope anyone could solve this.

If you are mixing many repos then you have something with mixed version. Give list of repos

zypper lr -U

In YaST2- /etc/sysconfig Editor under

–Desktop --Display manager

DISPLAYMANAGER_SHUTDOWN

have you checked this parameter is set to

all

?

If set to anything else, one cmd to powering off is,

kdesu -c ‘halt -hip’

but then root password will be asked for.

I had it set to auto. Ive changed it to all, will see what it happens… Thanks for your answer

3 | Desktop | Desktop | No | No | dir:///home/eduardonuevo/Desktop
12 | Nvidia_DriversN | Nvidia DriversN | Si | Si | ftp://download.nvidia.com/opensuse/12.1
18 | google-chrome | google-chrome | Si | Si | http://dl.google.com/linux/chrome/rpm/stable/i386
20 | openSUSE-12.1-NonOSS-Add-on_12.1-0 | openSUSE-12.1-NonOSS-Add-on 12.1-0 | Si | Si | Index of /distribution/12.1/repo/non-oss
21 | openSUSE-12.1_12.1-1.4 | openSUSE-12.1 12.1-1.4 | Si | Si | Index of /distribution/12.1/repo/oss
17 | WineN | Wine actualizadoN | Si | Si | Index of /repositories/Emulators:/Wine/openSUSE_12.1
19 | kde3n | kde3n | Si | Si | Index of /repositories/KDE:/KDE3/openSUSE_12.1
4 | KDE4N | KDE4N | Si | Si | Index of /repositories/KDE:/Distro:/Stable/openSUSE_12.1
5 | KDE4_ComunidadN | KDE4 ComunidadN | Si | Si | Index of /repositories/KDE:/Extra/openSUSE_12.1
6 | KDE_BackportsN | KDE BackportsN | Si | Si | Index of /repositories/KDE:/UpdatedApps/openSUSE_12.1
7 | Kernel_Standard | Kernel Standard | No | No | Index of /repositories/Kernel:/stable/standard
9 | M17N_(lenguajes)N | M17N ( lenguajes)N | Si | Si | Index of /repositories/M17N/openSUSE_12.1
16 | Sopcast_PlayerN | Sopcast PlayerN | Si | Si | Index of /repositories/home:/hillwood/openSUSE_12.1
11 | MozillaN | MozillaN | Si | Si | Index of /repositories/mozilla/openSUSE_12.1
2 | Contrib
(_third_party_packages)N | Contrib ( third party packages)N | Si | Si | http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_12.1/
1 | 12.1 | 12.1 | Si | Si | Index of /update/12.1
10 | Mono_Silverlight_11.4_Version_2.10.2 | Mono Silverlight 11.4 Version 2.10.2 | Si | Si | http://ftp.novell.com/pub/mono/archive/2.10.2/download/openSUSE_11.4/
13 | Packman_Repository_Mirror2N | Packman Repository Mirror2N | Si | Si | Index of /Linux/Packman/suse/12.1
8 | LibdvdcssN | Libdvdcss repositoryN | Si | Si | http://opensuse-guide.org/repo/12.1/
15 | Packman_repositoryN | Packman repositoryN | No | No | Index of /suse/12.1
14 | Packman_Repository_MirrorN | Packman Repository MirrorN | No | No | Index of /pub/packman/suse/openSUSE_12.1

Thanks for your help…

On 2012-08-22 13:36, ejgutierrez wrote:
>
> 3 | Desktop | Desktop
> | No | No | dir:///home/eduardonuevo/Desktop
>

Codetags, please…

Posting in Code Tags - A Guide

> 12 | Nvidia_DriversN | Nvidia DriversN
> | Si | Si |
> ftp://download.nvidia.com/opensuse/12.1
>
> 18 | google-chrome | google-chrome
> | Si | Si |
> http://dl.google.com/linux/chrome/rpm/stable/i386
>
> 20 | openSUSE-12.1-NonOSS-Add-on_12.1-0 | openSUSE-12.1-NonOSS-Add-on
> 12.1-0 | Si | Si | ‘Index of
> /distribution/12.1/repo/non-oss’
> (http://download.opensuse.org/distribution/12.1/repo/non-oss)
>
> 21 | openSUSE-12.1_12.1-1.4 | openSUSE-12.1 12.1-1.4
> | Si | Si | ‘Index of
> /distribution/12.1/repo/oss’
> (http://download.opensuse.org/distribution/12.1/repo/oss)
>
> 17 | WineN | Wine actualizadoN
> | Si | Si | ‘Index of
> /repositories/Emulators:/Wine/openSUSE_12.1’
> (http://tinyurl.com/72dwnjw)
> 19 | kde3n | kde3n
> | Si | Si | ‘Index of
> /repositories/KDE:/KDE3/openSUSE_12.1’
> (http://download.opensuse.org/repositories/KDE%3A/KDE3/openSUSE_12.1/)
>
> 4 | KDE4N | KDE4N
> | Si | Si | ‘Index of
> /repositories/KDE:/Distro:/Stable/openSUSE_12.1’
> (http://tinyurl.com/6v4okbx)
> 5 | KDE4_ComunidadN | KDE4 ComunidadN
> | Si | Si | ‘Index of
> /repositories/KDE:/Extra/openSUSE_12.1’
> (http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.1/)
>
> 6 | KDE_BackportsN | KDE BackportsN
> | Si | Si | ‘Index of
> /repositories/KDE:/UpdatedApps/openSUSE_12.1’
> (http://tinyurl.com/823865w)
> 7 | Kernel_Standard | Kernel Standard
> | No | No | ‘Index of
> /repositories/Kernel:/stable/standard’
> (http://download.opensuse.org/repositories/Kernel:/stable/standard/)
>
> 9 | M17N_(lenguajes)N | M17N ( lenguajes)N
> | Si | Si | ‘Index of
> /repositories/M17N/openSUSE_12.1’
> (http://download.opensuse.org/repositories/M17N/openSUSE_12.1/)
>
> 16 | Sopcast_PlayerN | Sopcast PlayerN
> | Si | Si | ‘Index of
> /repositories/home:/hillwood/openSUSE_12.1’ (http://tinyurl.com/d9ekgje)
>
> 11 | MozillaN | MozillaN
> | Si | Si | ‘Index of
> /repositories/mozilla/openSUSE_12.1’
> (http://download.opensuse.org/repositories/mozilla/openSUSE_12.1/)
>
> 2 | Contrib
(_third_party_packages)N | Contrib ( third party
> packages)N | Si | Si | http://tinyurl.com/7dddw3n
> 1 | 12.1 | 12.1
> | Si | Si | ‘Index of /update/12.1’
> (http://download.opensuse.org/update/12.1)
>
> 10 | Mono_Silverlight_11.4_Version_2.10.2 | Mono Silverlight 11.4
> Version 2.10.2 | Si | Si |
> http://ftp.novell.com/pub/mono/archive/2.10.2/download/openSUSE_11.4/
>
> 13 | Packman_Repository_Mirror2N | Packman Repository Mirror2N
> | Si | Si | ‘Index of /Linux/Packman/suse/12.1’
> (http://ftp.twaren.net/Linux/Packman/suse/12.1/)
>
> 8 | LibdvdcssN | Libdvdcss repositoryN
> | Si | Si | http://opensuse-guide.org/repo/12.1/
>
> 15 | Packman_repositoryN | Packman repositoryN
> | No | No | ‘Index of /suse/12.1’
> (http://packman.jacobs-university.de/suse/12.1)
>
> 14 | Packman_Repository_MirrorN | Packman Repository MirrorN
> | No | No | ‘Index of
> /pub/packman/suse/openSUSE_12.1’
> (http://packman.mirrors.skynet.be/pub/packman/suse/openSUSE_12.1/)
>
>
> Thanks for your help…
>
>


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

For me it worked, thanks a lot.