Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tips and tricks for ConsoleKit, PolicyKit, and udev helpers
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ad_meis
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2006
Posts: 120
Location: Tuscany, Italy

PostPosted: Fri Apr 22, 2011 12:00 pm    Post subject: Reply with quote

I am still not done with the de-hal transition. I have two systems: laptop + desktop.
I have performed all the steps in the checklist, but only the laptop is doing good.

On the desktop I still cannot mount/unmount usb from thunar, and I cannot suspend/hibernate...
For instance when I insert a USB, thunar shows it correctly, but when I try to display its content I get the message "Failed to mount KINGSTON not authorized"

To myself it is not obvious what I am missing. Please suggest me what relevant output I can produce to give useful information.
One piece of info I can give is that when I do ck-list-sessions on the desktop I get
Quote:
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-04-22T11:14:32.572190Z'
login-session-id = '1'

Which I don't think is nice. I have to do manually from the shell ck-launch-session, in order to get
Quote:
Session2:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = '/dev/pts/1'
remote-host-name = ''
is-local = TRUE
on-since = '2011-04-22T11:33:53.385686Z'
login-session-id = '1'
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-04-22T11:14:32.572190Z'
login-session-id = '1'

which I think is better. However, even after this, I cannot mount/suspend... etc
I really hope somebody can give some hints, I have been stuck with this for a few weeks by now
Back to top
View user's profile Send private message
m0p
Apprentice
Apprentice


Joined: 20 Jun 2005
Posts: 205
Location: en_GB

PostPosted: Fri Apr 22, 2011 1:55 pm    Post subject: Reply with quote

You need to launch your desktop with something like this (replace the end with the session manager of whatever DE you use):
Code:
exec ck-launch-session dbus-launch --exit-with-session --sh-syntax openbox-session

It should go in your xinitrc.

And for udisks auth, I have this:
Code:
# nano -w /etc/polkit-1/localauthority/50-local.d/15-org.freedesktop.udisks.pkla
[users]
Identity=unix-group:users
Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.filesystem-check;org.freedesktop.udisks.filesystem-lsof;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.change;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling
ResultActive=yes
ResultInactive=no
ResultAny=no


Not sure about suspending because I don't do it.
Back to top
View user's profile Send private message
ad_meis
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2006
Posts: 120
Location: Tuscany, Italy

PostPosted: Fri Apr 22, 2011 5:27 pm    Post subject: Reply with quote

I tried this:
Quote:
exec ck-launch-session dbus-launch --exit-with-session --sh-syntax startxfce4

and I also created the file you suggested /etc/polkit-1/localauthority/50-local.d/15-org.freedesktop.udisks.pkla (which I didn't have) but I still cannot mount USB and still get this output for ck-list-sessions
Quote:
myy@xxx ~ $ ck-list-sessions
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-04-22T17:20:50.562543Z'
login-session-id = '1'
Back to top
View user's profile Send private message
m0p
Apprentice
Apprentice


Joined: 20 Jun 2005
Posts: 205
Location: en_GB

PostPosted: Fri Apr 22, 2011 6:20 pm    Post subject: Reply with quote

What's your output for this?
Code:
grep AUDIT /usr/src/linux/.config

You need CONFIG_AUDIT and CONFIG_AUDITSYSCALL enabled for ConsoleKit to work. I accidentally disabled them before and had the same problem.
Back to top
View user's profile Send private message
ad_meis
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2006
Posts: 120
Location: Tuscany, Italy

PostPosted: Sat Apr 23, 2011 7:36 am    Post subject: Reply with quote

Thanks for your answer, I think that one I have set correctly, as it was part of the original checklist
Quote:
yyy xxx # grep AUDIT /usr/src/linux/.config
CONFIG_AUDIT_ARCH=y
CONFIG_AUDIT=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y

What other output could help to clarify the issue?
thank you all
Back to top
View user's profile Send private message
InvisibleRasta
Apprentice
Apprentice


Joined: 30 Mar 2011
Posts: 188

PostPosted: Sun Apr 24, 2011 11:11 am    Post subject: Reply with quote

# ck-list-sessions
Session4:
unix-user = '1000'
realname = '(null)'
seat = 'Seat4'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty5'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = FALSE
on-since = '2011-04-24T10:52:51.962155Z'
login-session-id = ''
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2011-04-24T10:44:54.929673Z'
login-session-id = ''
idle-since-hint = '2011-04-24T10:53:20.332437Z'
after following this guide
Back to top
View user's profile Send private message
|Quantum|
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2004
Posts: 133
Location: Belgium

PostPosted: Thu May 05, 2011 1:14 pm    Post subject: Reply with quote

ssuominen wrote:
|Quantum| wrote:
If just found out you also need to be in the polkituser group:

Code:
passwd -a «USER» polkituser


ATM Restart and Shutdown are still greyed out, though.


Wrong. There is no such group or need for it. Such group is a relic from old "policykit", not used by "polkit". You can safely remove the group from your system.


You're right, in the end it didn't work.
After I installed udiskie, it did work.

However, on my other computer (at home, I don't use a DM), it only works if I start udiskie from the command line followed by startx. It does NOT work if I add the line
Code:
udiskie&
to my $HOME/.xinitrc.
Back to top
View user's profile Send private message
FrancoisVal
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2005
Posts: 82
Location: Namur, Belgique

PostPosted: Wed May 11, 2011 6:24 pm    Post subject: Reply with quote

I have done everything listed in this howto for KDE and I have 3 very annoying problems:

1) The battery status is not shown. When I run solid-hardware query 'IS Battery'
, I get this:
Code:
Object::connect: No such signal QDBusAbstractInterface::DeviceAdded(QString)
Object::connect: No such signal QDBusAbstractInterface::DeviceRemoved(QString)
Object::connect: No such signal QDBusAbstractInterface::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal QDBusAbstractInterface::DeviceRemoved(QDBusObjectPath)
Object::connect: No such signal QDBusAbstractInterface::DeviceChanged(QDBusObjectPath)
virtual QStringList Solid::Backends::UPower::UPowerManager::allDevices()  error:  "org.freedesktop.DBus.Error.Spawn.ExecFailed"


But, the battery is well detected by the kernel: ls /sys/class/power_supply/BAT1 return this:
alarm charge_full charge_full_design charge_now current_now cycle_count device@ manufacturer model_name power/ present serial_number status subsystem@ technology type uevent voltage_min_design voltage_now

2) k3b doesn't find any optical drives, even when I run it as root.

3) policykit gives a segmentation fault each time kde starts.

Does anybody know a solution to all these problems ? All this occured when upgrading from 4.4 to 4.6 and until now, it doesn't work as expected.
_________________
François Valenduc
Back to top
View user's profile Send private message
Wolfbone
n00b
n00b


Joined: 29 Sep 2004
Posts: 30

PostPosted: Wed Jun 01, 2011 4:28 am    Post subject: Reply with quote

Is it just me or has the GNU/Linux box gradually turned into a buggy bloated nightmare of increasing complexity and undocumented incomprehensible unconfigurableness for others in recent years?

I just wanted to run X, a WM and a few apps, for pity's sake!
Back to top
View user's profile Send private message
eehmke
n00b
n00b


Joined: 11 Nov 2002
Posts: 13

PostPosted: Sat Jun 04, 2011 8:16 pm    Post subject: still no success Reply with quote

After reading all this thread, and several more, still I cannot start KDE 4.6.2 without hal. The KDM login works, the KDE splash screen appears, but the last Icon (KDE) is never shown. The same happens when I run startx from the standard user shell. In this state nothing ever happens. I can log in to the tty. How to proceed?
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Wed Jun 08, 2011 9:18 pm    Post subject: Reply with quote

Thanks for this guide. I finally got k3b working post-Hal.

<3

EE
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Thu Jun 09, 2011 9:44 am    Post subject: Reply with quote

Is this required if you use E17 or any of the other WM's?
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
m0p
Apprentice
Apprentice


Joined: 20 Jun 2005
Posts: 205
Location: en_GB

PostPosted: Thu Jun 09, 2011 10:50 am    Post subject: Reply with quote

Wolfbone wrote:
Is it just me or has the GNU/Linux box gradually turned into a buggy bloated nightmare of increasing complexity and undocumented incomprehensible unconfigurableness for others in recent years?

I just wanted to run X, a WM and a few apps, for pity's sake!

Turn off dbus/consolekit/policykit USE flags, newuse, depclean, suid root on mount/umount. Problem solved. You now (probably, I haven't tried removing any of those things myself) have a 'bloat'-less box where you need dodgy suid binaries and sudo to perform the most basic of tasks like rebooting and mounting removables.

As for configuration, polkit is well documented and easy enough to figure out, dbus tends to just work with the default configuration, consoleKit doesn't need any configuration 99% of the time, etc, and barring any bugs (mainly in the big bloated DEs), misconfigurations (like people turning off syscall auditing in the kernel), or unusual setups like people trying to remove PAM, it all tends to just work.
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1281
Location: Tri-Cities, WA USA

PostPosted: Sun Jun 12, 2011 1:23 am    Post subject: Reply with quote

I could not find this flag on my system :

CONFIG_USB_SUSPEND=y

I take that back I finally found it and enabled it.


azzerare ~ # uname -a
Linux azzerare 2.6.38-gentoo-r6 #4 SMP Thu Jun 9 23:47:16 PDT 2011 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Tue Jun 14, 2011 12:57 am; edited 1 time in total
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Sun Jun 12, 2011 8:35 am    Post subject: Reply with quote

cwc wrote:
I could not find this flag on my system :

CONFIG_USB_SUSPEND=y


azzerare ~ # uname -a
Linux azzerare 2.6.38-gentoo-r6 #4 SMP Thu Jun 9 23:47:16 PDT 2011 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux

Does it have another flag on this kernel?



This might help

slack---line wrote:
ssuominen wrote:

Required kernel options:

Code:

CONFIG_USB_SUSPEND=y    <- Required for properly shutting down and powering USB hubs, for like, external USB HDD.
CONFIG_IDE=n                    <- This breaks both udev, and udisks.
CONFIG_AUDITSYSCALL=y   <- This is really required, it might work out of fluke with gnome-base/gdm but that's pretty much it.



Just to help with these kernel options (under 2.6.37) you can find them under...

Code:

-> Device Drivers
   -> USB support (USB_SUPPORT [=y])
      -> Support for Host-side USB (USB [=y])
             [*]    USB runtime power management (autosuspend) and wakeup   CONFIG_USB_SUSPEND=y    <- Required for properly shutting down and powering USB hubs, for like, external USB HDD.
-> Device Drivers
  [ ] ATA/ATAPI/MFM/RLL support (DEPRECATED)   CONFIG_IDE=n                    <- This breaks both udev, and udisks.

-> General setup
  -> Auditing support (AUDIT [=y])
    [*] Enable system-call auditing support  CONFIG_AUDITSYSCALL=y   <- This is really required, it might work out of fluke with gnome-base/gdm but that's pretty much it.


Also CONFIG_USB_SUSPEND is dependent upon...

Code:

 -> Power management and ACPI options
    [*] Run-time PM core functionality  PM_RUNTIME


..which I didn't have selected and had me scratching my head for a minute or two (until I actually read the information on dependencies from searching menuconfig with '/' and searching for USB_SUSPEND)

_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1281
Location: Tri-Cities, WA USA

PostPosted: Mon Jun 13, 2011 12:01 pm    Post subject: active = FALSE (not good) Reply with quote

I followed the guideline and this is what I got:
active = FALSE it should be active = TRUE

I'm not sure what to do here set active = TRUE

cwc@azzerare ~ $ ck-list-sessions
Session1:
unix-user = '1001'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2011-06-12T21:03:29.828240Z'
login-session-id = '1'
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Tue Jun 14, 2011 12:40 am; edited 1 time in total
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Mon Jun 13, 2011 4:19 pm    Post subject: Reply with quote

That was easy............

Thanks a lot for this guide, I finally managed to get usb stick mounting again. Totally painless....

With HAL, I just put a user into the plugdev group and all was golden, now I have to dance naked in full moon and smear myself with menstruational blood from a 85year old virgin while juggling a dead chicken, a chainsaw and barrel full of ferrets...

Anyway, the important part was the removal of the pam nox11 entry, after relogging into my system, it all started working:
Code:
session         optional        pam_ck_connector.so

You need to delete nox11 there and you need to logout and login again, in order for this to take effecct!
And it might brake after you exited your wm.... At least that happened here. Important line in your ck-list-session is:
Code:
active = TRUE


Check with
Code:
udisks --mount /dev/sdX
if it works. If you are not authorized, it wont work *Cpt. Obvious to the rescue!*

(edited to make the pam part stick out more, sorry for obnoxious markup!)

PS: For all you advocates of consolekit: Restart, shutdown, etc. was possible before ck, polkit, upower and whatnot. Yes, either through suid scripts (at least it fails in obvious ways, not like tons of interacting LOC hacked together as replacement for a fineworking HAL) or through acpid and hardware buttons/events. The latter is much more useful on laptops.

PPS: No, I am no fanboy of HAL, I just dont think the current approach is any good, if we need 13 pages of a forum thread to get it working for individual users.
_________________
Citadel Groupware | Avahi Howto


Last edited by the_mgt on Mon Jun 13, 2011 11:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
hal2050
n00b
n00b


Joined: 19 Jul 2008
Posts: 47

PostPosted: Mon Jun 13, 2011 8:05 pm    Post subject: Reply with quote

For those having problems with consolekit and qingy in regards to autologin, there's a patch on sourceforge for this issue. It finally fixed everything on my box.

Bugreport: http://sourceforge.net/tracker/?func=detail&aid=3170619&group_id=82854&atid=567417
Patch: http://sourceforge.net/tracker/?func=detail&aid=3314721&group_id=82854&atid=567419
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1281
Location: Tri-Cities, WA USA

PostPosted: Tue Jun 14, 2011 11:36 am    Post subject: Reply with quote

the_mgt wrote:
That was easy............

Thanks a lot for this guide, I finally managed to get usb stick mounting again. Totally painless....

With HAL, I just put a user into the plugdev group and all was golden, now I have to dance naked in full moon and smear myself with menstruational blood from a 85year old virgin while juggling a dead chicken, a chainsaw and barrel full of ferrets...

Anyway, the important part was the removal of the pam nox11 entry, after relogging into my system, it all started working:
Code:
session         optional        pam_ck_connector.so

You need to delete nox11 there and you need to logout and login again, in order for this to take effecct!
And it might brake after you exited your wm.... At least that happened here. Important line in your ck-list-session is:
Code:
active = TRUE


Check with
Code:
udisks --mount /dev/sdX
if it works. If you are not authorized, it wont work *Cpt. Obvious to the rescue!*

(edited to make the pam part stick out more, sorry for obnoxious markup!)

PS: For all you advocates of consolekit: Restart, shutdown, etc. was possible before ck, polkit, upower and whatnot. Yes, either through suid scripts (at least it fails in obvious ways, not like tons of interacting LOC hacked together as replacement for a fineworking HAL) or through acpid and hardware buttons/events. The latter is much more useful on laptops.

PPS: No, I am no fanboy of HAL, I just dont think the current approach is any good, if we need 13 pages of a forum thread to get it working for individual users.


A truely noob question but: I'm having trouble setting
Code:
active = TRUE
. Is that done via kernel make or is it edited in a script and where is the script?
Thanks
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Tue Jun 14, 2011 6:09 pm    Post subject: Reply with quote

cwc wrote:

A truely noob question but: I'm having trouble setting
Code:
active = TRUE
. Is that done via kernel make or is it edited in a script and where is the script?
Thanks

Actually, this should be the outcome of the rituals you should performe according to the firtst post in this thread. ck-list-sessions is a cli command to see the ongoing sessions on your computer and only if you did everything right will you see the:
Code:
active = TRUE
Full list looks like this:
Code:
Session5:
   unix-user = '1000'
   realname = '(null)'
   seat = 'Seat1'
   session-type = ''
   active = TRUE
   x11-display = ':0'
   x11-display-device = '/dev/tty7'
   display-device = '/dev/pts/2'
   remote-host-name = ''
   is-local = TRUE
   on-since = '2011-06-13T22:12:58.876061Z'
   login-session-id = '5'


So, follow the steps in the OP (first post in this thread), take especially care of the pam setting, log out of your current WM, log out of console, if you started with "startx", log in again and type ck-list-sessions. If you now see a line containing the TRUE, you are on the right path. Fire up your WM (with ck-launh-session!) and you might be able to mount usb devices. Good luck!
_________________
Citadel Groupware | Avahi Howto
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1281
Location: Tri-Cities, WA USA

PostPosted: Wed Jun 15, 2011 2:13 am    Post subject: Reply with quote

the_mgt wrote:
cwc wrote:

A truely noob question but: I'm having trouble setting
Code:
active = TRUE
. Is that done via kernel make or is it edited in a script and where is the script?
Thanks

Actually, this should be the outcome of the rituals you should performe according to the firtst post in this thread. ck-list-sessions is a cli command to see the ongoing sessions on your computer and only if you did everything right will you see the:
Code:
active = TRUE
Full list looks like this:
Code:
Session5:
   unix-user = '1000'
   realname = '(null)'
   seat = 'Seat1'
   session-type = ''
   active = TRUE
   x11-display = ':0'
   x11-display-device = '/dev/tty7'
   display-device = '/dev/pts/2'
   remote-host-name = ''
   is-local = TRUE
   on-since = '2011-06-13T22:12:58.876061Z'
   login-session-id = '5'


So, follow the steps in the OP (first post in this thread), take especially care of the pam setting, log out of your current WM, log out of console, if you started with "startx", log in again and type ck-list-sessions. If you now see a line containing the TRUE, you are on the right path. Fire up your WM (with ck-launh-session!) and you might be able to mount usb devices. Good luck!


thanks for the line. I went through the steps again. I did not emerge "emerge -av1 --noconfmem consolekit pambase shadow" correctly.
Now when I login to console on boot i get: "active=TRUE" but when I startx I lose TRUE and get "active=FALSE". ? ? ?
This is how I startx:
Code:
 export XDG_MENU_PREFIX=gnome-; startx;           

_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1281
Location: Tri-Cities, WA USA

PostPosted: Wed Jun 15, 2011 2:57 pm    Post subject: i finally got active = TRUE Reply with quote

logout
cwc@azzerare ~ $ ck-list-sessions
Session1:
unix-user = '1001'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2011-06-15T07:21:40.748793Z'
login-session-id = '1'
idle-since-hint = '2011-06-15T07:22:16.160642Z'
Session2:
unix-user = '1001'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2011-06-15T07:21:50.123362Z'
login-session-id = '1'


!! now i need to remove hal from my tree
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Wed Jun 15, 2011 4:19 pm    Post subject: Reply with quote

cwc wrote:
thanks for the line. I went through the steps again. I did not emerge "emerge -av1 --noconfmem consolekit pambase shadow" correctly.
Now when I login to console on boot i get: "active=TRUE" but when I startx I lose TRUE and get "active=FALSE". ? ? ?
This is how I startx:
Code:
 export XDG_MENU_PREFIX=gnome-; startx;           


Well, yes, it seems, that only the CLI/Xsession you currently use to type in "ck-list-sessions" is marked active (makes sense to me, at least). But you seem to have found out for yourself :)
I hope that automounting works for you, now.
_________________
Citadel Groupware | Avahi Howto
Back to top
View user's profile Send private message
Epaminond
n00b
n00b


Joined: 15 Jun 2011
Posts: 5

PostPosted: Wed Jun 15, 2011 10:32 pm    Post subject: Reply with quote

I also had problems with mounting/unmounting. Solved by editing /usr/share/polkit-1/actions/org.freedesktop.udisks.policy file. (Changed "no" to "yes" in <allow_any></allow_any>). To bring back shutdown and reboot buttons I edied org.freedesktop.consolekit.policy.

But still can't get suspendand hibernate buttons. Tried to edit org.freedesktop.upower.policy, but it didn't help. Could you please give an advice to a newbie? :)

P.S. Followed all the instructions in the sticky.
P.P.S. Found an advise to add ck-launch-session to login_cmd line in /etc/slim.conf, but it didn't work. Actually it was suspected, because I have it in my ~/.xinitrc:
Code:
exec ck-launch-session dbus-launch --exit-with-session startlxde
Back to top
View user's profile Send private message
Epaminond
n00b
n00b


Joined: 15 Jun 2011
Posts: 5

PostPosted: Thu Jun 16, 2011 8:47 am    Post subject: Reply with quote

Epaminond wrote:
But still can't get suspendand hibernate buttons. Tried to edit org.freedesktop.upower.policy, but it didn't help. Could you please give an advice to a newbie? :)

The working advice for newbie was to update my lxde-base/lxsession from 0.4.4 to 0.4.5. But thanks for that first post anyway. ))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 14, 15, 16  Next
Page 11 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum