LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-20-2011, 03:52 AM   #1
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Rep: Reputation: Disabled
I cannot see the GUI in a server using CentOS 5.6


hello all,

well when connect my server to the desktop where centos 5.6 has been installed,it asks for my username and password and after giving that it is supppose to go to the GUI mode but it gives the following error:

"Your session only lasted less than 10 seconds.If you have not logged out yourself,this could mean that there is some installation problem or that you may be out of diskspace.Try logging in with one of the fail safe sessions if you can fix this problem.

~/xsession -errors-file."

can anyone out here help me out?.


thanks...
 
Old 10-20-2011, 04:11 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Did you try logging in with one of the fail safe sessions as it suggested? What's in your ~/.xsession-errors file?

Adam
 
Old 10-20-2011, 04:23 AM   #3
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
well i don't know how to fix this error by logging in through fail session,after this login it goes to cli mode but still the gui environment isnt working....so please help me out..

Last edited by SarahGurung; 10-20-2011 at 04:58 AM.
 
Old 10-20-2011, 04:40 AM   #4
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
can anyone help me fix this error?
 
Old 10-20-2011, 05:22 AM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
At the graphical login screen, where you put in your username and password, is there an option to log into a failsafe session? Or any other session, other than the default one selected?
 
Old 10-20-2011, 05:26 AM   #6
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
ya there is option for that as well and i tried logging in through the fail safe mode but it goes to the cli mode and i dont know how to fix the error through that..
 
Old 10-20-2011, 06:14 AM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Log in at the CLI, and run this command:

Code:
cat ~/.xsession-errors | curl -F 'sprunge=<-' http://sprunge.us
Then give us the URL that you get back.
 
Old 10-20-2011, 06:22 AM   #8
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
well i got the following error on doing that:

cat: /root/.xsession-errors: No such file or directory
curl: (7) couldn't connect to host

can you tell me what does that command actually do?
 
Old 10-20-2011, 06:56 AM   #9
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Are you logging in at the CLI as the same user logging into the GUI?

Adam
 
Old 10-20-2011, 06:59 AM   #10
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
yes Mr.Adam...but GUI is not workin..
 
Old 10-20-2011, 07:00 AM   #11
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Well, the first bit of advice is not to ever log into the GUI as root. Create a normal user, and try logging into the GUI as that user.
 
Old 10-20-2011, 07:01 AM   #12
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
i told you GUI is not working and i didnt log in as root..
 
Old 10-20-2011, 07:07 AM   #13
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
First, you clearly did log in as root since the error you received was:

Code:
cat: /root/.xsession-errors: No such file or directory
Second, you're not making a whole lot of sense to me. In your first post, you said:

Quote:
well when connect my server to the desktop where centos 5.6 has been installed,it asks for my username and password and after giving that it is supppose to go to the GUI mode but it gives the following error:
When it asks for your username and password, are you at the command line or are you at a graphical screen?

Adam
 
Old 10-20-2011, 10:13 PM   #14
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
well when it asked for username and password,i was at the GUI mode..
 
Old 10-21-2011, 04:11 AM   #15
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by SarahGurung View Post
well when it asked for username and password,i was at the GUI mode..
And you should not be putting in your root username and password at that point. You should be trying to login as a normal user.

Adam
 
  


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
GUI in CentOS 5.5 sachingarg18@yahoo.com Linux - Newbie 4 02-23-2011 04:11 AM
gui on centos server unminser Linux - Server 3 02-06-2011 08:20 PM
CentOS 5.4 Server to Server GUI... Seemoi Linux - Server 5 05-05-2010 10:01 AM
Centos 5.3 without gui arthurpass2009 Linux - Distributions 3 10-11-2009 11:15 PM
Trying to install a GUI & VNC on a CentOS 5.1 server cdn415 Linux - Software 2 08-17-2008 09:16 PM

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

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