LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 09: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, 09:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 09: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, 09:32 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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



Cheers,
Tink
 
Old 07-05-2004, 09: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, 09:37 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Cheers,
Tink
 
Old 07-05-2004, 10: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, 10:16 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 10: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



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 08:37 PM
leave pirozzi Slackware 6 02-14-2005 02:37 AM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 02:14 PM
Leave it on or leave it off? admanb Linux - Hardware 4 03-08-2004 12:49 PM
to leave the PC on or not? csDraco_ Linux - Hardware 10 10-29-2003 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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