The configured session is stored in a d-bus service called
AccountsService.

You can change this by:
$ gdbus call --system --dest org.freedesktop.Accounts --object-path 
/org/freedesktop/Accounts --method org.freedesktop.Accounts.FindUserByName 
your-username
(objectpath '/org/freedesktop/Accounts/User1000',)
$ gdbus call --system --dest org.freedesktop.Accounts --object-path 
/org/freedesktop/Accounts/User1000 --method 
org.freedesktop.Accounts.User.SetXSession your-session

Or editing /var/lib/AccountsService/users/bob (you probably have to
restart accounts service / your machine to take effect).


** Summary changed:

- Greeter doesn't allow to switch sessions if only one session installed (user 
is set to old session)
+ Unable to log in if user has invalid session configured and no session 
switcher shown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1303725

Title:
  Unable to log in if user has invalid session configured and no session
  switcher shown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1303725/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to