Bug 984767 - xscreensaver fails to start automatically
xscreensaver fails to start automatically
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: xscreensaver (Show other bugs)
19
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Mamoru TASAKA
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-15 18:53 EDT by Sam Varshavchik
Modified: 2013-07-16 06:45 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-16 06:45:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Varshavchik 2013-07-15 18:53:23 EDT
Description of problem:

After upgrading to F19, xscreensaver apparently fails to start automatically on the Gnome desktop.

Version-Release number of selected component (if applicable):

xscreensaver-5.21-9.fc19.x86_64

How reproducible:

Always

Steps to Reproduce:
1. yum install xscreensaver
2. start xscreensaver via Gnome
3. xscreensaver starts, shows a dialog, informing you that xscreensaver is not running, and offers the option to start it. Choose the option to start it.
4. Set the mode to "Blank Screen Only". Set power management to turn the display off, after a few minutes.
5. After the requisite amount of time has elapsed, confirm that the monitor power has turned off.
6. Wake up the display, reboot
7. After rebooting, log in to the Gnome desktop.

Actual results:

1. xscreensaver is not running after logging back into Gnome, monitor will not be powered off after the requisite amount of inactivity has elapsed.
2. start xscreensaver via Gnome
3. xscreensaver starts, shows a dialog, informing you that xscreensaver is not running, and offers the option to start it.

Expected results:

1. xscreensaver should start automatically, after logging into Gnome.

Additional info:
Comment 1 Mamoru TASAKA 2013-07-15 20:17:59 EDT
Well,

* Would you show the output of
  $ rpm -qa | grep screensaver | sort
  ?
* What desktop environ are you using (Gnome classic or modern Gnome)?
* Would you show the output of
  $ ps auwwx | grep screensaver
  ?
* And would you attach ~/.xsession-errors ?
Comment 2 Sam Varshavchik 2013-07-15 22:37:27 EDT
Modern gnome.

[mrsam@monster ~]$ rpm -qa | grep screensaver | sort
fedora-screensaver-theme-1.0.0-9.fc19.noarch
gnome-screensaver-3.6.1-4.fc19.x86_64
xscreensaver-5.21-9.fc19.x86_64
xscreensaver-base-5.21-9.fc19.x86_64
xscreensaver-extras-5.21-9.fc19.x86_64
xscreensaver-extras-base-5.21-9.fc19.x86_64
xscreensaver-gl-base-5.21-9.fc19.x86_64
xscreensaver-gl-extras-5.21-9.fc19.x86_64
[mrsam@monster ~]$ ps auwwx | grep screensaver
mrsam    14638  0.0  0.0 112644   928 pts/1    S+   22:34   0:00 grep --color=auto screensaver

I don't see anything interesting in .xsession-errors. After a fresh login:

(imsettings-check:1950): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:1955): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:1965): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:1986): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:1991): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:1999): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
gnome-session[1865]: WARNING: Could not parse desktop file /home/mrsam/.config/autostart/xfce4-settings-helper-autostart.desktop: Key file does not have key 'Name'
gnome-session[1865]: WARNING: could not read /home/mrsam/.config/autostart/xfce4-settings-helper-autostart.desktop
gnome-session[1865]: WARNING: Could not parse desktop file /home/mrsam/.config/autostart/xfconf-migration-4.6.desktop: Key file does not have key 'Name'
gnome-session[1865]: WARNING: could not read /home/mrsam/.config/autostart/xfconf-migration-4.6.desktop
GNOME_KEYRING_CONTROL=/run/user/mrsam/keyring-b0aEGj
GNOME_KEYRING_PID=2035
GNOME_KEYRING_CONTROL=/run/user/mrsam/keyring-b0aEGj
GNOME_KEYRING_CONTROL=/run/user/mrsam/keyring-b0aEGj
GPG_AGENT_INFO=/run/user/mrsam/keyring-b0aEGj/gpg:0:1
GNOME_KEYRING_CONTROL=/run/user/mrsam/keyring-b0aEGj
GPG_AGENT_INFO=/run/user/mrsam/keyring-b0aEGj/gpg:0:1
SSH_AUTH_SOCK=/run/user/mrsam/keyring-b0aEGj/ssh

(krb5-auth-dialog:2152): libnotify-WARNING **: Failed to connect to proxy

** (krb5-auth-dialog:2152): WARNING **: Failed to read server caps
SELinux Troubleshooter: Applet requires SELinux be enabled to run.
Initializing tracker-store...
Failed to play sound: File or data not found
Tracker-Message: Setting up monitor for changes to config file:'/home/mrsam/.config/tracker/tracker-store.cfg'
Initializing tracker-miner-fs...

** (deja-dup-monitor:2158): WARNING **: Network.vala:38: Error calling StartServiceByName for org.freedesktop.NetworkManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.


(krb5-auth-dialog:2152): libnotify-WARNING **: Failed to connect to proxy

** (krb5-auth-dialog:2152): WARNING **: Failed to read server caps
Tracker-Message: Setting up monitor for changes to config file:'/home/mrsam/.config/tracker/tracker-miner-fs.cfg'

(deja-dup-monitor:2158): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed
Starting log:
  File:'/home/mrsam/.local/share/tracker/tracker-miner-fs.log'
Tracker-Message: Setting up monitor for changes to config file:'/home/mrsam/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/mrsam/.local/share/tracker/tracker-store.log'

** (nm-applet:2157): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
** Message: applet now removed from the notification area

** (nm-applet:2157): WARNING **: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..

** (nm-applet:2157): WARNING **: Failed to register as an agent: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
Window manager warning: Log level 16: Could not initialize NMClient /org/freedesktop/NetworkManager: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
    JS ERROR: !!!   WARNING: 'assignment to undeclared variable type'
    JS ERROR: !!!   WARNING: file '/usr/share/gnome-shell/extensions/temperature@xtranophilist/extension.js' line 213 exception 0 number 156
    JS ERROR: !!!   WARNING: 'assignment to undeclared variable r'
    JS ERROR: !!!   WARNING: file '/usr/share/gnome-shell/extensions/temperature@xtranophilist/extension.js' line 325 exception 0 number 156
    JS ERROR: !!!   WARNING: 'assignment to undeclared variable signalId'
    JS ERROR: !!!   WARNING: file '/usr/share/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com/extension.js' line 124 exception 0 number 156
failed to create drawable
** Message: applet now embedded in the notification area
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!
** Message: No plugins to load

** (krb5-auth-dialog:2152): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.

(krb5-auth-dialog:2152): GLib-GIO-CRITICAL **: GApplication subclass 'KaApplet' failed to chain up on ::startup (from start of override function)
Window manager warning: Log level 16: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..
Window manager warning: Log level 16: _nm_remote_settings_ensure_inited: (NMRemoteSettings) error initializing: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.


(gnome-settings-daemon:2041): updates-plugin-WARNING **: Failed to get symlink: Error when getting information for file '/run/udev/firmware-missing/intel-ucode/06-1a-05': No such file or directory
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus 0x1a00004 (Desktop) with a timestamp of 0.  This shouldn't happen!
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
NOTE: child process received `Goodbye', closing down

(evince:2648): EvinceDocument-CRITICAL **: ev_annotation_markup_set_label: assertion `label != NULL' failed

(evince:2648): EvinceDocument-CRITICAL **: ev_annotation_markup_set_label: assertion `label != NULL' failed

(evince:2648): EvinceDocument-CRITICAL **: ev_annotation_markup_set_label: assertion `label != NULL' failed

(evince:2648): EvinceDocument-CRITICAL **: ev_annotation_markup_set_label: assertion `label != NULL' failed

(evince:2648): EvinceDocument-CRITICAL **: ev_annotation_markup_set_label: assertion `label != NULL' failed

(evince:2648): EvinceDocument-CRITICAL **: ev_annotation_markup_set_label: assertion `label != NULL' failed
NOTE: child process received `Goodbye', closing down
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
NOTE: child process received `Goodbye', closing down
Error: Expected the optional content group list, but wasn't able to find it, or it isn't an Array
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
NOTE: child process received `Goodbye', closing down
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus 0x1a00004 (Desktop) with a timestamp of 0.  This shouldn't happen!
NOTE: child process received `Goodbye', closing down
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
Window manager warning: Log level 8: meta_window_raise: assertion `!window->override_redirect' failed
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
NOTE: child process received `Goodbye', closing down
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
NOTE: child process received `Goodbye', closing down
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xe00003 (Virtual Ma)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
NOTE: child process received `Goodbye', closing down

(firefox:8942): Gtk-CRITICAL **: IA__gtk_clipboard_set_with_data: assertion `targets != NULL' failed
Window manager warning: Log level 16: STACK_OP_RAISE_ABOVE: sibling window 0x2200001 not in stack
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed
gtk printer
NOTE: child process received `Goodbye', closing down
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory

(gnome-settings-daemon:2041): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

** Message: Got disconnected from the system message bus; retrying to reconnect every 10 seconds
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
** Message: PID 2157 (we are 2157) sent signal 15, shutting down...
gnome-shell-calendar-server[2192]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Window manager warning: Log level 16: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Received signal:15->'Terminated'plugin-container: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

OK
Comment 3 Mamoru TASAKA 2013-07-15 22:51:04 EDT
Okay, so gnome-screensaver is installed.

By default, xscreensaver won't launch automatically if gnome-screensaver rpm is installed, to avoid the situation that both xscreensaver and gnome-screensaver launches.

* If you remove gnome-screensaver, then xscreensaver should again autostart (unless you have done some extra settings).
* If you want to keep gnome-screensaver installed, and want to use xscreensaver, then
  * make it sure that gnome-screensaver won't launch on your session
  * copy /etc/xdg/autostart/xscreensaver-autostart.desktop to ~/.config/autostart/ , with renaming to something line "xscreensaver-local.desktop".
  * Edit ~/.local/autostart/xscreensaver-local.desktop , so the line "Exec=/usr/libexec/xscreensaver-autostart" to "Exec=xscreensaver -nosplash"
Comment 4 Sam Varshavchik 2013-07-16 06:45:59 EDT
Yes, that seems to work.

Note You need to log in before you can comment on or make changes to this bug.