I have 2 screens which are screen 0 (:0.0) and screen 1 (:0.1). When I'm browsing some documentation on screen 1 without moving the mouse to screen 0, after some time, gnome-screensaver activates the screensaver. This does not happen when only using screen 0 or regularly going back to screen 0. I guess gnome-screensaver does not notice any activity on screen 1. Reproducible: Always Steps to Reproduce: 1. use 2 monitors 2. configure X to have 2 separate screens (:0.0 and :0.1) 3. go to screen 1, stay there and use it (mouse, keyboard) Actual Results: After some time, gnome-screensaver activates the screensaver Expected Results: gnome-screensaver should not activate the screensaver when there is mouse and/or keyboard activity on either screen 1 or screen 0 # emerge --info Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27.10 i686) ================================================================= System uname: 2.6.27.10 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Timestamp of tree: Fri, 19 Dec 2008 06:15:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/data/linux/gentoo/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US en_GB nl de" MAKEOPTS="-j2" PKGDIR="/data/linux/gentoo/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/compile" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa apache2 apm berkdb bzip2 cli cracklib crypt cups dri dvb dvd dvdr dvdread encode esd exif fam ffmpeg flac fortran gdbm gif gnome gpm gstreamer gtk iconv imlib ipv6 isdnlog java jpeg ldap mad midi mikmod mmx mng mozilla mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt qt4 quicktime readline reflection samba sdl session sni spell spl sse ssl svg sysfs tcpd theora tiff truetype unicode v4l v4l2 vcd vhosts vorbis wmf x86 xinerama xml xorg xv xvmc zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB nl de" USERLAND="GNU" VIDEO_CARDS="vesa fbdev v4l nv nvidia i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
ok, a few questions, which versions of: - gnome-screensaver - xorg-server - x11-libs/libXScrnSaver and x11-proto/scrnsaverproto - consolekit - dbus which dual mode is this (zaphod, xinerama, something else ?) and with which driver ? is there any related error message in ~/.xsession-errors ?
My barely-educated guess: NOTREALLYABUG/MISSINGFEATURE. IIRC, when you have separate X screens (.0 and .1), X really considers them as separate. And I would say that the simple fact that you can switch the mouse from screen to screen is an implementation detail. X clients usually will pick one of the screens and stick with that. I would say gnome-screensaver, in that case, should monitor activity on all screens. But that needs to be explicitly written in the code.
The versions: gnome-extra/gnome-screensaver-2.22.2 x11-base/xorg-server-1.3.0.0-r6 x11-libs/libXScrnSaver-1.1.2 x11-proto/scrnsaverproto-1.1.0 sys-auth/consolekit-0.2.3 sys-apps/dbus-1.2.3-r1 x11-drivers/nvidia-drivers-177.82 I think I have xinerama; xorg.conf is configured as documented in "Chapter 15. Configuring Multiple X Screens on One Card" of /usr/share/doc/nvidia-drivers-177.82/README.bz2 In ~/.xsession-errors I see the following which might be related: ** (nautilus:4709): WARNING **: Unable to add monitor: Not supported ** (gnome-screensaver-preferences:5238): DEBUG: Found best visual for GL: 0x21 When gnome-screensaver locks the screen and the mousepointer is in screen 1, the requester for the password is in screen 1. Also, I would expect gnome-screensaver to check both screens since the use flag xinerama is on (also for gnome-screensaver).
This is actually a known upstream bug (that a co-worker hit all the time).
Still valid with 2.26?
This issue seems to be solved (tested with gnome-extra/gnome-screensaver-2.26.1)