浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

How can I restart x-server from the command line?

I'd really like to be able to restart my gui without having to do a full system reboot.

link|improve this question

75% accept rate



feedback

4 Answers

up vote 13 down vote accepted

Depending if you use gdm (gnome) or kdm (KDE) you can use one of the following commands:

<code>sudo restart gdm
</code>

or

<code>sudo restart kdm<br /></code>
link|improve this answer


posted on 2011-08-07 10:03  lexus  阅读(260)  评论(0编辑  收藏  举报