Switching graphical user session in lubuntu using terminal

-1

1

How can I switch to a different graphical user session in Lubuntu using the terminal? I am not talking about using the su command. What I want is a terminal command that does the same thing as when you click the switch user button in the logout menu. If the command took the users login credentials as parameters that would be even better.

fuumind

Posted 2016-02-24T08:15:14.090

Reputation: 329

See answer over on [ubuntu.SE]: http://askubuntu.com/questions/633411/how-can-i-change-user-from-command-line

– slhck – 2016-02-24T13:17:32.130

Answers

0

The command dm-tool can be used to achive the desired effect:

$ dm-tool switch-to-user $USERNAME

fuumind

Posted 2016-02-24T08:15:14.090

Reputation: 329