You are not logged in.

#1 2013-07-24 10:46:19

nopriler
Member
Registered: 2011-01-27
Posts: 40

[SOLVED]LightDM issue: Failed to open CK session

!!! Go to #7 for solution

Installed:

$ pacman -Qs lightdm
local/lightdm 1:1.6.0-5 (lightdm)
    A lightweight display manager
local/lightdm-gtk3-greeter 1:1.6.0-1
    GTK+ greeter for LightDM

Started LightDM:

# systemctl start lightdm

But the screen was black, and there was only a cursor.

Log:

# cat /var/log/lightdm/x-0-greeter.log

** (process:1538): WARNING **: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files

(lightdm-gtk-greeter:1540): GLib-CRITICAL **: g_shell_parse_argv: assertion `command_line != NULL' failed

** (lightdm-gtk-greeter:1540): WARNING **: Failed to open sessions directory: Error opening directory '/usr/share/lightdm/remote-sessions': No such file or directory

Help please. Thank you all in advance.

Last edited by nopriler (2013-08-12 09:29:57)

Offline

#2 2013-07-24 21:31:26

caltac
Member
Registered: 2012-11-27
Posts: 22

Re: [SOLVED]LightDM issue: Failed to open CK session

What does your ~/.xinitrc file look like?

Offline

#3 2013-07-25 05:10:20

nopriler
Member
Registered: 2011-01-27
Posts: 40

Re: [SOLVED]LightDM issue: Failed to open CK session

caltac wrote:

What does your ~/.xinitrc file look like?

I don't have .xinitrc in HOME.

Offline

#4 2013-07-25 06:24:24

shmibs
Member
Registered: 2012-09-11
Posts: 93
Website

Re: [SOLVED]LightDM issue: Failed to open CK session

the CK error is normal. consolekit is deprecated and is no longer in the arch repositories.

(lightdm-gtk-greeter:1540): GLib-CRITICAL **: g_shell_parse_argv: assertion `command_line != NULL' failed

looks more like an actual culprit. unfortunately, i've never needed to use these desktop managers and, thus, am a bit ignorant about them. did you try

sudo systemctl enable lightdm

and then rebooting instead?


[site] | [dotfiles] | あたしたち、人間じゃないの?

Offline

#5 2013-07-25 07:39:47

nopriler
Member
Registered: 2011-01-27
Posts: 40

Re: [SOLVED]LightDM issue: Failed to open CK session

shmibs wrote:

did you try

sudo systemctl enable lightdm

and then rebooting instead?

I tried it, and the same result.

A little earlier, I had various DEs installed, and LightDM worked. After removing all DEs but XFCE, I found LightDM failed to work properly.

I tried re-installing LightDM, and found pacman promoted that command failed to execute correctly. This maybe helpful.

Offline

#6 2013-07-25 08:51:45

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: [SOLVED]LightDM issue: Failed to open CK session

I've got exactly the same problem with lightdm.

Here's what I've done to break it:

[2013-07-24 18:52] [PACMAN] Running 'pacman -S xfburn'
[2013-07-24 18:52] [PACMAN] installed libburn (1.3.0.pl01-1)
[2013-07-24 18:52] [PACMAN] installed libisofs (1.3.0-1)
[2013-07-24 18:52] [PACMAN] installed libxfcegui4 (4.10.0-1)
[2013-07-24 18:52] [PACMAN] installed xfburn (0.4.3-6)
[2013-07-24 18:57] [PACMAN] Running 'pacman -S gstreamer0.10-ffmpeg'
[2013-07-24 18:57] [PACMAN] installed gstreamer0.10-ffmpeg (0.10.13-1)
[2013-07-24 18:57] [PACMAN] Running 'pacman -Rsnc xfburn'
[2013-07-24 18:57] [PACMAN] removed xfburn (0.4.3-6)
[2013-07-24 18:57] [PACMAN] removed libburn (1.3.0.pl01-1)
[2013-07-24 18:57] [PACMAN] removed libisofs (1.3.0-1)
[2013-07-24 18:57] [PACMAN] removed libxfcegui4 (4.10.0-1)
[2013-07-24 18:58] [PACMAN] Running 'pacman -S bashburn'
[2013-07-24 18:58] [PACMAN] installed cdrdao (1.2.3-6)
[2013-07-24 18:58] [PACMAN] installed cdrkit (1.1.11-3)
[2013-07-24 18:58] [PACMAN] installed bashburn (3.1.0-1)
[2013-07-24 19:00] [PACMAN] Running 'pacman -Rsnc bashburn'
[2013-07-24 19:00] [PACMAN] removed bashburn (3.1.0-1)
[2013-07-24 19:00] [PACMAN] removed cdrdao (1.2.3-6)
[2013-07-24 19:00] [PACMAN] removed cdrkit (1.1.11-3)
[2013-07-24 19:00] [PACMAN] Running 'pacman -S k3b'
[2013-07-24 19:00] [PACMAN] installed libmusicbrainz5 (5.0.1-1)
[2013-07-24 19:00] [PACMAN] installed libkcddb (4.10.5-1)
[2013-07-24 19:00] [PACMAN] installed libmpcdec (1.2.6-3)
[2013-07-24 19:00] [PACMAN] installed libdvdread (4.2.0-1)
[2013-07-24 19:00] [PACMAN] installed cdrkit (1.1.11-3)
[2013-07-24 19:00] [PACMAN] installed k3b (2.0.2-8)
[2013-07-24 19:00] [PACMAN] Running 'pacman -S cdrdao'
[2013-07-24 19:00] [PACMAN] installed cdrdao (1.2.3-6)

I tried removing the newly installed packages (gstreamer0.10-ffmpeg, k3b and its dependencies and cdrdao), reinstalling lightdm and lightdm-gtk3-greeter. But I did not get it working again yet.

Offline

#7 2013-08-03 11:31:23

nopriler
Member
Registered: 2011-01-27
Posts: 40

Re: [SOLVED]LightDM issue: Failed to open CK session

I found a solution worked for me:

# rm -r /var/cache/lightdm

Offline

#8 2014-01-06 12:06:49

Jaczel
Member
From: Sydney, Australia
Registered: 2013-10-24
Posts: 5

Re: [SOLVED]LightDM issue: Failed to open CK session

nopriler wrote:

I found a solution worked for me:

# rm -r /var/cache/lightdm

This worked for me too.

Offline

#9 2020-07-20 22:53:40

diogo-b013
Member
Registered: 2020-07-20
Posts: 3

Re: [SOLVED]LightDM issue: Failed to open CK session

My solution was remove all packages from "ConsoleKit" that was deprecated and a library related with "Console kit"

Offline

#10 2020-07-20 23:01:44

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED]LightDM issue: Failed to open CK session

This thread is seven years old and marked [SOLVED]. Please do not necrobump.

Closing.

Offline

Board footer

Powered by FluxBB