Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

lightdm and gdmflexiserver

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
flabdablet
Posts: 24
Joined: 2011-11-22 10:37
Location: Bruthen, Australia

lightdm and gdmflexiserver

#1 Post by flabdablet »

I'm using Wheezy on amd64 with XFCE and lightdm. I don't want anything to do with gdm3 or any other part of Gnome 3, but I still want to be able to use multiple concurrent desktop login sessions and it seems I need a gdmflexiserver to make that work.

The googles tell me that lightdm is supposed to come with a gdmflexiserver compatibility script (typically installed at /usr/lib/lightdm/lightdm/gdmflexiserver) but dpkg --listfiles lightdm shows no such thing and apt-file search gdmflexiserver only shows the ones that come in the gdm3 and kdm-gdmcompat packages. So where is the lightdm version hiding?

flabdablet
Posts: 24
Joined: 2011-11-22 10:37
Location: Bruthen, Australia

Re: lightdm and gdmflexiserver

#2 Post by flabdablet »

Found one in the lightdm tarball available from https://launchpad.net/lightdm/+download - all that needs to be done to make it work after downloading the tarball to /tmp is

Code: Select all

cd /tmp
tar -xzf lightdm*.tar.gz
sudo cp lightdm*/utils/gdmflexiserver /usr/local/bin
So I'm now successfully switching users with a locally installed, non-package-managed gdmflexiserver. But I still don't understand why the Debian lightdm package doesn't just put one in /usr/bin, or maybe do something clever with /etc/alternatives if there needs to be support for multiple display managers on the same box.

bangx
Posts: 1
Joined: 2012-07-16 09:09

Re: lightdm and gdmflexiserver

#3 Post by bangx »

How do you switch user sessions in xfce?

fsmithred
Posts: 1873
Joined: 2008-01-02 14:52

Re: lightdm and gdmflexiserver

#4 Post by fsmithred »

ctrl-alt-F1 (or F2, etc.)
login

Code: Select all

startx -- :1
Edit: ctrl-alt-F7 and ctrl-alt-F8 to switch back and forth between desktops. (might be ctrl-alt-F9, if you can find one of the desktops.)

ectospasm
Posts: 40
Joined: 2011-05-09 08:09

Re: lightdm and gdmflexiserver

#5 Post by ectospasm »

How do you switch user sessions in xfce?
This topic helped me to set up xscreensaver so the "New Login" button will now work with Xfce4 and lightdm. That's one way to do it.

Another way to do it is to use xfswitch-plugin, which allows you to click a panel icon to switch to another user. The drawback to this applet is that the screen cannot be locked to activate it.

User avatar
Danielsan
Posts: 659
Joined: 2010-10-10 22:36
Has thanked: 5 times

Re: lightdm and gdmflexiserver

#6 Post by Danielsan »

Currently I'm using Jessie with XFCE4.10, I installed gdmflexiserver by installing libgdm1, so now I have the bin gdmflexiserver in /usr/bin.
With this installation I have the button switch user activated but when I click over it I have this pop-up alert:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.DisplayManager was not provided by any .service files
I have even added this command in my .xscreensaver config file:

Code: Select all

newLoginCommand: /usr/bin/gdmflexiserver
But never it happened...

So, have anyone idea how it's possible enable this function?

vimora
Posts: 1
Joined: 2018-03-14 13:12

Re: lightdm and gdmflexiserver

#7 Post by vimora »

Hi, I have a quick solution. :-D

The problem is xscreensaver doesn't find the file /usr/bin/gdmflexiserver

As root, with your favorite editor create the file /usr/bin/gdmflexiserver
Then put inside the lightdm command: "dm-tool switch-to-greeter"
Finally give execution permission to the file with chmod.

If you want only one code line you can use this in your root console:

Code: Select all

echo "dm-tool switch-to-greeter" > /usr/bin/gdmflexiserver && chmod 755 /usr/bin/gdmflexiserver
This is a quick solution because if you are using another display manager you have to use another command.

Post Reply