LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-04-2008, 04:12 PM   #1
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Rep: Reputation: 21
How do I start up the GUI again?


I was trying to follow these instructions to install a video driver in OpenSUSE (which was unsuccessful, but that's for another thread), and now when I start up Suse it brings me to a command line instead of the GUI. I'm guessing it's because of some command I typed in, but I don't know enough Linux commands to fix it.

I already tried "init 5," and I even tried typing in "init 3" then "init 5," (all of which was done in root). There wasn't an error message, it just says "runtime level 5 reached." What command would I type in to get back into the GUI?
 
Old 03-04-2008, 04:25 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by adanedhel728 View Post
I was trying to follow these instructions to install a video driver in OpenSUSE (which was unsuccessful, but that's for another thread), and now when I start up Suse it brings me to a command line instead of the GUI. I'm guessing it's because of some command I typed in, but I don't know enough Linux commands to fix it.

I already tried "init 5," and I even tried typing in "init 3" then "init 5," (all of which was done in root). There wasn't an error message, it just says "runtime level 5 reached." What command would I type in to get back into the GUI?
the quick answer is simply type "startx" at a prompt.

The longer answer is that you should find at what run level your display manager starts & then init to that level. Even more proper would be to put that runlevel in your /etc/inittab file, in a line like:

id:2:initdefault:

... which should already be there. In this case, '2' is my runlevel that brings up gdm, which is the gnome display manager. I can confirm this by seeing S21gdm in /etc/rc2.d (it doesn't have to be S21gdm, it could be S10 or S78, the number doesn't much matter in this instance - assuming it already exists). IIRC, Suse still has S-links in /etc/rcX.d.

If all else fails, you can always reboot, though, that's not a very Linux way of doing things.

Last edited by BrianK; 03-04-2008 at 04:26 PM.
 
Old 03-04-2008, 04:30 PM   #3
rosspy
Member
 
Registered: Feb 2008
Distribution: debian
Posts: 45

Rep: Reputation: 15
Type the command

Quote:
startx
and see what happens..
 
Old 03-04-2008, 04:54 PM   #4
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Original Poster
Rep: Reputation: 21
Well, when I typed that in, I got this message--

Quote:
Fatal server error:
no screens found
giving up.
xinit: Connection reset by peer (errno 104): unable to connect to X server
xinit: No such process (errno 3): Server error.
 
Old 03-04-2008, 07:55 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Run sax2 as root and it should reconfigure your card.
 
Old 03-04-2008, 11:03 PM   #6
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Original Poster
Rep: Reputation: 21
When I tried that, I got this message--

Quote:
xc: sorry could not start configuration server
xc: for details refer to the log file:
/var/log/SaX.log
xc: abort. . .
I don't know how to read the log file without GUI, or else I'd post it here.
 
Old 03-04-2008, 11:04 PM   #7
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Original Poster
Rep: Reputation: 21
Should I just reinstall? I had just installed it and I don't have any information stored there that I would lose. On the other hand, I have learned new commands just from trying to fix this That's always a good thing.
 
Old 03-04-2008, 11:51 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
You can read the log file by doing
Code:
less /var/log/SaX.log
You can also run xorgconfig instead of sax2.
 
  


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
Cant get GUI to Start pgleed Linux - Software 1 05-23-2006 03:23 PM
cant start GUI adamherb Mandriva 1 08-10-2005 12:30 AM
Can't Start GUI tstrickland Mandriva 7 06-16-2005 10:45 AM
How to start GUI? burki Mandriva 4 10-17-2004 07:00 PM
Cant Start GUI hexx Debian 7 08-19-2003 11:36 AM


All times are GMT -5. The time now is 03:27 AM.

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