LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2005, 05:09 PM   #1
Minime80
LQ Newbie
 
Registered: Feb 2004
Location: Portland, OR
Distribution: Debian
Posts: 3

Rep: Reputation: 0
X-windows exit command?...


Is there one? I know I can do a Ctrl-Alt-Backspace, but is there a command I can put in my fluxbox menus? I could put a 'killall XFree86' in there, but I was looking for something a little more elegant... like a stopx.
 
Old 02-16-2005, 05:27 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
On most distros, it would be:
/sbin/init 3

Since you're using Debian, it may differ slightly - I think their runlevels mean slightly different things...

HTH,

Samsara
 
Old 02-16-2005, 06:32 PM   #3
Minime80
LQ Newbie
 
Registered: Feb 2004
Location: Portland, OR
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: 0
Yeah, Debian's runlevels are a lot less well defined. We got the standard 0, 1, and 6, but 2-5 are all identical and they leave it up to you to edit the /etc/rc#.d links to define each runlevel... which leads me back to where I started. I'm just going to put the killall XFree86 in there for now 'cause I really don't feel like messing too much with the rc#.d directories... maybe later though. Anybody know what that entails?
 
Old 02-16-2005, 09:16 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
x dies when whatever it's client program is dies
parent who is dependant on a child -- a new twist
 
Old 02-16-2005, 09:31 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
There's always Ctrl-Alt-BkSpc

Or
skill -9 X xdm kdm gdm


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to exit the less textfile command? dubbuk Linux - Newbie 7 03-31-2018 10:29 AM
SSH: execute one command then exit kleptophobiac Linux - Software 10 01-30-2004 08:21 PM
RHL9.0 hangs when logout/exit command line mellsie25 Linux - Newbie 7 10-17-2003 09:30 PM
How to exit from > in command prompt ? FinnGnome Linux - Newbie 6 05-09-2003 02:50 PM
script 'exit' command kilobravo Linux - General 8 01-16-2003 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration