View previous topic :: View next topic |
Author |
Message |
smellyfis n00b
Joined: 25 Mar 2007 Posts: 41 Location: USA either northeast or texas depending on the time of year
|
Posted: Fri Nov 12, 2010 6:20 pm Post subject: xfce 4.7 xfce-power-manager suspend/hibernate |
|
|
I use xdm as my login manager and when i do ck-list-sessions there is no response.
so i kill xdm and do startxfce4 and the same result
but when i do startx it returns
Code: |
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 = '2010-11-12T17:41:18.536638Z'
login-session-id = '1'
idle-since-hint = '2010-11-12T17:43:18.004783Z'
Session3:
unix-user = '1000'
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 = '2010-11-12T17:42:51.373703Z'
login-session-id = '1'
|
_________________ Come on i dare you derive me crazy |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Fri Nov 12, 2010 6:37 pm Post subject: |
|
|
Try adding these to /etc/pam.d/xdm:
Code: |
session optional pam_loginuid.so
session optional pam_ck_connector.so
|
pambase is known to be broken for some login managers like "slim" too. |
|
Back to top |
|
|
smellyfis n00b
Joined: 25 Mar 2007 Posts: 41 Location: USA either northeast or texas depending on the time of year
|
Posted: Fri Nov 12, 2010 7:00 pm Post subject: |
|
|
Thanks that solves that problem
but the PM still says not authorized and the logout splash greys out reboot and shutdown (is there a reason suspend and hibernate are gone from this menu)
Code: |
user@localhost ~: ck-list-sessions
Session2:
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 = '2010-11-12T18:53:20.632447Z'
login-session-id = '2'
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 = '2010-11-12T18:53:04.146472Z'
login-session-id = '1'
|
_________________ Come on i dare you derive me crazy |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Fri Nov 12, 2010 7:08 pm Post subject: |
|
|
smellyfis wrote: |
Code: |
user@localhost ~: ck-list-sessions
Session1:
active = FALSE
|
|
That active = should be "TRUE", otherwise it's not working properly. Sorry but I have to ask one obvious question:
What do you have in ~/.xinitrc ? Should be 'exec ck-launch-session startxfce4' |
|
Back to top |
|
|
smellyfis n00b
Joined: 25 Mar 2007 Posts: 41 Location: USA either northeast or texas depending on the time of year
|
Posted: Fri Nov 12, 2010 7:13 pm Post subject: |
|
|
Code: | user@localhost ~: cat .xinitrc
exec ck-launch-session startxfce4
| [/code] _________________ Come on i dare you derive me crazy |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Fri Nov 12, 2010 7:38 pm Post subject: |
|
|
login-session-id = '' should stay the same for both sessions I think.
is CONFIG_AUDITSYSCALL=y enabled in kernel? |
|
Back to top |
|
|
smellyfis n00b
Joined: 25 Mar 2007 Posts: 41 Location: USA either northeast or texas depending on the time of year
|
Posted: Fri Nov 12, 2010 7:42 pm Post subject: |
|
|
all this was already set
Code: | user@localhost ~:cat /usr/src/linux/.config|grep AUDIT
CONFIG_AUDIT_ARCH=y
CONFIG_AUDIT=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y
|
_________________ Come on i dare you derive me crazy |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Fri Nov 12, 2010 7:46 pm Post subject: |
|
|
OK. Can you try changing
session optional pam_ck_connector.so
to
session optional pam_ck_connector.so nox11 |
|
Back to top |
|
|
smellyfis n00b
Joined: 25 Mar 2007 Posts: 41 Location: USA either northeast or texas depending on the time of year
|
Posted: Fri Nov 12, 2010 8:15 pm Post subject: |
|
|
That makes networkmanager s* its self and i get the no response from ck-list-sessions
and when i changed it back i only get one response form ck-list-sessions
Code: | user@localhost ~: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 = '2010-11-12T20:12:23.992382Z'
login-session-id = '2'
|
_________________ Come on i dare you derive me crazy |
|
Back to top |
|
|
smellyfis n00b
Joined: 25 Mar 2007 Posts: 41 Location: USA either northeast or texas depending on the time of year
|
Posted: Mon Nov 15, 2010 1:33 pm Post subject: |
|
|
is there any file i can post that might be interupting the xdm-pam-consolkit-policykit xfce-power-manager relations to prevent me from suspending _________________ Come on i dare you derive me crazy |
|
Back to top |
|
|
smellyfis n00b
Joined: 25 Mar 2007 Posts: 41 Location: USA either northeast or texas depending on the time of year
|
Posted: Tue Nov 16, 2010 6:20 pm Post subject: |
|
|
bump _________________ Come on i dare you derive me crazy |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sat Nov 20, 2010 12:51 am Post subject: |
|
|
Moved from Desktop Environments to Duplicate Threads. Please continue on this thread. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
|