Fedora 17 Gnome3 restart X/gdm from command line on locked or frozen screen
I locked my Lenovo Fedora 17 and I was not able to bring back the login screen, no idea why.
Anyway, I hate to reboot linux powered devices, so the solution was :
from the old Slackware days : get a shell !
1. CTRL+ALT+F2 to get to the shell, login as the root
2, check the actual gdm service name like :
email@example.com:[Fri Mar 08 15:06:55][~]$ systemctl list-units | grep -i Display prefdm.service loaded active running Display Manager
then restart it as
systemctl restart prefdm.service
and you will get back to the default X login screen 🙂