public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Suspend, hibernate and mount stopped working as a regular user.
@ 2012-07-04 11:47 Yohan Pereira
  2012-07-04 12:48 ` Alex Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Yohan Pereira @ 2012-07-04 11:47 UTC (permalink / raw
  To: other

Hi,
  This happened after a recent world upgrade. I am currently using kde 4.8.4. 
I can however suspend, hibernate using the pm-utils as root. Google has
lead me to believe this has something to do with consolekit. I found this
thread [1] which is more or less what I am experiencing (I can't mount
too). Running that dbus command gives me the same output mentioned
there.

  yohan@powerslave ~ $ dbus-send --system --print-reply
  --dest="org.freedesktop.UPower" /org/freedesktop/UPower
  org.freedesktop.UPower.Suspend
  Error org.freedesktop.UPower.GeneralError: not authorized

However I am not sure how to solve this. I don't have an .xinitrc file in my
home folder. So I looked at /etc/X11/xinit/xinitrc.d/, I tried removing
the file called 90-consolekit, which didn't help. 

  Anybody has any idea how to proceed in debugging this problem? any use
full output I can post?I have this feeling that I missed some important 
piece of information from my portage log. I skimmed over summary.log 
nothing caught my attention.

[1]https://bbs.archlinux.org/viewtopic.php?id=141337

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
                -- Mark Twain



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Suspend, hibernate and mount stopped working as a regular user.
  2012-07-04 11:47 [gentoo-user] Suspend, hibernate and mount stopped working as a regular user Yohan Pereira
@ 2012-07-04 12:48 ` Alex Schuster
  2012-07-04 13:29   ` Yohan Pereira
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Schuster @ 2012-07-04 12:48 UTC (permalink / raw
  To: gentoo-user

Yohan Pereira writes:

>   This happened after a recent world upgrade. I am currently using kde
> 4.8.4. I can however suspend, hibernate using the pm-utils as root.
> Google has lead me to believe this has something to do with consolekit.

Or maybe sys-auth/polkit? There were issues lately with a nonexisting
home directory, the elog message tells us to fix this with:

    usermod -d "/var/lib/polkit-1" "polkitd"

	Wonko



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Suspend, hibernate and mount stopped working as a regular user.
  2012-07-04 12:48 ` Alex Schuster
@ 2012-07-04 13:29   ` Yohan Pereira
  0 siblings, 0 replies; 3+ messages in thread
From: Yohan Pereira @ 2012-07-04 13:29 UTC (permalink / raw
  To: gentoo-user

On 07/04/12 at 02:48pm, Alex Schuster wrote:
> Or maybe sys-auth/polkit? There were issues lately with a nonexisting
> home directory, the elog message tells us to fix this with:
> 
>     usermod -d "/var/lib/polkit-1" "polkitd"
> 
> 	Wonko
> 

Hi,
  Thanks for the reply. Oddly the only polkit related message in my
summary.log is something about the user group wheel being changed to adm.
I ran your command though it says "no changes". The path is already set
in /etc/passwd.

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
                -- Mark Twain



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-04 13:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 11:47 [gentoo-user] Suspend, hibernate and mount stopped working as a regular user Yohan Pereira
2012-07-04 12:48 ` Alex Schuster
2012-07-04 13:29   ` Yohan Pereira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox