[Pkg-xfce-devel] Bug#688835: xfce4-utils: xinitrc should not start screensaver if $VNCDESKTOP is set

Chris Chiappa chris+debian at chiappa.net
Wed Sep 26 02:36:56 UTC 2012

Package: xfce4-utils
Version: 4.8.3-2
Severity: minor

xinitrc tries to avoid starting the screensaver (quite sensibly) if it appears that it's running under VNC:

if test $UID -gt 0 -a -z "$VNCSESSION" -a "$screensaver_enabled" != "false"; then

However, tightvncserver doesn't seem to set $VNCSESSION.  The only
relevant bit in my environment seems to be that $VNCDESKTOP is set to "X".  Maybe that environment variable could be checked as well?  Or maybe there's a more reliable way of detecting VNC?

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfce4-utils depends on:
ii  dpkg                                  1.16.8
ii  exo-utils                             0.6.2-5
ii  libc6                                 2.13-35
ii  libdbus-1-3                           1.6.2-2
ii  libdbus-glib-1-2                      0.100-1
ii  libglib2.0-0                          2.32.3-1
ii  libgtk2.0-0                           2.24.10-2
ii  libxfce4ui-1-0                        4.8.1-1
ii  libxfce4util4                         4.8.2-1
ii  procps                                1:3.3.3-2
ii  x11-xserver-utils                     7.7~3
ii  xfce4-terminal [x-terminal-emulator]  0.4.8-1+b1
ii  xinit                                 1.3.2-1
ii  xterm [x-terminal-emulator]           278-2

Versions of packages xfce4-utils recommends:
ii  dbus-x11       1.6.2-2
ii  thunar         1.2.3-4+b1
ii  xdg-user-dirs  0.14-1
ii  xfce4-panel    4.8.6-4
ii  xfwm4          4.8.3-2
ii  xinput         1.6.0-1
ii  xscreensaver   5.15-3

Versions of packages xfce4-utils suggests:
ii  xfce4-session  4.8.3-2+b1

-- no debconf information

More information about the Pkg-xfce-devel mailing list