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 11-09-2009, 08:55 AM   #1
kldegraaf
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
No graphical interface after reboot


Hi,

I just installed the 11g Oracle database succesfully, I could connect to the database and it all worked.

Now I restarted the server
After restart I have the normal graphical login screen of CentOS

But when I login I get a green terminal screen and not the normal desktop. (see: URLhttp://i38.tinypic.com/25jcneu.png[/URL])

I think it has something to do with startx that I had to do before I started the installation.

How can I get to the graphical user interface again?


Thanks in advance.
 
Old 11-09-2009, 08:58 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
This is a desktop.
What was the normal desktop?
You can rightclick on an emty space on the desktop to get a menu

At the loginscreen yuo can chose the desktop you want to start.

Last edited by repo; 11-09-2009 at 11:10 AM.
 
Old 11-09-2009, 09:02 AM   #3
JamesChamberlain
Member
 
Registered: Sep 2009
Location: Wirral, UK
Distribution: Red Hat Enterprise Linux / Fedora 11
Posts: 47

Rep: Reputation: 18
Indeed you can.

Basically prefdm needs to be ran so you can pick your desktop environment.

Can also use the switchdesk command to specifically set the environment, be it GNOME, KDE..

Try

# init 3
then
# switchdesk gnome
then
# startx
 
Old 11-09-2009, 09:09 AM   #4
kldegraaf
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
This is a desktop.
What was the normal desktop?
You can rightclick on an emty space on the desktop to get a menu

At the loginscreen yo can chose the desktop you want to start.
This was the normal desktop: http://upload.wikimedia.org/wikipedi...b/CentOS_5.gif

Now I only have a terminal screen and a clock.

This is my login screen:
http://i34.tinypic.com/j5hv1x.png

Last edited by kldegraaf; 11-09-2009 at 09:12 AM.
 
Old 11-09-2009, 09:12 AM   #5
JamesChamberlain
Member
 
Registered: Sep 2009
Location: Wirral, UK
Distribution: Red Hat Enterprise Linux / Fedora 11
Posts: 47

Rep: Reputation: 18
Quote:
Originally Posted by kldegraaf View Post
This was the normal desktop: http://upload.wikimedia.org/wikipedi...b/CentOS_5.gif

Now I only have a terminal screen and a clock.
That's gnome. Your clock and terminal isn't running a desktop environment. You need to set this as mentioned in my above post.
 
Old 11-09-2009, 09:37 AM   #6
kldegraaf
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JamesChamberlain View Post
That's gnome. Your clock and terminal isn't running a desktop environment. You need to set this as mentioned in my above post.
Hi James,

I tried switchdesk then I got the message that it was not installed so I installed it.
Then I tried it again then I got the message that Gnome was not isntalled :S.

I installed it and tried again and got my "normal" desktop again back.
Even after a reboot

But how could this have happened?
 
Old 11-09-2009, 09:48 AM   #7
JamesChamberlain
Member
 
Registered: Sep 2009
Location: Wirral, UK
Distribution: Red Hat Enterprise Linux / Fedora 11
Posts: 47

Rep: Reputation: 18
Quote:
Originally Posted by kldegraaf View Post
Hi James,

I tried switchdesk then I got the message that it was not installed so I installed it.
Then I tried it again then I got the message that Gnome was not isntalled :S.

I installed it and tried again and got my "normal" desktop again back.
Even after a reboot

But how could this have happened?
Not sure, seems that your desktop environment wasn't set so instead of loading your desktop environment it loaded X server, and two X clients (xclock and xterm).

It's not a problem as such, just a setting that might have changed somewhere down the line. The main thing is you have your desktop back.

You may have been able to force gnome loading, you know the screen you showed earlier asking you to login? If you click the sessions button at the bottom you should be able to set your desktop environment there.

Glad all is fixed for you, though.
 
Old 11-09-2009, 09:50 AM   #8
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by kldegraaf View Post
This was the normal desktop: http://upload.wikimedia.org/wikipedi...b/CentOS_5.gif

Now I only have a terminal screen and a clock.

This is my login screen:
http://i34.tinypic.com/j5hv1x.png
X is definitely running.

I do not know what your previous desktop graphical environment thing was.

KDE is easiest started with kdm, gnome with gdm, I think. Is it one of these you're after?

The link http://i38.tinypic.com/25jcneu.png shows X with a simple window manager. Look in /home/yourusername/.xinitrc or ditto .xsession and see if it's something like:
Code:
xclock
simpleWindowManager
You may get a more upmarket window manager by putting it at the *end* of this file. startx calls one of these files and X does what the file says - but shuts down if there is no running program inside it.

If, say, it's KDE you are after, then you can start it with
Code:
# /etc/init.d/kdm restart
If it's installed. It's a bit unclear what you are wanting.

Hang on, just looked at the last link in your post and it's the sort of thing that the session managers above would produce so suggest you just click on of the things at the bottom, "session" would be favorite and pick something that looks sexy.

Last edited by lugoteehalt; 11-09-2009 at 09:52 AM.
 
Old 11-09-2009, 09:54 AM   #9
kldegraaf
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JamesChamberlain View Post

Glad all is fixed for you, though.
Thanks for your quick help!
I can continue working now.

Regards,
Klaas
 
  


Reply

Tags
centos, desktop


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
Graphical Interface songeek Solaris / OpenSolaris 8 04-23-2009 02:30 PM
Help-graphical Interface aznboi12321 Mandriva 4 08-03-2005 01:31 PM
graphical interface waqer Linux - Newbie 14 12-23-2004 03:30 PM
Graphical Interface pazvant Red Hat 1 11-19-2003 08:49 AM
No Graphical Interface Sciribe Linux - Newbie 2 10-29-2001 01:10 AM


All times are GMT -5. The time now is 06:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration