Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Tips and tricks for ConsoleKit, PolicyKit, and udev helpers

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
383 posts
  • Page 11 of 16
    • Jump to page:
  • Previous
  • 1
  • …
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • 16
  • Next
Author
Message
ad_meis
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Fri Feb 17, 2006 8:41 pm
Location: Tuscany, Italy

  • Quote

Post by ad_meis » Fri Apr 22, 2011 12:00 pm

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
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
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
Top
m0p
Apprentice
Apprentice
User avatar
Posts: 205
Joined: Mon Jun 20, 2005 6:55 pm
Location: en_GB

  • Quote

Post by m0p » Fri Apr 22, 2011 1:55 pm

You need to launch your desktop with something like this (replace the end with the session manager of whatever DE you use):

Code: Select all

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: Select all

# 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.
Top
ad_meis
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Fri Feb 17, 2006 8:41 pm
Location: Tuscany, Italy

  • Quote

Post by ad_meis » Fri Apr 22, 2011 5:27 pm

I tried this:
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
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'
Top
m0p
Apprentice
Apprentice
User avatar
Posts: 205
Joined: Mon Jun 20, 2005 6:55 pm
Location: en_GB

  • Quote

Post by m0p » Fri Apr 22, 2011 6:20 pm

What's your output for this?

Code: Select all

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.
Top
ad_meis
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Fri Feb 17, 2006 8:41 pm
Location: Tuscany, Italy

  • Quote

Post by ad_meis » Sat Apr 23, 2011 7:36 am

Thanks for your answer, I think that one I have set correctly, as it was part of the original checklist
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
Top
InvisibleRasta
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Wed Mar 30, 2011 10:41 pm

  • Quote

Post by InvisibleRasta » Sun Apr 24, 2011 11:11 am

# 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
Top
|Quantum|
Tux's lil' helper
Tux's lil' helper
Posts: 133
Joined: Sat Jan 24, 2004 9:01 pm
Location: Belgium

  • Quote

Post by |Quantum| » Thu May 05, 2011 1:14 pm

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

Code: Select all

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: Select all

udiskie&
to my $HOME/.xinitrc.
Top
FrancoisVal
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu May 12, 2005 9:27 pm
Location: Namur, Belgique

  • Quote

Post by FrancoisVal » Wed May 11, 2011 6:24 pm

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: Select all

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
Top
Wolfbone
n00b
n00b
Posts: 30
Joined: Wed Sep 29, 2004 3:45 am

  • Quote

Post by Wolfbone » Wed Jun 01, 2011 4:28 am

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!
Top
eehmke
n00b
n00b
User avatar
Posts: 13
Joined: Mon Nov 11, 2002 8:34 am

still no success

  • Quote

Post by eehmke » Sat Jun 04, 2011 8:16 pm

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?
Top
ExecutorElassus
Veteran
Veteran
User avatar
Posts: 1525
Joined: Thu Mar 11, 2004 11:12 pm
Location: Berlin, Germany

  • Quote

Post by ExecutorElassus » Wed Jun 08, 2011 9:18 pm

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

<3

EE
Top
FizzyWidget
Veteran
Veteran
User avatar
Posts: 1135
Joined: Fri Nov 21, 2008 9:52 am
Location: 127.0.0.1

  • Quote

Post by FizzyWidget » Thu Jun 09, 2011 9:44 am

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.
Top
m0p
Apprentice
Apprentice
User avatar
Posts: 205
Joined: Mon Jun 20, 2005 6:55 pm
Location: en_GB

  • Quote

Post by m0p » Thu Jun 09, 2011 10:50 am

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.
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

  • Quote

Post by cwc » Sun Jun 12, 2011 1:23 am

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
Last edited by cwc on Tue Jun 14, 2011 12:57 am, edited 1 time in total.
Without diversity there can be no evolution:)
Top
FizzyWidget
Veteran
Veteran
User avatar
Posts: 1135
Joined: Fri Nov 21, 2008 9:52 am
Location: 127.0.0.1

  • Quote

Post by FizzyWidget » Sun Jun 12, 2011 8:35 am

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: Select all

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: Select all

-> 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: Select all

 -> 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.
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

active = FALSE (not good)

  • Quote

Post by cwc » Mon Jun 13, 2011 12:01 pm

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'
Last edited by cwc on Tue Jun 14, 2011 12:40 am, edited 1 time in total.
Without diversity there can be no evolution:)
Top
the_mgt
Apprentice
Apprentice
User avatar
Posts: 259
Joined: Fri Aug 05, 2005 1:23 pm
Location: Germany, near Hannover

  • Quote

Post by the_mgt » Mon Jun 13, 2011 4:19 pm

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: Select all

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: Select all

active = TRUE
Check with

Code: Select all

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.
Last edited by the_mgt on Mon Jun 13, 2011 11:06 pm, edited 1 time in total.
Citadel Groupware | Avahi Howto
Top
hal2050
n00b
n00b
Posts: 47
Joined: Sat Jul 19, 2008 6:19 pm

  • Quote

Post by hal2050 » Mon Jun 13, 2011 8:05 pm

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=de ... tid=567417
Patch: http://sourceforge.net/tracker/?func=de ... tid=567419
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

  • Quote

Post by cwc » Tue Jun 14, 2011 11:36 am

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: Select all

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: Select all

active = TRUE
Check with

Code: Select all

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: Select all

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:)
Top
the_mgt
Apprentice
Apprentice
User avatar
Posts: 259
Joined: Fri Aug 05, 2005 1:23 pm
Location: Germany, near Hannover

  • Quote

Post by the_mgt » Tue Jun 14, 2011 6:09 pm

cwc wrote: A truely noob question but: I'm having trouble setting

Code: Select all

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: Select all

active = TRUE
Full list looks like this:

Code: Select all

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
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

  • Quote

Post by cwc » Wed Jun 15, 2011 2:13 am

the_mgt wrote:
cwc wrote: A truely noob question but: I'm having trouble setting

Code: Select all

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: Select all

active = TRUE
Full list looks like this:

Code: Select all

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: Select all

 export XDG_MENU_PREFIX=gnome-; startx;            
Without diversity there can be no evolution:)
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

i finally got active = TRUE

  • Quote

Post by cwc » Wed Jun 15, 2011 2:57 pm

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:)
Top
the_mgt
Apprentice
Apprentice
User avatar
Posts: 259
Joined: Fri Aug 05, 2005 1:23 pm
Location: Germany, near Hannover

  • Quote

Post by the_mgt » Wed Jun 15, 2011 4:19 pm

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: Select all

 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
Top
Epaminond
n00b
n00b
User avatar
Posts: 5
Joined: Wed Jun 15, 2011 10:20 pm

  • Quote

Post by Epaminond » Wed Jun 15, 2011 10:32 pm

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: Select all

exec ck-launch-session dbus-launch --exit-with-session startlxde
Top
Epaminond
n00b
n00b
User avatar
Posts: 5
Joined: Wed Jun 15, 2011 10:20 pm

  • Quote

Post by Epaminond » Thu Jun 16, 2011 8:47 am

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. ))
Top
Post Reply

383 posts
  • Page 11 of 16
    • Jump to page:
  • Previous
  • 1
  • …
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • 16
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic