You are not logged in.

#1 2011-08-25 21:00:04

xalabin
Member
Registered: 2011-08-22
Posts: 9

consolekit 0.4.5-1 strange behavior (ck-launch-session fails)

Hello, i have a new instalation of arch and I want to launch my X environment with slim.

I use this line in my .xinitrc (now i'm launching this directly from my shell for debuging):
ck-launch-session dbus-launch startxfce4

My user is inside storage group, and dbus daemon is launched.

When i see the console sessions (ck-list-sessions) i get

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 = '2011-08-25T20:32:10.630194Z'
    login-session-id = '2'
    idle-since-hint = '2011-08-25T20:37:13.929339Z'

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-08-25T20:30:29.324052Z'
    login-session-id = '1'
    idle-since-hint = '2011-08-25T20:36:43.913220Z'

The Session2 must be:
active=TRUE
x11-display=":0"

This creates a lot of problems in non root users X environment.

Any idea?

Thanks.

Offline

#2 2011-08-25 21:11:30

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

Re: consolekit 0.4.5-1 strange behavior (ck-launch-session fails)

see slim wiki, policykit section and note that slim is broken


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

Offline

#3 2011-08-25 21:18:49

xalabin
Member
Registered: 2011-08-22
Posts: 9

Re: consolekit 0.4.5-1 strange behavior (ck-launch-session fails)

I don't have installed slim for now.

i just open a bash shell and launch:

ck-launch-session dbus-launch startxfce

Is this broken to?

Offline

#4 2011-08-25 21:25:53

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

Re: consolekit 0.4.5-1 strange behavior (ck-launch-session fails)

xalabin wrote:

I don't have installed slim for now.

i just open a bash shell and launch:

ck-launch-session dbus-launch startxfce

Is this broken to?

no. but depends only on your ~/.xinitrc. It works perfectly fine but be sure you have only one line in ~/.xinitrc and not some if block that exists in the default one.

exec ck-launch-session xfce4-session


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

Offline

#5 2011-08-25 21:29:30

xalabin
Member
Registered: 2011-08-22
Posts: 9

Re: consolekit 0.4.5-1 strange behavior (ck-launch-session fails)

I always tryed to launch only: exec ck-launch-session xfce4-session

This don't solves nothing :-p

Offline

#6 2011-08-26 00:11:12

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: consolekit 0.4.5-1 strange behavior (ck-launch-session fails)

Try

ck-launch-session dbus-launch startxfce4

It probably won't work (it never worked for me), but it might be worth a shot.

Offline

Board footer

Powered by FluxBB