Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 14 down vote accepted

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):

enter image description here

share|improve this answer
1  
Perfect, thankyou! –  edm Mar 10 '12 at 18:02
    
unlike the me menu dm-tool swich-to-greeter doesn't lock session you just left. –  ijk Mar 17 '12 at 16:24

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: http://apt.ubuntu.com/p/gdm.

share|improve this answer
1  
I really dont think that is what the user is asking here. –  Bruno Pereira Mar 8 '12 at 11:11
    
My fault, I updated the question to make it clearer what Im trying to achieve. I know GDM is still available but most of the functionality is being moved to lightDM. In 11.10, the GDM command 'gdmflexiserver -xnest' would start another x server using the LightDM protocol allowing a user to log in using the GUI. But now GDM is not installed by default so there must be a replacement command that does the same but is lightdm native. –  edm Mar 8 '12 at 11:17
    
You can use ctrl+alt+F7 and ctrl+alt+F8 to switch between two logged in users when they are already logged in. –  Jo-Erlend Schinstad Mar 8 '12 at 16:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.