You are not logged in.

#1 2013-05-06 12:20:46

Henry78
Member
From: Vienna
Registered: 2012-01-23
Posts: 65

GDM session.log missing

Dear community!

I deleted the GDM session.log (~/.cache/gdm/session.log) and expected GDM to create a new one on login. But even after restarting there's still no session.log. Also tried to remove the gdm Folder from '.cache', expecting GDM to create it, which didn't happen on logout/login respectively reboot.

As I didn't find anything in the log files (syslog/journald/gdm.log) I'm stuck. I'd be glad if anybody is able to put me on tracks on how to get GDM writing a session.log again, or how to further investigate this issue.

Offline

#2 2013-05-07 20:20:47

dmoebius
Member
Registered: 2013-04-05
Posts: 6

Re: GDM session.log missing

I have the same problem.

Offline

#3 2013-05-07 20:43:08

Henry78
Member
From: Vienna
Registered: 2012-01-23
Posts: 65

Re: GDM session.log missing

I'm kinda happy I'm not alone. Was douting my skills. I hope to get to setup a virtual machine to do some tests this weekend.

But to add some content: I've hung out for two days on GDM IRC but nobody was able to help me there either.

Offline

#4 2013-05-10 00:00:19

don_crissti
Member
Registered: 2009-03-17
Posts: 35

Re: GDM session.log missing

It's in systemd journal.

You should be able to get the session.log if you filter the journal with something like:

journalctl -b -o cat _PID=$(pgrep gnome-session)

Last edited by don_crissti (2013-05-10 00:01:41)

Offline

#5 2013-05-10 07:59:50

dmoebius
Member
Registered: 2013-04-05
Posts: 6

Re: GDM session.log missing

don_crissti wrote:

You're right. Thanks!

I'd prefer to have it in ~/.xsession-errors (or ~/.cache/gdm/session.log). Does anybody know a way to restore the old behavior?

Last edited by dmoebius (2013-05-10 08:04:54)

Offline

#6 2013-05-10 08:59:13

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: GDM session.log missing

dmoebius wrote:

Does anybody know a way to restore the old behavior?

You need to rebuild the gdm package using the ABS, and add:

--enable-systemd-journal=no to the ./configure options.

The default is 'auto', that is yes if the systemd journald is found.

You may try to add a feature request in Arch bug tracker, for that to become the default in the Arch package; and ask for votes from other users.

Offline

Board footer

Powered by FluxBB