Red Hat Bugzilla – Bug 819509
gnome-system-log fails to run
Last modified: 2012-05-18 21:56:51 EDT
Description of problem:
gnome-system-log fails to display anything, disappears without a trace.
Version-Release number of selected component (if applicable):
How reproducible: every time
Steps to Reproduce:
1. run gnome-system-log from menus or command line
2. see nothing
When ran from Applications/System Tools/Log File Viewer menu, it shows 'Starting Log File Viewer' icon in the bottom bar for about 10 seconds, and disappears, without opening any windows.
When run from the root shell prompt, it prints the message:
(logview:13781): gnome-system-log-CRITICAL **: Unable to parse arguments: Cannot open display:
It is not a $DISPLAY problem because e.g. gnome-system-monitor command works fine (opens the monitor window, etc).
I believe that a window should appear displaying the system logs
if you open a terminal and you become root by su, then issue gnome-system-monitor, it works
(In reply to comment #1)
> if you open a terminal and you become root by su, then issue
> gnome-system-monitor, it works
Yes, that's what I reported: gnome-system-monitor works but gnome-system-log (which is what this bug report is about) doesn't:
[root@przemek przemek]# gnome-system-log
(logview:4748): gnome-system-log-CRITICAL **: Unable to parse arguments: Cannot
<immediately returns to shell prompt...>
[root@przemek przemek]# gnome-system-monitor
<shows correct monitor window and works, in general>
what kind of desktop environment is this running in ?
do you get a password prompt when running gnome-system-log as regular user ?
do you have /usr/share/polkit-1/actions/org.gnome.logview.policy ?
does "pkexec sh" bring up a password dialog ?
it had to be read as gnome-system-log
Yes I get passwd prompt
Yes I have /usr/share/polkit-1/actions/org.gnome.logview.policy
Yes pkexec sh brings up a password dialog
Same on fresh installation and upgraded installation
(In reply to comment #3)
> what kind of desktop environment is this running in ?
> do you get a password prompt when running gnome-system-log as regular user ?
Yes, and after authentication it actually runs!!!!!!!!!!!!!!!!
still, doesn't work off the menu or from the root shell.
> do you have /usr/share/polkit-1/actions/org.gnome.logview.policy ?
Yes, it is owned by gnome-system-log-3.4.1-2.fc17.x86_64 and rpm --verify confirms it's unchanged (only /usr/bin/logview is changed due to prelinking)
> does "pkexec sh" bring up a password dialog ?
Yes, and when I give the user password, it runs the root shell for me.
This was tracked down to a problem with the way gnome-shell launches applications:
Will be fixed in the next gnome-shell release.