LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I cannot see the GUI in a server using CentOS 5.6 (https://www.linuxquestions.org/questions/linux-newbie-8/i-cannot-see-the-gui-in-a-server-using-centos-5-6-a-909122/)

deep27ak 10-21-2011 04:23 AM

Quote:

Originally Posted by SarahGurung (Post 4503243)
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...


It happens due to the overflow of user's .xsession-errors file

you can check your by logging in CLI mode

Code:

#cat /home/user/.xsession-errors
either you can delete the entry in this file but I won't suggest you that

If you wish you can create a link of the error file to null file

Code:

#ln -s /dev/null  /home/user/.xsession-errors


All times are GMT -5. The time now is 09:09 PM.