LinuxQuestions.org
Visit Jeremy's Blog.
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 07-05-2004, 10:00 PM   #1
KHAAAN
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrakelinux 10.0 Community
Posts: 12

Rep: Reputation: 0
Leave X session


I know there was a command to leave the X session, but I forgot what it was.....
 
Old 07-05-2004, 10:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi Khaaan,

can you elaborate on what you mean, try to achieve?

Loging out of a WM? Kill the X server alltogether?


Cheers,
Tink
 
Old 07-05-2004, 10:29 PM   #3
KHAAAN
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrakelinux 10.0 Community
Posts: 12

Original Poster
Rep: Reputation: 0
I just want to leave the WM to go to the console so I can load XPde. Nothing permanent, though.
 
Old 07-05-2004, 10:32 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
A reasonably distro-independent way of doing that
should be:
init 1



Cheers,
Tink
 
Old 07-05-2004, 10:33 PM   #5
KHAAAN
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrakelinux 10.0 Community
Posts: 12

Original Poster
Rep: Reputation: 0
Sez: command not found


Would it help to say I am in Mdk 10?
 
Old 07-05-2004, 10:37 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Did you try as root, or as normal user?
If init doesn't work, try telinit ...


Cheers,
Tink
 
Old 07-05-2004, 11:12 PM   #7
KHAAAN
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrakelinux 10.0 Community
Posts: 12

Original Poster
Rep: Reputation: 0
I tried those as root, and wasn't what I expected.... I tried "startx" but didn't get me back to X. Whatever it was, I know that startx got me back into the GUI.
 
Old 07-05-2004, 11:16 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
init 5 would do this in this case ...

As for the distro: there's soooo many different
distro's out there, with fairly varied ways of setting
X up, that it's actually alost impossible to guess how
to definitely terminate X. Killing kdm (gdm, xdm) first,
and then doing Ctrl-Alt-Bskp MAY get you to a prompt.
On other distro's it may not.


Cheers,
Tink
 
Old 07-05-2004, 11:22 PM   #9
KHAAAN
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrakelinux 10.0 Community
Posts: 12

Original Poster
Rep: Reputation: 0
OTOH, it may have been on an older version of Mdk, or when I had RH on it.
 
  


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
Are PHP session variables held in memory when you leave a PHP site? Locura Programming 11 11-16-2008 09:37 PM
leave pirozzi Slackware 6 02-14-2005 03:37 AM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 03:14 PM
Leave it on or leave it off? admanb Linux - Hardware 4 03-08-2004 01:49 PM
to leave the PC on or not? csDraco_ Linux - Hardware 10 10-29-2003 09:19 AM


All times are GMT -5. The time now is 08:38 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