You are not logged in.

#26 2011-02-07 19:45:48

sultanoswing
Member
Registered: 2008-07-23
Posts: 314

Re: [ConsoleKit] Bug after upgrading?

skunktrader wrote:

You are not supposed to delete pacnew files, you are meant to merge their contents with the file on your system.

Well I can't undelete it now! smile


6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop

Offline

#27 2011-02-07 19:46:56

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [ConsoleKit] Bug after upgrading?

sultanoswing wrote:
skunktrader wrote:

You are not supposed to delete pacnew files, you are meant to merge their contents with the file on your system.

Well I can't undelete it now! smile


reinstall shadow and take care of the .pacnew


Give what you have. To someone, it may be better than you dare to think.

Offline

#28 2011-02-08 10:28:30

the_isz
Member
Registered: 2009-04-14
Posts: 280

Re: [ConsoleKit] Bug after upgrading?

I'm using xdm as my login manager and I'm facing the same problems: Getting "Not
authorized" responses from both UPower and UDisks as a normal user with
ck-list-sessions reporting is-local = FALSE. I don't have any .pacnew files
lying around and never touched any file in /etc/pam.d. I start my window manager
using the following:

dbus-launch --sh-syntax --exit-with-session ck-launch-session awesome

Could someone sum up what the "right" solution is to fix this? If I interpreted
it right, I need to modify /etc/pam.d/login to get this working. Is this the
proper way of solving this problem? What is the reason I suddenly need to modify
this (I'd really like to understand what I'm doing)?

Thanks in advance!

Offline

#29 2011-02-08 11:02:38

ernia
Member
Registered: 2008-03-08
Posts: 27

Re: [ConsoleKit] Bug after upgrading?

maybe this could help you:
https://bugs.archlinux.org/task/22671

Offline

#30 2011-02-08 11:03:07

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: [ConsoleKit] Bug after upgrading?

Posted to arch-general a few hours ago.

Yclept Nemo to arch-general
I hacked an "xinitrc.d framework". The details are at
https://wiki.archlinux.org/index.php/Xi … _Framework. I'm only one
person, so I'd appreciate any comments.

orbisvicis/Yclept Nemo has been working on this for a few days discussing the need for the framework on IRC, hopefully it will be of some use.


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#31 2011-02-08 11:15:57

the_isz
Member
Registered: 2009-04-14
Posts: 280

Re: [ConsoleKit] Bug after upgrading?

ernia wrote:

maybe this could help you:
https://bugs.archlinux.org/task/22671

I found that bug entry before, yet I don't think this can be considered "the
proper way"® to solve my problem.

Meyithi wrote:

Posted to arch-general a few hours ago.

Yclept Nemo to arch-general
I hacked an "xinitrc.d framework". The details are at
https://wiki.archlinux.org/index.php/Xi … _Framework. I'm only one
person, so I'd appreciate any comments.

orbisvicis/Yclept Nemo has been working on this for a few days discussing the need for the framework on IRC, hopefully it will be of some use.

This is an interesting read. Awful, how complicated things are getting around
polkit and dbus, but with this wiki article I'll hopefully be able to create a
working .xinitrc tonight. If I read this correctly, it's just a matter of
starting dbus before calling ck-launch-session <wm>...

Thanks to both of you!

Offline

#32 2011-02-08 11:17:32

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: [ConsoleKit] Bug after upgrading?

the_isz wrote:

Thanks to both of you!

Nothing to do with me, I had no idea what he was talking about on IRC initially, I felt bad when I realised hence why I'm spreading the news of his work smile


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#33 2011-02-08 17:38:23

the_isz
Member
Registered: 2009-04-14
Posts: 280

Re: [ConsoleKit] Bug after upgrading?

Bad luck... My .xinitrc now contains this:

if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
        eval $(dbus-launch --sh-syntax --exit-with-session)
fi

ck-launch-session awesome

I got this from 'man dbus-lauch', just like the posted wiki entry suggests, but
ck-list-sessions still lists my session as inactive and remote:

ck-list-sessions 
Session1:
        unix-user = '1000'
        realname = '(null)'
        seat = 'Seat2'
        session-type = ''
        active = FALSE
        x11-display = ':0'
        x11-display-device = '/dev/tty7'
        display-device = ''
        remote-host-name = ''
        is-local = FALSE
        on-since = '2011-02-08T17:27:34.754389Z'
        login-session-id = '4294967295'

Any hints are welcome...

Edit:

The problem lies with xdm and its handling of consolekit sessions (or lack
thereof). cgarcia has written a patch for the xorg-xdm package that solves my
problems. See this thread for more info.

Last edited by the_isz (2011-02-09 18:03:51)

Offline

Board footer

Powered by FluxBB