Operating System - Linux
1832673 Members
2946 Online
110043 Solutions
New Discussion

Re: RHEL4.1 cannot login via gui (gnome) console.

 
SOLVED
Go to solution
Robert Walker_8
Valued Contributor

RHEL4.1 cannot login via gui (gnome) console.

Hi,

I dont know how Ive dun it but I can no longer get in via gnome console! root, std users anything just starts the session up and then bang we are back at the login prompt (even failsafe!).

I have looked at PAM and turned off SELinux. Logins via console without gui (init 3) work ok and the gui comes up with startx.

/var/log has PAM_UNIX saying

Jul 28 15:35:01 fred crond(pam_unix)[3690]: session opened for user root by (uid=0)
Jul 28 15:35:01 fred crond(pam_unix)[3690]: session closed for user root

Nothing very informative even with pam_unix in debug mode.

I do notice that I get errors for:
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.

This is system is a proliant DL380 G4 and ran RHEL V3.4 without problems (starting to worry about V4 Update 1 as it appears somewhat different to V3 - ie audit missing etc).

I am also getting an error regarding /dev/cpu/microcode not being found by the S00microcode_ctl startup routine - it appears that V4 doesnt have this either?

Robert.
4 REPLIES 4
Martin Brachtl
Advisor

Re: RHEL4.1 cannot login via gui (gnome) console.

check the disk usage, is'nt the root filesystem full, or something like that?
Ivan Ferreira
Honored Contributor

Re: RHEL4.1 cannot login via gui (gnome) console.

After verifying the disk space, try moving/renaming xinit files in the home directory, like .xinitrc, .xserverrc, .Xclients.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor
Solution

Re: RHEL4.1 cannot login via gui (gnome) console.

env | grep DISPLAY

if DISPLAY is being redirected that can caus the problem.

I do not believe the microcode error could cause this problem.

I do believe that inadequate space in the HOME directory or /var could also trigger the problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert Walker_8
Valued Contributor

Re: RHEL4.1 cannot login via gui (gnome) console.

SEP,

Disk spaces wasnt the issue - should have mentioned that in the first instance, nor are there any diskquotering on.

However my problem has been solved, thanks! - you were close on the mark, it was infact me setting the REMOTEHOST and DISPLAY variables in PAM_ENV. It look like a good idea at the time, have tested and either one causes no real problems but both presents a blank blue screen and then you are logged out. Will keep the DISPLAY variable as this saves some typing.

Thanks again to all,

Robert.