Restart GDM/X from command line

view story

http://forums.fedoraforum.org – Hi! Yesterday I was working on my own extension for gnome and my computer froze. I could switch to other virtual consoles using Alt+Ctrl+F(2) but I couldn't figure out how to restart gdm. On debian I could do a "service restart gdm3", but couldn't find the equivalent systemd command. I tried "systemctl restart graphical.target" but with no luck :( I finally had to restart my system(not an issue coz my system boots in like 6 seconds thanks to systemd :D ) I love the whole concept of systemd and the only thing that would make it better is more pratical documentation. (HowTos)