How Can I Invoke a User Switch from the Command Line?

How Can I Invoke a User Switch from the Command Line?

In 11.10 I used 'gdmflexiserver -xnest' to switch users without logging out however I think gdm has now been completely removed.

I'm trying to bind a keyboard shortcut to do the equivalent of 'Me Menu>Switch User Account...'.

How can I invoke a user switch in 12.04?

2 Answers

gdmflexiserver as a legacy option to provide the greeter switcher service during the transition between GDM and LightDM.

This has now been dropped from 12.04.

The replacement command is:

dm-tool switch-to-greeter

Other useful dm-tool options (dm-tool --help):

7

You can have several users logged in at the same time and switch between them with alt+ctrl+F1-8. That doesn't allow you to have another x server in a window. By the way; GDM has not been removed. It's just not used by default. You can easily install it: .

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

David Miller
Author

David Miller

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.