分类: LINUX
2009-07-20 17:11:46
The easiest way to restart X-windows is to simultaneously press ctrl-alt-backspace. Note: this will instantly kill X-windows and any programs running within it, like your window manager and probably everything else. There will be no confirmation.
Alternately, from the command-line, type "sudo pkill X".
Alternately, from the command-line, type "/etc/init.d/gdm restart" or "/etc/init.d/xdm restart".
貌似fedora 10 下,/etc/init.d/中没有gdm 也没有xdm两个文件。ubuntu下应该是可以的,,没确认。