Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-28-2004, 09:59 AM   #1
LQ Newbie
Registered: May 2004
Location: UK
Distribution: Mandrake 9.2
Posts: 16

Rep: Reputation: 0
Shell prompt - dunno how to exit

im very new to linux, i only just installed it the other day, and today i loaded half life and was configuring it, when the game was not responding so i pressed ctrl alt and f1 i think it was and it brang up a black screen that is called shell prompt i think. anyway i dunno how to exit it, when i type exit it asks me to login. Ive restarted my comp many times and have no idea how to exit. Help would be appreciated thx
Old 05-28-2004, 10:26 AM   #2
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Try typing
init 5
- hopefully, you should go to runlevel 5, which, presumably, is where you want to go.
Old 05-28-2004, 10:32 AM   #3
Senior Member
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
I'm not sure of your situation exactly, but if you got out of your GUI with a ctrl-alt-fn, then you can get back to the GUI with ctrl-alt-f7.
Old 05-28-2004, 10:34 AM   #4
Registered: May 2004
Posts: 91

Rep: Reputation: 15
well, asuming that you didn't change too much and that you pressed that in x server alt F7 should also bring you back to x sever (i think). O and also try typing startx. If for some reason x server is closed you should get a message saying "x server is already started" or somthing like that. If that's the case alt F2 should work.
Old 05-28-2004, 10:51 AM   #5
LQ Newbie
Registered: May 2004
Location: UK
Distribution: Mandrake 9.2
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks very much guys, the line startx worked thanks for your help


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 get exit code of a progarm in Shell? neo_in_matrix Linux - Newbie 2 09-22-2005 01:46 PM
exit GDM to a shell PlatinumRik Linux - Software 2 04-18-2005 12:31 PM
Shell Scripting Exit(s) liguorir Linux - Software 3 04-21-2004 10:59 AM
How to exit Gnome to Shell, Mandrake 9.2? Ygarl Linux - Newbie 2 03-27-2004 09:47 AM
How to exit from > in command prompt ? FinnGnome Linux - Newbie 6 05-09-2003 02:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 AM.

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