Cannot suspend / hibernate within xfce

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Cannot suspend / hibernate within xfce

Postby mittfh » Jun 22nd, '12, 09:36

Here's an odd one:

From a console (logged in as an ordinary user), I can pm-suspend and pm-hibernate fine.
However, trying to suspend or hibernate from the Xfce panel action buttons informs me:

Shutdown Failed
Failed to suspend session
not authorized

So it appears as though suspending / hibernating via xfce is subject to a different set of authentication policies to doing it via a console... so where are the policies likely to be stored? (I assume as with most bits of Linux configuration it's a text file somewhere with a fairly self-explanatory set of options...)
mittfh
 
Posts: 16
Joined: May 25th, '12, 11:22
Location: Kenilworth, UK

Re: Cannot suspend / hibernate within xfce

Postby djennings » Jun 22nd, '12, 21:55

Hmm It works for me.
Does it happen if you create a new user?
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Cannot suspend / hibernate within xfce

Postby mittfh » Jun 23rd, '12, 13:27

Created a new user - they still had the problem (which also extends to shut down / restart).

Some forums devoted to other distros suggested changing the login_cmd in slim.conf from:

Code: Select all
exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

to
Code: Select all
exec startxfce4


But that didn't work either (and yes, I did creat a backup of slim.conf beforehand!)

Unsurprisingly, logging into the desktop as root (something I rarely do for obvious reasons!), all commands were available and worked.

So there's definitely something to do with permissions...
mittfh
 
Posts: 16
Joined: May 25th, '12, 11:22
Location: Kenilworth, UK

Re: Cannot suspend / hibernate within xfce

Postby doktor5000 » Jun 24th, '12, 15:11

Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest