View Full Version : KDE4.3.0. Why Halt instead of Shutdown?
zeiz
August 14th, 2009, 03:25
On my systems shutdown cannot be called from KDE4.3.0. Halt instead.
Why so?
Brandybuck
August 14th, 2009, 05:41
Is this from kdm? If so, you can edit the halt command to whatever you want. As root:
/usr/local/kde4/bin/kcmshell4 kdm
dennylin93
August 14th, 2009, 10:52
On my systems shutdown cannot be called from KDE4.3.0. Halt instead.
Why so?
Can you provide more details, like how KDE is started (startx, kdm, gdm, etc)?
phoenix
August 14th, 2009, 17:22
The default settings for KDE is to use halt and reboot. However, you can easily change these to use shutdown -h/-r/-p, via the Login Manager module in System Settings.
zeiz
August 16th, 2009, 03:49
Thanks. I already tried login manager: it's not editable. User is in wheel group.
# /usr/local/kde4/bin/kcmshell4 kdm
No protocol specified
kcmshell4: cannot connect to X server :0
#
Same from % just invokes again login manager as not editable.
I use kdm, gnome also installed. What else can I do?
avilla@
August 16th, 2009, 12:07
I already tried login manager: it's not editable. User is in wheel group.
run sudo systemsettings and it will be editable. in the future, i've heard they should put a button to gain root priviliges
tkjacobsen
August 16th, 2009, 17:06
It would be nice to patch kwin (kdebase4?) to use "shutdown -p now" by default.
zeiz
August 17th, 2009, 01:21
$ su
Password:
# systemsettings
systemsettings: Command not found.
# whereis systemsettings
systemsettings: /usr/ports/x11/kdebase4-workspace/work/kdebase-workspace-4.3.0/build/doc/systemsettings
# /usr/local/kde4/bin/systemsettings
kerzpp2#
Nothing happends, if from % - again same...not editable :)
avilla@
August 17th, 2009, 01:39
it doesn't work here too with su. i think you have to use sudo because it (xorg or kde) has to know what user you are, or something similar
tkjacobsen
August 18th, 2009, 23:42
I don't think the KDE/bin dir is in your path by default. Use kdesu systemsettings from "run command" within kde, that should work (at least it does for me).
avilla@
August 19th, 2009, 09:15
I don't think the KDE/bin dir is in your path by default.
it is if you are in kde, at least when you use kdm to login
zeiz
August 20th, 2009, 04:24
who needs simple things to become quite complicated?
indeed sudo starts systemsettings in editable mode.
I changed halt to shutdown -p now
Pressed "Turn of computer" => halt again.
Checked systemsetting: still shutdown -p now but halt instead.
Also there are lot of errors during systemsetings start:
$ sudo systemsettings
Password:
Error: "/var/tmp/kdecache-kevin" is owned by uid 1001 instead of uid 0.
Error: "/tmp/kde-kevin" is owned by uid 1001 instead of uid 0.
Error: "/tmp/kde-kevin" is owned by uid 1001 instead of uid 0.
Error: "/tmp/ksocket-kevin" is owned by uid 1001 instead of uid 0.
kdeinit4: Shutting down running client.
kdeinit4: preparing to launch /usr/local/kde4/lib/libkdeinit4_klauncher.so
Error: "/tmp/ksocket-kevin" is owned by uid 1001 instead of uid 0.
Error: "/tmp/kde-kevin" is owned by uid 1001 instead of uid 0.
kdeinit4: preparing to launch /usr/local/kde4/lib/libkdeinit4_kded4.so
Error: "/var/tmp/kdecache-kevin" is owned by uid 1001 instead of uid 0.
Error: "/tmp/kde-kevin" is owned by uid 1001 instead of uid 0.
kdeinit4: preparing to launch /usr/local/kde4/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-kevin" is owned by uid 1001 instead of uid 0.
kdeinit4: preparing to launch /usr/local/kde4/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-kevin" is owned by uid 1001 instead of uid 0.
Error: "/var/tmp/kdecache-kevin" is owned by uid 1001 instead of uid 0.
kdeinit4: preparing to launch /usr/local/kde4/lib/libkdeinit4_kconf_update.so
$ WARNING: field 'http://strigi.sf.net/ontologies/0.9#debugParseError' is not defined in any rdfs ontology database.
/usr/local/lib/strigi/strigita_pcx.so
/usr/local/lib/strigi/strigita_xbm.so
/usr/local/lib/strigi/strigita_au.so
/usr/local/lib/strigi/strigita_gif.so
/usr/local/lib/strigi/strigita_ico.so
/usr/local/lib/strigi/strigita_sid.so
/usr/local/lib/strigi/strigita_rgb.so
/usr/local/lib/strigi/strigita_dds.so
/usr/local/lib/strigi/strigita_avi.so
/usr/local/lib/strigi/strigita_wav.so
/usr/local/lib/strigi/strigila_xpm.so
/usr/local/lib/strigi/strigila_deb.so
/usr/local/lib/strigi/strigila_cpp.so
/usr/local/lib/strigi/strigila_txt.so
/usr/local/lib/strigi/strigila_namespaceharvester.so
/usr/local/lib/strigi/strigiea_jpeg.so
WARNING: field 'maxLineLength' is not defined in any rdfs ontology database.
WARNING: field 'line ending format' is not defined in any rdfs ontology database.
WARNING: field 'dds volume depth' is not defined in any rdfs ontology database.
WARNING: field 'dds mipmap count' is not defined in any rdfs ontology database.
WARNING: field 'dds image type' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.image_count' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.image_name' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.image_shared_rows' is not defined in any rdfs ontology database.
WARNING: field 'content.thumbnail' is not defined in any rdfs ontology database.
WARNING: field 'ole.category' is not defined in any rdfs ontology database.
WARNING: field 'ole.presentationtarget' is not defined in any rdfs ontology database.
WARNING: field 'ole.manager' is not defined in any rdfs ontology database.
WARNING: field 'ole.company' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.table_count' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.object_count' is not defined in any rdfs ontology database.
WARNING: field 'http://rdf.openmolecules.net/0.9#moleculeCount' is not defined in any rdfs ontology database.
error reading file:///usr/home/kevin/.kde4/share/wallpapers/25331-night4.jpg
Error: "/tmp/ksocket-kevin" is owned by uid 1001 instead of uid 0.
kdeinit4: preparing to launch /usr/local/kde4/lib/kde4/kio_trash.so
kdeinit4: preparing to launch /usr/local/kde4/lib/kde4/kio_file.so
I would call this issue a BUG.
I'm going to try just shutdown. It's more convenient turn off from SUP than wait right moment to press the button:)
SOLVED. Thanks tkjacobsen !
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.