You are not logged in.
Hi, all.
Just finished an install.
When I hit the halt or shutdown option, I get a message that mentions
HAL-powermanagement freedesktop reboot no
or something similar.
I'm guessing that something is not set-up correctly. Does anyone know how I can address this?
Many thanks,
Chris.
Last edited by chris_debian (2009-03-18 12:08:26)
Offline
To get my shutdown/restart working in XFCE & GNOME I had to start my desktop environment like this:
exec ck-launch-session startxfce4
in my .xinitrc.
I can't be sure since you didn't give the exact error but give it a try.
Offline
I use the SLIM login manager and it just says
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions xfce4
Does that help?
Thanks,
Chris.
Offline
You are quoting a section of the /etc/slim.conf file but the slim login manager looks to your /home/username/.xinitrc file to know what wm/de you want to launch. As shaded suggested, try putting
exec ck-launch-session startxfce4
in your .xinitrc file.
Last edited by bgc1954 (2009-03-12 14:10:19)
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Appreciate that.
Is there anyway I can make it system wide instead of doing it on a per user basis?
Cheers,
Chris.
Offline
I believe you can point your /etc/slim.conf startup line to /etc/X11/xinit/xinitrc and put your startxfce4 command in there. Can't say for sure as I'm at my laptop and I don't use a login manager on it.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
I think the answer lies in editing this file:
/usr/share/PolicyKit/policy/org.freedesktop.hal.power-management.policy
Chris.
Offline
I think the answer lies in editing this file:
/usr/share/PolicyKit/policy/org.freedesktop.hal.power-management.policy
Chris.
Be aware, that updating hal package will overwrite this file. If you want to keep edited config files, it is suggested to put them into /etc folder (/etc/hal/fdi/policy/ in case of this file).
But to your question -> system-wide setting of .xinitrc file is in /etc/skel/.xinitrc. In /etc/skel folder you will find all files, that new user on your system will have in their home directory (files from /etc/skel are copied to home directory after adding user). For existing users you will have to change files in their home dir.
Last edited by EVRAMP (2009-03-13 19:55:20)
Offline
Thanks for your comments. As I've never needed to worry about this subject before, do you know whether it is essential that I have these files to do with freedesktop policy?
Thanks,
Chris.
Offline
Do we know whether this should be filed as a bug?
Chris.
Offline
IMO this is not a bug, The same shutdown issues had been discussed and solutions are available.
Offline
I understand what you are saying, but on a default installation of the package, if something has to be fixed, then surely it is broken. i wouldn't expect to modify my xfce set-up so that it opens graciously, so not sure why I'd have to so that it closes graciously.
Offline
As shaded suggested, try putting
exec ck-launch-session startxfce4
in your .xinitrc file.
Just got back to my PC after a few days away. I've tried this and it has fixed the problem.
Many thanks for everyone's help.
Cheers,
Chris.
Last edited by chris_debian (2009-03-18 12:08:01)
Offline