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.

I am running 12.04 LTS, fully updated. My system is configured to automatically log me in into my account. Auto-login works fine.

However, sometimes I need to access the unity-greeter/lightdm login screen. For example, this happens when I log out and then want another user want to log into their account. The interface we get is exactly the one shown on the Wikipedia page for LightDM:

  • the password prompt is grayed out and I am unable to type my password
  • the mouse moves fine but I cannot click the system icons on the top-right corner of the menu bar does not work
  • I can switch using ctrl-alt-f? to a console and login fine using the text/console login prompt. If I kill X, I am again returned to the same unusable login screen.

How can I fix this? How can a user log into their graphical environment without having to reboot the system?

share|improve this question
    
Does anything change if you click on your user name? –  terdon May 9 at 13:20
    
You can try to debug lightdm or you switch back to GDM –  TuKsn May 10 at 9:57

1 Answer 1

I have encountered the same on random occasions on my 14.04 LTS installation. I have not been able to reproduce it. Sometimes it just happens and I am stuck at login.

I have added this alias to to my .bash_aliases file as a workaround that have worked so far:

alias saveme="export XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 && dm-tool switch-to-greeter && logout"

When login prompt is grayed out. I switch to e.g. tty1 with Ctrl+Alt+F1, login and just enter my alias: saveme.

This way you will not lose any work from open applications. When you restart lightdm you will lose everything you had running which was really annoying and something I wanted to avoid..

XDG_SEAT_PATH may not be the same for you. Check while logged in in a terminal:

env | grep -i XDG_SEAT_PATH

You can also check with:

dm-tool list-seats
share|improve this answer

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.