LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2003, 01:26 AM   #1
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
ending x session


how can i end my x session. startx starts the x session but how do i end it.

thanks for any advise,
AD
 
Old 02-22-2003, 01:32 AM   #2
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
you mean pull down the GUI of what ever distro of linux your using? try ctrl+alt +backspace I'm sure that will work.

And no problem for handing out advice, I learned that yesterday :] gotta pass it down some how
 
Old 02-22-2003, 01:35 AM   #3
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
that just logs me out of my windows manager kde, gnome. i want to ge back to the prompt where i log into my xsession.

thanks though,
AD
 
Old 02-22-2003, 01:40 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well it depends on how you got into your distro sets up it's runlevels I guess. If you are booting into a gui login, then CTRL ALT BACKSPACE will just restart your X server, and put you back into your gui login screen. If you are booting into a login prompt, CTRL ALT BACKSPACE should kill your X server and put you back at a command prompt.

However, you can also go back to the tty that you startx from (maybe tty1 so CTRL ALT F1) and then kill X with a CTRL C. This will kill whatever process is running on that tty and then you can startx again.

Cool
 
Old 02-22-2003, 01:44 AM   #5
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
Thanks for clearing that up MasterC ;] I learned more new things now
 
Old 02-22-2003, 01:48 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You're welcome One more thing that I didn't really make clear..

You can also switch runlevels without restarting the computer. Look into /etc/inittab and note the runlevels. You can safely switch to the non-gui multi-user runlevel (usually init 3) by just (as root):
init 3

This might help when trying to CTRL ALT BACKSPACE to kill X since it's depending on which runlevel you are in.



Cool
 
Old 02-22-2003, 02:02 AM   #7
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
thanks to the master, masterc
by the way nice website.
AD
 
Old 02-22-2003, 02:05 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You're Welcome I'm no Master though, just stuck around long enough to learn a few things

And thanks for the comment on the website!

Cool
 
  


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
Ending an X session intels_ss Linux - Newbie 3 07-25-2005 09:11 PM
Never ending standby during boot up 10.1 OE samael26 Mandriva 4 12-05-2004 03:57 PM
Crash on ending KDE 3.2 session arubin Slackware 5 06-22-2004 07:14 PM
Xserver crashes after ending session (after upgrading tot kde 3.2.2) rutgerw Linux - Software 1 06-03-2004 05:06 PM
Ending in deb? liguorir Linux - Software 1 06-17-2003 07:15 PM


All times are GMT -5. The time now is 04:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration