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 03-13-2009, 10:08 AM   #1
xzy2435
LQ Newbie
 
Registered: Nov 2003
Location: Rochester MN
Posts: 8

Rep: Reputation: 0
launch desktop from shell


Running SUSE 10 on X86.
I switched from desktop to console using Ctrl+Alt+F1.
How can I switch back to my desktop from shell.
Tried startx but it pops up a dialogue box "I've detected a panel already running and will now exit".
I can of course reboot to recover, but I am thinking there must be a 'better' or right way to get back to desktop.
BTW,I searched the forums but wasn't finding any hits that were helpful.
Tosh.
 
Old 03-13-2009, 10:15 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
As simple as going to the (text) console: just switch back to the (graphical) original console the same way you came. Try pressing ALT+F7, a lot of systems use that for the one where X sits. On some others it's F5 or F6 instead of F7, but try and you'll see; everything can be configured as pleased, but it's common that F1...F5 are text login consoles and from F6 onwards reserved for graphical ones, typically only one of them being "in use" (only one instance of X running).

Note that to get from the text console back to X you'll need to press ALT+Fn, n being a number, but when going from X to the text console you also need to hold CTRL (so it's CTRL+ALT+Fn; your ALT+Fn are usually reserved for something else in your graphical desktop).

Hope it helps.

(EDIT)
Quote:
Tried startx but it pops up a dialogue box "I've detected a panel already running and will now exit".
This is true; switching to the text console does not kill X or anything, you simply go from one terminal to another, leaving X still running. So trying to restart X either fails after it detects one is already running, or if you explicitly make it start, you get another X instance running aside the existing one. All this may be handy, but in most cases can be achieved by other means as well; if you do use the text console terminals, remember to log off them when you're finished, so you don't accidentally leave them open---if you just switch back to X without logging off from the text console, your login is left open for anyone who switches back to that terminal. And if you're for example installing a graphics driver that says you need to shut X down before proceeding, don't just switch to a text console this way and rush forward, because the X isn't shut down, and so it may cause trouble To shut X down, use CTRL+ALT+BACKSPACE, or if it keeps restarting right after you do it, use the init scripts to shut it down, or change runlevel to one where X is not running (using the (tel)init command).

Last edited by b0uncer; 03-13-2009 at 10:22 AM.
 
Old 03-19-2009, 10:24 AM   #3
xzy2435
LQ Newbie
 
Registered: Nov 2003
Location: Rochester MN
Posts: 8

Original Poster
Rep: Reputation: 0
Alt+F7 did the trick.
Thanks for sparing time and responding back with valuable info - it is very help for a newbie like me. Tosh.
 
  


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
Launch KDE from shell? linuxNewbie143 Debian 4 08-27-2007 12:27 AM
unable to launch shell within IceWM Black Hawk Linux - Newbie 4 12-03-2006 08:44 AM
how to launch two shell scripts at once beeblequix Linux - Newbie 1 10-18-2006 08:00 AM
Launch CGI script from shell alex986best Linux - Newbie 2 06-28-2006 06:28 AM
shell script launch two apps webreake Programming 4 04-01-2006 07:29 PM

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

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