[Pkg-xfce-devel] Bug#691627: XFCE4 - switch user - without Gnome's Dependencies Vortex

Andreas Neudecker zapyon at gmx.net
Mon Oct 5 08:20:21 UTC 2015

Package: xfswitch-plugin
Version: 0.0.1-5
Followup-For: Bug #691627

I am surprised that this chain of GNOME dependencies still exists with
xfswitch-plugin. If it is only due to the gdmflexiserver that is not in
lightdm, there may be a simple solution:

When I switched from GNOME2 to XFCE several years ago I required a user
switching option. On the web somewhere I found a very simple script that
provides a drop-in replacement for gdmflexiserver. It is so short that I can
just copy-n-paste it here:


# Copyright (C) 2011 Canonical Ltd
# Author: Michael Terry <michael.terry at canonical.com>
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, version 3 of the License.
# See http://www.gnu.org/copyleft/gpl.html for the full text of the license.

if [ -z "$XDG_SEAT_PATH" ]; then
  # something went wrong
  exit 1

dbus-send --system --type=method_call --print-reply
--dest=org.freedesktop.DisplayManager $XDG_SEAT_PATH


May be this script could replace the gdm3 dependency in xfswitch?

I simply put this in /usr/local/bin and it works for me on several machines
running vanilla Debian (testing) or Linx Mint Debian Edtion 1 & 2 (LMDE1,
LMDE2), respectively. I use lightdm, except on one machine, where after upgrade
to LMDE2 lightdm behaved weirdly, so I replaced it with MDM; but the
gdmflexiserver script works fine there, too.

I am not sure where I found this script when I first used it. But today, there

and https://code.launchpad.net/~mterry/lightdm/gdmflexiserver-fix

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

More information about the Pkg-xfce-devel mailing list