WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Opposite command to startx?  (Read 8143 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Opposite command to startx?
« on: June 17, 2010, 10:46:29 PM »
Is there a command to stop X? Such as exittc seems to be doing when selecting exit to prompt?

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Opposite command to startx?
« Reply #1 on: June 17, 2010, 10:50:06 PM »
How about the rather "brutal" killall Xvesa (or killall Xorg)? It works for me , but you are also running the risk of loosing other processes (e.g. xterms etc.).

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Opposite command to startx?
« Reply #2 on: June 17, 2010, 11:24:22 PM »
Thanks, I'll try that.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: Opposite command to startx?
« Reply #3 on: June 18, 2010, 03:33:19 AM »
IIRC X shuts down "gracefully" when nothing runs on it, ie the wm is killed. I almost never bother though, I just use ctrl-alt-backspace ;)
The only barriers that can stop you are the ones you create yourself.