Ask Your Question
0

Reading the Xorg log in Fedora 21

asked 2014-12-12 17:46:23 -0500

skomra gravatar image

I'm trying to read the journalctl xorg log using the process listed here: http://who-t.blogspot.com/2014/03/viewing-xorglog-with-journalctl.html . I use the command

$sudo journalctl -e /usr/bin/Xorg

But I only get the following output with that command:

~
~
-- Logs begin at Thu 2014-12-11 14:26:41 PST, end at Fri 2014-12-12 15:36:47 PST. --

Did the logs move? or maybe I'm doing something wrong?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2014-12-15 22:39:05 -0500

whot gravatar image

updated 2014-12-16 19:01:04 -0500

The cause is that since that post we've added the xorg wrapper script to allow X to be started without root rights. So the actual binary is now /usr/libexec/Xorg.bin. I've sent patches upstream to work around this, but meanwhile either of those works:

journalctl -e /usr/libexec/Xorg.bin
journalctl _COMM=Xorg.bin

Updated the blog post as well.

edit flag offensive delete link more

Comments

Thanks Peter, I thought it might have something to do with that change, but I also thought that I might be using journalctl wrong.

skomra gravatar imageskomra ( 2014-12-16 15:07:29 -0500 )edit
0

answered 2014-12-13 04:55:27 -0500

Are you specifically wanting to use journalctl? There's also /var/log/Xorg.0.log which worked for my purposes the other day...

edit flag offensive delete link more

Comments

There is no /var/log/Xorg.0.log on my system. Are you using F21? If you follow the link I mention, there isn't supposed to be an Xorg.0.log anymore.

skomra gravatar imageskomra ( 2014-12-15 12:26:03 -0500 )edit

Interesting, yes I have although now I realise that it hasn't been updated in the last week... I did, however, use it during the upgrade process because for some reason after booting F21, lots of packages were missing and it pointed me to the needed drivers that were not updated.

jcuenod gravatar imagejcuenod ( 2014-12-17 08:01:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-12 17:46:23 -0500

Seen: 2,259 times

Last updated: Dec 16 '14